Hello,
        I have built my CLFS system by following CLFS-1.0.0 for my Athlon64
and have setup appropriately by reading BLFS-6.1 Chpater "After LFS
Configuration Issues."
       When I downloaded GPM-1.20.1 and unpacked it. And tried to built
using following commands.
# ./configure --prefix=/usr
OK
# LDFLAGS="-lm" make
After some warnings I got the following.
gcc -shared -Wl, -soname, libgpm.so.1 \
    -L/sources/gpm-1.20.1/src -lm -o lib/libgpm.so,1.19.0 lib/liblow.lo
lib/libhigh.lo lib/libextra.lo lib/report-lib.lo tools.lo lib/libcurses.lo
-lncurses -lncurses -lc
/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.

Then I tried to recompile it with the following command
LDFLAGS="-lm -fPIC" make
But I get the same error.
I have applied the patched mentioned in the book.
Is one of them a reason?
1. I have stripped (only) debug symbols from all executabled from /usr
/usr/bin etc. (Using instruction from CLFS).
2. When I opened the FAQ of GPM it says it supports ia64,ppc,ia32, etc.
arch. It does not contain
   any other 64-bit arch. eg. amd64
3. I have build my CLFS as Pure64. ie. no Multilib.
  Is there any other reason?
Please Help.


- Jigslinx
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to