discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problem while compiling gnustep base


From: Dennis Leeuw
Subject: Re: Problem while compiling gnustep base
Date: Sat, 11 May 2002 16:55:29 +0200

PERON Stéphane wrote:

> > > ../Source/shared_obj/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so:
> > > undefined reference to `__fixunsdfdi@GCC_3.0'
> > > ../Source/shared_obj/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so:
> > > undefined reference to `__fixunssfdi@GCC_3.0'
> > > collect2: ld returned 1 exit status
> >
> > The above missing symbols are from the compilers own library (can't
> > remember
> > its name).
> > I think they indicate an incorrect/incomplete compiler installation.
> > Try ensuring that the compiler libraries are instaled in one of the
> > standard system library locations, or perhaps upgrade to a more recent
> > compiler version ... where the compiler might install its own libraries
> > correctly.
>
> I think it is probably due to the error messages that I have met yesterday
> while compiling gcc-3.0.4 !!
> In fact, I didn't found gc.h while compiling objective module !
> (cf my yesterday mail)
>
> I have remplaced in many files the include  <gc.h> by
> <../boehm-gc/include/gc.h> for gcc resume the compilation.
>
> I know it is crazy but has someone any idea to fix the problem in a
> cleaner way ?
>
> Did someone already compiled gcc-3.0.4 with obj-c support ?

Yep I did and there are a couple of things you need to worry about ;)
First of all the build guide: http://www.made-it.com/GNUstep/Build should give
you a working version if you follow the ld.so.conf instructions (make sure to
check the path to libobjc.so with gcc -print-file-name=libobjc.so, which for
me results in: /usr/lib/gcc-lib/i386-linux/3.0.4/libobjc.so
'cause I didn't stick to my own guide ;)

If it somehow fails for you try the configure part with:
configure --prefix=/usr/local --enable-languages=c,c++,java,f77,proto,objc
--enable-shared
--enable-threads=posix
You could even skip java, f77 and proto if you like.

I hope this helps.

Dennis


>
>
> Thankkkks ...
>
> Stef
>
> >
> > > make[2]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/autogsdoc] Erreur 1
> > > make[1]: *** [autogsdoc.all.tool.variables] Erreur 2
> > > make[1]: Quitte le répertoire
> > > `/partage/recup_internet/GNUStep/Sources/core/base/Tools'
> > >
> > > What happens ?
> > >
> > > Thanks for your help !
> > >
> > >
> > > *****************
> > > Stéphane PERON
> > > speron@telys.com
> > > *****************
> >
> >
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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