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

Re: Curious warning from linker re libc5/libc6



jdassen@wi.leidenuniv.nl wrote:
  >You should be using -L/usr/i486-linuxlibc1/lib to tell altgcc to use the
  >libXt there (from the "xlib6-altdev" package). Thus, you should get a full
  >libc5 binary.

Thanks for your answer.  Unfortunately, it isn't working, and I don't know why.

This is the command being run by the Eiffel compiler: 
gcc -o app -O   -DWORKBENCH -I/usr1/Eiffel4/bench/spec/linux/include 
-I/usr1/Eiffel4/library/mel/Clib  F1/Fobj1.o D1/Dobj1.o C1/Cobj1.o E1/Eobj1.o 
E1/emain.o \
        /usr1/Eiffel4/precomp/spec/linux/mel/EIFGEN/W_code/preobj.o \
        /usr1/Eiffel4/precomp/spec/linux/base/EIFGEN/W_code/preobj.o \
        /usr1/Eiffel4/precomp/spec/linux/vision/EIFGEN/W_code/preobj.o \
        /usr1/Eiffel4/library/mel/spec/linux/lib/libMel.a 
/usr1/Eiffel4/library/mel/spec/linux/lib/libXpm.a /usr/lib/libXm.a 
-L/usr/i486-linuxlibc1/lib -L/usr/lib/libc5-compat -lXt -lX11 
/usr1/Eiffel4/bench/spec/linux/lib/libwkbench.a -lbsd -lm

and this is what it produces:
ld: cannot open -lXt: No such file or directory

I included `-L/usr/i486-linuxlibc1/lib' as you suggested and added
-L/usr/lib/libc5-compat, because that is where the libc5 Xt library is.

I don't understand why it says it cannot find the library.  Is there any way
to force the linker to use that particular shared library, specifying its
path explicitly?

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: