Dynamic loading no longer compiles in base
I tried to compile base from scratch and did run into to following problem: Compiling file objc-load.m ... In file included from objc-load.m:54: dynamic-load.h: In function `__objc_dynamic_get_symbol_path': dynamic-load.h:95: error: `Dl_info' undeclared (first use in this function) dynamic-load.h:95: error: (Each undeclared identifier is reported only once dynamic-load.h:95: error: for each function it appears in.) dynamic-load.h:95: error: parse error before "info" dynamic-load.h:98: error: `RTLD_DEFAULT' undeclared (first use in this function) dynamic-load.h:105: Warnung: implicit declaration of function `dladdr' dynamic-load.h:105: error: `info' undeclared (first use in this function) make[2]: *** [shared_obj/objc-load.o] Fehler 1 make[1]: *** [libgnustep-base.all.library.variables] Fehler 2 make[1]: Leaving directory `/usr/src/gnustep/core/base/Source' make: *** [internal-all] Fehler 2 This must be related to Adams recent change on simple-load.h as this gets used on my Suse 9.0 Linux machine. When I add # define __USE_GNU before the include of dlfcn.h it works again. ___ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
Re: Dynamic loading no longer compiles in base
On Sun, 2004-02-08 at 14:03, Fred Kiefer wrote: > This must be related to Adams recent change on simple-load.h as this > gets used on my Suse 9.0 Linux machine. When I add > # define __USE_GNU > before the include of dlfcn.h it works again. > I added this in. It doesn't appear that it causes any problems by doing this. ___ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep