On 12/2/06, jignesh gangani <[EMAIL PROTECTED]> wrote:
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib/libncurses.a( lib-getch.o): relocation R_X86_64_32 against 'a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib/libncurses.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [lib/libgpm.so.1.19.0] Error 1 make[1]: Leaving Directory '/sources/gpm-1.20.1/src' make: *** [do-all] Error 1.
Sorry, this is a CLFS question. It looks like ncurses needs to be built with -fPIC. x86_64 is sensitive to PIC while it's not fatal on x86. You've gotta find out over there how to get ncurses built the right way.
Then I tried to recompile it with the following command LDFLAGS="-lm -fPIC" make But I get the same error.
Right. The problem is with the libncurses library. It's not gonna get fixed in gpm. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
