problems making make

Matthias Benkmann mbenkmann at gmx.de
Sat Oct 21 11:54:31 PDT 2000


> However now I have a problem that I can't figure out.
> I ran into some problems building "make".
> 
> gcc  -g -O2 -static -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  glob/libglob.a 
> /usr/lib/libc.a(environ.o)(.data+0x0): multiple definition of `__environ'
> /usr/lib/crt1.o(.data+0x0): first defined here
> /usr/i486-linux/bin/ld: warning: cannot find entry symbol _start; 
> defaulting to 08048090
> make[2]: *** [make] Error 1
> make[2]: Leaving directory `/usr/large_tmp/benkmann/LFS/extern/make/make-
> 3.79.1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/large_tmp/benkmann/LFS/extern/make/make-
> 3.79.1'
> make: *** [all-recursive-am] Error 2

I have stripped __environ from libc.a:environ.o and compilation works and 
make check passes all tests. Does anybody know if I have to expect 
problems with this fix.

MSB

----
Democracy is when the people has the right to make the wrong choices.


-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list