Changeset 2c094d6 for chapter02/askforhelp.xml
- Timestamp:
- 09/28/2002 09:08:29 PM (22 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4d46e012
- Parents:
- f5cc1c17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/askforhelp.xml
rf5cc1c17 r2c094d6 25 25 26 26 <para>(Note that saying that you've deviated from the book doesn't mean 27 that we won't help you. After all, LFS is about choice.It'll just27 that we won't help you. After all, LFS is about choice. It'll just 28 28 help us to see other possible causes of your problem.)</para> 29 29 … … 46 46 <para>To help us find the cause of the problem, both screen output and 47 47 the contents of various files are useful. The screen output from both 48 the ./configure script and the make run can be useful. 48 the ./configure script and the make run can be useful. Don't blindly 49 49 include the whole thing but on the other hand, don't include too little. 50 50 As an example, here is some screen output from make:</para> 51 51 52 <para><screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\" 53 -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\" 54 -DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I. 52 <para><screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\" 53 -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\" 54 -DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I. 55 55 -g -O2 -c getopt1.c 56 gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o57 function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o 58 signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o 56 gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o 57 function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o 58 signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o 59 59 -lutil job.o: In function `load_too_high': 60 60 /lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg' … … 67 67 68 68 <para>In this case, many people just include the bottom section where it 69 says <screen>make [2]: *** [make] Error 1</screen> and onwards. 69 says <screen>make [2]: *** [make] Error 1</screen> and onwards. This 70 70 isn't enough for us to diagnose the problem because it only tells us 71 71 that <emphasis>something</emphasis> went wrong, not 72 <emphasis>what</emphasis> went wrong. 72 <emphasis>what</emphasis> went wrong. The whole section, as 73 73 in the example above, is what should be included to be helpful, because it 74 74 includes the command that was executed and the command's error … … 76 76 77 77 <para>An excellent article on asking for help on the Internet in general 78 has been written by Eric S. Raymond. 78 has been written by Eric S. Raymond. It is available online at <ulink 79 79 url="http://www.tuxedo.org/~esr/faqs/smart-questions.html"/>. 80 80 Read and follow the hints in that document and you are much more likely
Note:
See TracChangeset
for help on using the changeset viewer.