[Top][All Lists]

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

Re: Problem building gnustep-base

From: Stefan Urbanek
Subject: Re: Problem building gnustep-base
Date: Fri, 01 Mar 2002 10:13:15 +0100


Dennis Leeuw wrote:
> Hi all,
> I am still stuck with building GNUstep base and gcc 3.0.4
> Maybe someone can shed some light on the following:
> >From the configure script I copied and created conftest.c:
> #include "confdefs.h"
> #include "/usr/src/SPM/gnustep/core/base/config/config.objc.m"
> Then I ran:
> /usr/GNUstep/bin/gcc -o conftest -g -O2  -fgnu-runtime 
> -I/usr/GNUstep/System/Headers -x objective-c
> -L/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu 
> -L/usr/GNUstep/System/Libraries/ix86/linux-gnu
> conftest.c  -lobjc
> The output shows:
> In file included from conftest.c:2:
> /usr/src/SPM/gnustep/core/base/config/config.objc.m:5: warning: incomplete 
> implementation of class
> `NXConstantString'
> /usr/src/SPM/gnustep/core/base/config/config.objc.m:5: warning: method 
> definition for `-length' not found
> /usr/src/SPM/gnustep/core/base/config/config.objc.m:5: warning: method 
> definition for `-cString' not found
> Then I ran ./conftest which results in:
> ./conftest: error in loading shared libraries:
> /usr/GNUstep/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/libobjc.so.1: undefined 
> symbol: __dso_handle
> And I don't have the slightest idea what I should be looking for next.
> For those curious I build gcc 3.0.4 with the following options:
> --prefix=/usr/GNUstep --enable-shared --enable-threads=pthreads 
> --enable-languages=c,objc
> --enable-version-specific-runtime-libs
> Then I build ffcall, gmp and libxml2-2.4.15 which all went fine. So my idea 
> is that it is within the objc
> part.
> Could someone help me out, point me in the right direction...
> Like what is __dso_handle???

I had the same problem. You have to use newer version of binutils. I am
using 2.11.92, but it should work with >2.9.5.


reply via email to

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