[Top][All Lists]

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

Re: can't build gnustep-base on cygwin

From: Adam Fedor
Subject: Re: can't build gnustep-base on cygwin
Date: Sun, 3 Oct 2004 22:01:45 -0600

Hm. That shouldn't be happening. I'll have to try to install it one Windows myself sometime. Perhaps someone else has an idea...

On Oct 2, 2004, at 10:44 PM, Paul Forgey wrote:

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" <> wrote in message

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 > 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.

Help-gnustep mailing list

reply via email to

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