Re: Glib compile error



On Sun, 2003-08-17 at 15:47, Daniel Carrera wrote:
> I'm on a Solaris 2.8 system with GNU tools and I'm trying to compile glib 
> 2.2.2.  The ./configure step goes well, but the make gives me an error 
> from ld which I don't understand.  I am using GNU make, but ld is from 
> Sun.  Should I look into changing ld?
> 
> I hope someone can help me out.  Here is the output:

> /data/local/lib/libz.a(gzio.o)
> strcat                              0x22c8      
> /data/local/lib/libz.a(gzio.o)
> ld: fatal: relocations remain against allocatable but non-writable 
> sections
> collect2: ld returned 1 exit status
> gmake[1]: *** [libglib-2.0.la] Error 1
> gmake[1]: Leaving directory `/data/local/src/gtk/glib-2.2.2/glib'
> gmake: *** [all-recursive] Error 1

I believe it is saying "you need a shared library for zlib; I
can't link libz.a into libpixbufloader-png.so because it isn't
relocatable code"

Regards,
					Owen





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