If this is the wrong forum for this question my appologies in advance, just point me in the right direction please.
Having gone through "LFS Version 6.1" way more times than I want to admit I am trying to figure out what I keep doing wrong. I think one of my problems is a lack of knowledge in identifying & understanding error messages and figuring out what to do to correct the error condition. The output below is from the Version 6.1 book on pg.28 as a sample of output from a make. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\" -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\" -DINCLUDEDIR=\"/mnt/lfs/usr/include\" -g -O2 -c getopt1.c gcc -g -O2 -static -o make ar.o arscan. expand.o file.o function.o getopt.o implicit. misc.o read.o remake.o rule.o signame. default.o remote-stub.o version.o opt1. -lutil job.o: In function `load_too_high': /lfs/tmp/make-3.79.1/job.c:1565: undefined to `getloadavg' collect2: ld returned 1 exit status make[2]: *** [make] Error 1 make[2]: Leaving directory `/lfs/tmp/make- make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/lfs/tmp/make- make: *** [all-recursive-am] Error 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If I understand this output, the error first shows up in the lines "-lutil job.o: In function `load_too_high':" "/lfs/tmp/make-3.79.1/job.c:1565: undefined to `getloadavg'" As I understand this output, at line 1565 in job.c a variable or maybe a function named "getloadavg" is being called but has not been previously defined. Am I anywhere close to being correct on this? Assuming that the getloadavg was not defined, am I correct that the most obvious place to look would be in job.c to look for the name of a missing include file that would have the required definition in it? Also can someone shed some light on the [make] Error 1 and [all-recursive] Error 1. Specifically what do the statements inside the [] mean and where would I find more documentation on this? Help in understanding this will certainly be appreciated, links to documentation would also be great. Rick Richardson -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
