'make' and 'flieutils' compilation problems

0 zero at speed.bajt.com.pl
Wed Nov 7 01:56:24 PST 2001


Hi, I just try to install LFS 3.0 on my laptop (IBM TP 380ED, intel
pentium, Slackware 7.1) and I have problems when I try to statically
compile 'make' and 'fileutils'. When I do: "make
-LDFLAGS=-static" Compiler says this:


(in case of fileutils):

....something...
make[3]: Entering directory `/mnt/LFS/tmp/fileutils-4.1/src'
gcc  -g -O2  -static -o chgrp  chgrp.o chown-core.o ../lib/libfetish.a
../lib/libfetish.a(closeout.o): In function `close_stdout_status':
/mnt/LFS/tmp/fileutils-4.1/lib/closeout.c:96: undefined reference to
`__fpending'
collect2: ld returned 1 exit status
make[3]: *** [chgrp] Error 1
make[3]: Leaving directory `/mnt/LFS/tmp/fileutils-4.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/LFS/tmp/fileutils-4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/LFS/tmp/fileutils-4.1'
make: *** [all] Error 2




(and in case of make):
...something...
gcc
-DALIASPATH=\"/mnt/LFS/usr/share/locale:.\" -DLOCALEDIR=\"/mnt/LFS/usr/share/locale\" -DLIBDIR=\"/mnt/LFS/usr/lib\" -DINCLUDEDIR=\"/mnt/LFS/usr/include\" -DHAVE_CONFIG_H
-I. -I.     -g -O2 -c getopt1.c
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    -lutil -lrt 
job.o: In function `load_too_high':
/mnt/LFS/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'
collect2: ld returned 1 exit status
make[2]: *** [make] Error 1
make[2]: Leaving directory `/mnt/LFS/tmp/make-3.79.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/LFS/tmp/make-3.79.1'
make: *** [all-recursive-am] Error 2

Could you possibly give me any piece of advice? What can cause this
problems? I think my hardware and system is quite typical, why didnt
anybody have such problems before me ? (I looked in the mail archives)

-- 
zerro
zero at speed.bajt.com.pl

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



More information about the lfs-support mailing list