|
@@ -49,15 +49,21 @@ the ./configure script and when make is run can be useful. Don't
|
|
|
blindly include the whole thing but on the other hand, don't include too
|
|
|
little. As an example, here is some screen output from make:</para>
|
|
|
|
|
|
-<screen>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 opt1.o -lutil job.o: In function `load_too_high':
|
|
|
+<para><screen>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 opt1.o
|
|
|
+-lutil job.o: In function `load_too_high':
|
|
|
/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 `/lfs/tmp/make-3.79.1'
|
|
|
make[1]: *** [all-recursive] Error 1
|
|
|
make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
|
|
|
-make: *** [all-recursive-am] Error 2</screen>
|
|
|
+make: *** [all-recursive-am] Error 2</screen></para>
|
|
|
|
|
|
<para>In this case, many people just include the bottom section where it
|
|
|
says <screen>make [2]: *** [make] Error 1</screen> and onwards. This
|