discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Issues linking gnustep-base under Debian with libobjc2 + GCC 4.6


From: Fred Kiefer
Subject: Re: Issues linking gnustep-base under Debian with libobjc2 + GCC 4.6
Date: Sat, 21 May 2011 17:51:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

Not sure if this helps, but the first thing I would try is to re-configure, re-compile and re-install GNUstep make. You have to do that when your version of libobjc changes. Next you could try again to compile base.

Fred

On 21.05.2011 16:46, Ivan Vučica wrote:
I've had GNUstep installed previously. It was installed as following:
   CC=gcc-4.6 CXX=g++-4.6 ./configure ; make ; sudo make install
I decided to compile libobjc2. I checked it out, and just ran make&&  sudo
make install.

Then I tried to recompile gnustep-base:
   sudo make uninstall ; make clean ; CC=gcc-4.6 CXX=g++-4.6 ./configure ;
make ; sudo make install
This is what I got:

ivucica@theevilmacbook:~/Programs/gnustep/modules/core/base$ make
This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making all in Source ...
Making all in Additions ...
Making all for subproject Additions...
make[4]: Nothing to be done for `internal-subproject-compile'.
Making all in subprojects of library libgnustep-base...
Making all for subproject ObjectiveC2...
make[5]: Nothing to be done for `internal-subproject-compile'.
Making all for subproject Additions...
make[5]: Nothing to be done for `internal-subproject-compile'.
Making all for subproject unix...
make[5]: Nothing to be done for `internal-subproject-compile'.
Making all for library libgnustep-base...
make[4]: Nothing to be done for `internal-library-compile'.
Making all in SSL ...
make[2]: Nothing to be done for `internal-master-bundle-all'.
Making all in Tools ...
Making all for tool autogsdoc...
  Linking tool autogsdoc ...
../Source/./obj/libgnustep-base.so: undefined reference to
`__objc_uninstalled_dtable'
../Source/./obj/libgnustep-base.so: undefined reference to `objc_mutex_lock'
../Source/./obj/libgnustep-base.so: undefined reference to
`sel_getTypeEncoding'
../Source/./obj/libgnustep-base.so: undefined reference to
`objc_mutex_unlock'
../Source/./obj/libgnustep-base.so: undefined reference to
`objc_setUncaughtExceptionHandler'
../Source/./obj/libgnustep-base.so: undefined reference to
`sel_getTypedSelector'
../Source/./obj/libgnustep-base.so: undefined reference to
`__objc_update_dispatch_table_for_class'
collect2: ld returned 1 exit status
make[4]: *** [obj/autogsdoc] Error 1
make[3]: *** [internal-tool-all_] Error 2
make[2]: *** [autogsdoc.all.tool.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

This is with revision 33074 of GNUstep and libobjc2.




reply via email to

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