ERROR COMPILING 'make'... Where is elf library...??

Gerard Beekmans gerard at linuxfromscratch.org
Sun Jul 9 12:51:14 PDT 2000



> Here is the error I get when compiling make... I am in the 'chroot'ed'
> environment when I issue the compile instructions....
> 
> <ERROR MESSAGE>
> 
> gcc  -O3 -mcpu=i386 -march=i386  -o make  ar.o arscan.o commands.o dir.o
> expand.o file.o function.o getopt.o implicit.o job.o main.o misc.o
> read.o remake.o rule.o signame.o variable.o vpath.o default.o
> remote-stub.o version.o getopt1.o getloadavg.o   -lelf
> /usr/bin/ld: cannot find -lelf
> collect2: ld returned 1 exit status
> make[1]: *** [make] Error 1
> make[1]: Leaving directory `/usr/src/make-3.79.1'
> make: *** [install-recursive] Error 1         

I don't have libelf.so or libelf.a either.

This could be a make-3.79.1 problem (I've tested only using make-3.79).
Let me try the 3.79.1 version...
It doesn't try to link in -lelf here. Which configure flags did you pass
to make?

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list