help-gnustep
[Top][All Lists]
Advanced

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

Re: can't build gnustep-base on cygwin


From: Paul Forgey
Subject: Re: can't build gnustep-base on cygwin
Date: Sat, 2 Oct 2004 21:44:23 -0700

Well, that may have built the base library, but there seems to be more going on. (I temporarily used --disable-xml to get past my other problem)

gnustep-gui-0.9.4 needed a similar modification in its GNUmakefile.postamble, however the components using it don't seem to find the symbols:

Linking bundle libgmodel ...
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
./shared_obj/IMCustomObject.o(.data+0x348):IMCustomObject.m: undefined reference to `___objc_class_name_NSView' ./shared_obj/GMAppKit.o(.data+0x2428):GMAppKit.m: undefined reference to `___objc_class_name_NSApplication'
[and a bunch more]
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make[2]: *** [libgmodel.bundle/./libgmodel.dll] Error 1
make[1]: *** [libgmodel.all.bundle.variables] Error 2
make[1]: Leaving directory `/cygdrive/c/users/paulf/src/gnustep/gnustep-gui-0.9.4/Model'
make: *** [internal-all] Error 2

"Adam Fedor" <fedor@doc.com> wrote in message news:mailman.982.1096769757.2017.help-gnustep@gnu.org...

On Oct 2, 2004, at 4:20 AM, Paul Forgey wrote:

Running cygwin 1.5.11-1 and trying to build gnustep-base 1.10.0, I'm running into the following build error. It's failing because there is no occurance of "_class_name_" in the resulting list. What exactly is the build process attempting to do? I see _class_name_ in the nm output, but not if I filter it with the first grep statement. I do, however, see quite a few symbols starting with ___objc_class_name_ with a 'U' instead. Does this mean for some reason the definitions are never actually being built?

cat win32-def.top > libgnustep-base.def
nm [long list of objects] | grep '^........ [T] _' | sed 's/[^_]*_//'
> _tmp.def


Would it work if you used 'R' instead of 'T' in the grep statement? Different versions of mingw/cyginw seems to work differently in this respect, so it's hard to see how to solve that problem.






reply via email to

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