[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamic loading no longer compiles in base
From: |
Fred Kiefer |
Subject: |
Dynamic loading no longer compiles in base |
Date: |
Sun, 08 Feb 2004 22:03:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821 |
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.
- Dynamic loading no longer compiles in base,
Fred Kiefer <=