Re: Glib compile error



On Mon, Aug 18, 2003 at 08:12:18AM -0400, Owen Taylor wrote:
> > /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"

Ah, I see.  Thanks.  Now, not to be thick-headed, but how do I make the 
.so?  I have the source to zlib.  I've made libz.a myself.

Thanks.
-- 
Daniel Carrera, Math PhD student at UMD.  PGP KeyID: 9AF77A88
  .-"~~~"-.   On the menu of a Swiss restaurant:
 /  O   O  \  "Our wines leave you nothing to hope for"
 :    s    :  
 \  \___/  /  Sign outside a Hong Kong tailor shop:
  `-.___.-'   "Ladies may have a fit upstairs"




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