Compilation fails



I am trying to compile glib-2.31.12 in Scientific Linux 6.1m which is the same as Red Hat 6.1.  The command "./configure" works fine, but the "make " fails.
Any idea how can I compile this?

 CCLD   libgio-2.0.la
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/libz.a(deflate.o): relocation R_X86_64_32S against `_length_code' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libgio-2.0.la] Error 1
make[4]: Leaving directory `/usr/src/glib-2.31.12/gio'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/glib-2.31.12/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/glib-2.31.12/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/glib-2.31.12'
make: *** [all] Error 2


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