#define _LINUX_SOURCE
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/stat.h>
#include <setjmp.h>
#include <math.h> /* RLI */
#include "oberon.xpm"
typedef void (*Proc)();
typedef int LONGINT;
FILE *fd;
char *OBERON, *SHLPATH;
char path[4096];
char *dirs[255];
char fullname[512];
int nofdir;
char defaultpath[] = ".:/usr/local/Oberon:/usr/local/Oberon/.Fonts";
char defaultshlpath[] = "/lib /usr/lib /usr/lib/X11 /usr/lib/X386";
char mod[64] = "Oberon", cmd[64] = "Loop";
char dispname[64] = "";
char bootname[64] = "LinuxOberon.Boot";
char geometry[64] = "";
char fontname[64] = "Font.Map"; /* Default map file */
int debugOn = 0;
int heapSize, heapAdr;
int Argc, coption;
char **Argv;
int dl_open(char *lib, int mode)
/* mode is ignored since glibc2.1 returns error otherwise */
{
void *handle;
if ((handle = dlopen(lib, RTLD_NOW)) == NULL) {
printf("Error! Could not open Library %s in mode %d\n%s\n", lib, mode, dlerror()); exit(-1);
}
return (int)handle;
}
int dl_close(int handle) /* not necessary */
{
dlclose((void *)handle);
"linux.oberon.c" 302L, 7855C
die datei gibt es, aber ich kann sie nicht ausführen, selbst als root nicht.
das was ich oben staeht gehört zu "vi linux.oberon.c"
ich schaue nochmal nach und gegebenfalls ändere ich mal die rechte, sprich auf ausführen.