help-gnustep
[Top][All Lists]
Advanced

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

Re: Further problem building GNUstep on MinGW/msys


From: Adam Fedor
Subject: Re: Further problem building GNUstep on MinGW/msys
Date: Tue, 23 Jul 2002 08:31:43 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0rc2) Gecko/20020513

What gcc version are you using? In 3.x, NXConstantString is replaced internally (in GNUstep) by NSConstantString. If it's looking for NXConstantString it probably indicates a problem in the configuration, or perhaps there is an old version of the libobjc library laying around (from a previous gcc or GNUstep installation).

Paul Butcher wrote:
As per a previous mailing I am trying to carefully follow the instructions in README.MinGW on building GNUstep under MinGW/msys for win32.

I have got through to building GNUstep-base now and get this error message at the final linking of the gnustep-base DLL: gnustep-base.exp(.edata+0x7a8):fake: undefined reference to `__objc_class_name_NXConstantString'
f:\mingw\bin\dllwrap.exe: gcc exited with status 1
make[2]: *** [shared_obj/ix86/mingw32/gnu-gnu-gnu/gnustep-base.dll] Error 1
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: Leaving directory `/tmp/gnustep-base-1.3.4/Source'
make: *** [internal-all] Error 2

As I understand it, NXConstantString is excluded from the GNUstep objc library and reimiplemented in GSString.m. If I use objdump to look at symbols defined in GSString.o I find that NXConstantString is not there - but instead NSConstantString. I am puzzled how a class implemented in the source code does not appear in the compiled code??


Paul Butcher
Alton, Hants, UK



--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.




reply via email to

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