[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep dynamic link problem on PowerPC
From: |
Richard Dale |
Subject: |
Re: GNUstep dynamic link problem on PowerPC |
Date: |
Wed, 15 Aug 2001 08:22:44 +0100 |
On Wed, 15 Aug 2001, you wrote:
> Richard Dale wrote:
>
> >
> > tipitina duke 580% ./kangaroo
> > lt-kangaroo: error in loading shared libraries:
> > /usr/lib/libgnustep-base.so.1: R_PPC_REL24 relocation out of range
> >
>
> gnustep-base is compiled/linked with the -fPIC flag, which should handle
> any sized library (I think). Perhaps some of the other libraries you are
> using use -fpic instead, which can have problems with large libraries?
Thanks, that's great - I've got something to go on now. Here is an example
compilation command from the build of the kde libs, it does have '-fPIC'. I'll
try building the libs without that, and ask on the kde-develop list why they
use it.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl
-I../../kdecore -I../../kdeui -I../../kssl -I/usr/lib/qt-2.3.0/include
-I/usr/X11R6/include -I/opt/kde2/include -D_REENTRANT -DICE_t -DTRANS_SERVER
-DTRANS_CLIENT -DUNIXCONN -DANSICPP -O2 -Wp,-MD,.deps/authutil.pp -c authutil.c
-fPIC -DPIC -o .libs/authutil.o
-- Richard