[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build problems on gentoo
From: |
M. Grabert |
Subject: |
Re: build problems on gentoo |
Date: |
Tue, 20 Apr 2004 07:48:56 +0100 (IST) |
On Mon, 19 Apr 2004, Adam Fedor wrote:
> On Apr 19, 2004, at 10:15 AM, Riccardo Mottola wrote:
>
> > Linking library libgnustep-base ...
> > /usr/lib/gcc-lib/hppa-unknown-linux-gnu/3.3.2/../../../../hppa-
> > unknown-linux
> > -gnu/bin/ld:
> > /usr/lib/gcc-lib/hppa-unknown-linux-gnu/3.3.2/../../../
> > libcallback.a(misc.o)
> > : relocation R_PARISC_DPREL21L can not be used when making a shared
> > object;
> > recompile with -fPIC
> > /usr/lib/gcc-lib/hppa-unknown-linux-gnu/3.3.2/../../../libcallback.a:
> > could
> > not read symbols: Bad value
> > collect2: ld returned 1 exit status
> >
>
> Well, you have quite the list of odd systems to compile GNUstep on...
>
> What system is this? What is $GNUSTEP_HOST? I doubt we support it so
> it's likely some flags are wrong.
A couple of months back I reported to the list that I had GNUstep
running on the same architecture (btw, it is Linux/PA-RISC).
Apart from a couple of warnings when compiling (IIRC something
about alignment requirements, search the list), it worked ...
I didn't pass any special flags, nor did I have to tweak anything,
it just built GNUstep out-of-the-box (shared libs, not statically)
I think the problem lies in the fact that you *really* must use
gcc to link the libraries, since ld (from GNU binutils is practically
useless on Linux/PA-RISC).
Greetings,
Max