discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problems building gnustep-base on Ubuntu Linux with clang/llvm-3.7


From: David Chisnall
Subject: Re: Problems building gnustep-base on Ubuntu Linux with clang/llvm-3.7
Date: Wed, 30 Sep 2015 08:56:49 +0100

On 29 Sep 2015, at 16:21, David Lobron <dlobron@akamai.com> wrote:
> 
> configure:14837: clang -o conftest -m64 -march=opteron -mno-3dnow -ggdb -O2 
> -Wall  
> -I/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Headers 
> -I/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Headers 
> -I/home/dlobron/build/clangport/akamai/common/GNUstep/System/Library/Headers  
> -fgnu-runtime -x objective-c -m64  
> -L/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Libraries 
> -L/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Libraries 
> -L/home/dlobron/build/clangport/akamai/common/GNUstep/System/Library/Libraries
>  conftest.c -lrt -ldl  -lpthread -rdynamic -m64 -fgnu-runtime 
> -L/home/dlobron/GNUstep/Library/Libraries 
> -L/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Libraries 
> -L/home/dlobron/build/clangport/akamai/common/GNUstep/System/Library/Libraries
>  -lobjc -lm     >&5
> /tmp/conftest-a47ae0.o: In function `main':
> /home/dlobron/build/clangport/akamai/gnustep-base/gnustep-base-1.24.8/conftest.c:140:
>  undefined reference to `_Block_copy'
> 
> The line in the auto-generated conftest.c that caused the failure is:
> 
>  return _Block_copy ();

This implies that you’re linking the wrong libobjc.  _Block_copy is provided by 
libobjc2, so if you can’t find it then you’re probably linking the gcc libobjc. 
 Did you force-uninstall the gcc objective-c package?

David

-- Sent from my Apple II




reply via email to

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