Hi,
I tried to compile libedemo with the 20000501-snapshot.
I got this errors:
make[2]: Entering directory `/home/programmer/ggi/20000501/degas/lib/libedemo/edemo'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DBUILDING_LIBEDEMO -I../include -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall
-Wstrict-prototypes -c init.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBEDEMO -I../include -g -O2 -D_REENTRANT
-D_THREAD_SAFE
-g -Wall -Wstrict-prototypes -Wp,-MD,.deps/init.pp -c -fPIC -DPIC init.c -o init.lo
init.c: In function `changed':
init.c:82: too few arguments to function `ggiExtensionLoadDL'
make[2]: *** [init.lo] Error 1
make[2]: Leaving directory `/home/programmer/ggi/20000501/degas/lib/libedemo/edemo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/programmer/ggi/20000501/degas/lib/libedemo'
make: *** [all-recursive-am] Error 2
I attached a patch, which fixes that. Anyone here to commit it?
Christoph Egger
E-Mail: [EMAIL PROTECTED]
--- libedemo/edemo/init.c.old Mon May 1 13:05:21 2000
+++ libedemo/edemo/init.c Mon May 1 13:03:46 2000
@@ -67,6 +67,7 @@
case GGI_CHG_APILIST: {
int i;
const char *fname;
+ const char symprefix[]="EDEMOdl_";
ggi_dlhandle *lib;
char api[GGI_MAX_APILEN], args[GGI_MAX_APILEN];
@@ -79,7 +80,7 @@
/* No special implementation for this sublib */
continue;
}
- lib = ggiExtensionLoadDL(vis, fname, args, NULL);
+ lib = ggiExtensionLoadDL(vis, fname, args, NULL, symprefix);
}
}
break;