Re: gnustep-base SSL bundle won't make

Ole Voss <[email protected]> Tue, 22 May 2007 19:15:31 +0200
Newsgroups gmane.comp.lib.gnustep.user
Organization Arcor
Message-ID <[email protected]>
Adam Fedor wrote:
> 
> On May 20, 2007, at 6:51 AM, Ole Voss wrote:
> 
>>
>> I get the following error:
>> # make
>> Making all for bundle SSL...
>>  Linking bundle SSL ...
>> /usr/bin/ld: warning -L: directory name 
>> (/usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu) does not exist
>> /usr/bin/ld: Undefined symbols:
>> ___objc_class_name_Protocol
>> ___objc_exec_class
>> _objc_get_class
>> _objc_msg_lookup
>> _objc_msg_lookup_super
>> collect2: ld returned 1 exit status
>> make[1]: *** [SSL.bundle/./SSL] Error 1
>> make: *** [SSL.all.bundle.variables] Error 2
>>
>> I did originally work with ./InstallGNUstep - but it always ends here 
>> so I figured jumping there and starting the process manually is quicker.
>>
> 
> Can you type
> 
> make messages=yes
> 
> to see how the linking is being done?  There should be a -lgnustep-base 
> -lobjc at the end of the link line.  If it is there, then perhaps the 
> libobjc library is missing, or it is trying to link to the wrong library 
> (maybe Apple's library)
> 

Hi,

yes...

localhost:/build/gnustep-startup-0.16.1/build/gnustep-base-1.13.1/SSL 
root# make messages=yes
Making all for bundle SSL...
/usr/local/gcc/bin/gcc -bundle -undefined error          -o 
./SSL.bundle/./SSL ./shared_obj/GSSSLHandle.o  -L../Source/./shared_obj 
-L./shared_obj -L/usr/GNUstep/System/Library/Libraries/ 
-L/usr/GNUstep/System/Library/Libraries 
-L/usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu 
-L/usr/GNUstep/System/Library/Libraries -lssl -lcrypto -lgnustep-base 
-lobjc -lgnustep-base -lobjc -lxslt -lxml2 -lz -lpthread -liconv -lm 
-liconv -lffi -liberty -ldl -lz -lm
/usr/bin/ld: warning -L: directory name 
(/usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu) does not exist
/usr/bin/ld: Undefined symbols:
___objc_class_name_Protocol
___objc_exec_class
_objc_get_class
_objc_msg_lookup
_objc_msg_lookup_super
collect2: ld returned 1 exit status
make[1]: *** [SSL.bundle/./SSL] Error 1
make: *** [SSL.all.bundle.variables] Error 2

I tried removing the part about gnu-gnu-gnu - but it makes no 
difference. I always get the part about the Undefined symbols.

Any other ideas?

Regards,

Ole.