bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUstep under mingw


From: Fred Kiefer
Subject: GNUstep under mingw
Date: Thu, 07 Mar 2002 01:11:00 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011019 Netscape6/6.2

I am running GNUstep with mingw and there are a few problems left. First you hae to use the cygwin make (/usr/bin/make) otherwise the common.make file gives an error as it tests the $PATH variable to include the GNUSTEP_SYSTEM_ROOT/Tools directory. For this to work also the environment variable GNUSTEP_TARGET_OS has to be set to mingw32, which is not mentioned in the README.mingw. You should also download a iconv library, gnustep base runs without one, but it will be needed later on. (BTW Why do we run without iconv, but need libxml2?)

Even after solving all this there is a problem when compiling the Testing code of base:

$ /usr/bin/make
Making all for test_tool awake...
make[1]: Nothing to be done for `internal-test_tool-all'.
Making all for test_tool basic...
make[1]: Nothing to be done for `internal-test_tool-all'.
Making all for test_tool benchmark...
gcc       -o shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.exe \
          shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.o    \
-L../Source/shared_obj/ix86/mingw32/gnu-gnu-gnu -Lc:userskieferGNUstep/ Libraries/ix86/mingw32/gnu-gnu-gnu -Lc:userskieferGNUstep/Libraries/ix86/mingw32
-Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/Local/Libraries/ix86/mingw32/gnu-g
nu-gnu -Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/Local/Libraries/ix86/mingw32
-Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/Network/Libraries/ix86/mingw32/gnu
-gnu-gnu -Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/Network/Libraries/ix86/min gw32 -Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/System/Libraries/ix86/mingw32/ gnu-gnu-gnu -Lc:/users/kiefer/GNUstep/cygwin/usr/GNUstep/System/Libraries/ix86/m ingw32 -lgnustep-base -lobjc -liconv -lcallback -lavcall -lws2_32 -ladvapi32 -lc
omctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I.
shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.o: In function `bench_object':
//c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: undefined reference to `__nszone_private_hidden_default_zone' //c/users/kiefer/GNUstep/core/base/Testing/../Headers/Foundation/NSZone.h:178: undefined reference to `__nszone_private_hidden_default_zone'
shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.o://c/users/kiefer/GNUstep/core/ba
se/Testing/../Headers/Foundation/NSZone.h:178: more undefined references to `__nszone_private_hidden_default_zone' follow
make[1]: *** [shared_obj/ix86/mingw32/gnu-gnu-gnu/benchmark.exe] Error 1
make: *** [benchmark.all.test-tool.variables] Error 2


This lloks like we need to export more than just the classes from our DLL. Has anybody else faced this problem and how could it be resolved?

Cheeers
Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]