I'm building the Glibc-2.4.6 library in chapter 9.6 of the LFS book I'm getting the following errors when I compile:
Stack now 0 2 5 7 43 151 234 323 452 569 647 533 297 412 Entering state 498 Reducing stack by rule 434 (line 1871), lineno_stmt_decl_or_labels_ending_stmt lineno_stmt -> lineno_stmt_decl_or_labels_ending _stmt Stack now 0 2 5 7 43 151 234 323 452 569 647 533 297 Entering state 412 Reading a token: Next token is token '}' ( [}]) Reducing stack by rule 429 (line 1860), lineno_stmt_decl_or_labels_ending_stmt -> stmts_and_decls Stack now 0 2 5 7 43 151 234 323 452 569 647 533 297 Entering state 411 Reducing stack by rule 465 (line 1959), stmts_and_decls -> compstmt_contents_nonempty Stack now 0 2 5 7 43 151 234 323 452 569 647 533 297 Entering state 418 Next token is token '}' ( [}]) Shifting token '}' ( [}]) Entering state 510 Reducing stack by rule 464 (line 1955), maybe_label_decls compstmt_contents_nonempty '}' -> compstmt_nostart Stack now 0 2 5 7 43 151 234 323 452 569 647 533 Entering state 625 Reducing stack by rule 468 (line 1975), compstmt_start compstmt_nostart -> compstmt Stack now 0 2 5 7 43 151 234 323 452 569 647 Entering state 640 Reducing stack by rule 460 (line 1946), compstmt -> compstmt_or_error Stack now 0 2 5 7 43 151 234 323 452 569 647 Entering state 745 Reducing stack by rule 21 (line 392), declspecs_ts setspecs declarator @3 old_style_parm_decls save_location @4 compstmt_or_err or -> fndef Stack now 0 2 5 7 Entering state 24 Reducing stack by rule 7 (line 361), fndef -> extdef Stack now 0 2 5 7 Entering state 62 Reducing stack by rule 6 (line 355), extdefs save_obstack_position @2 extdef -> extdefs Stack now 0 Entering state 2 Reading a token: Now at end of input. Reducing stack by rule 2 (line 345), extdefs -> program Stack now 0 Entering state 1 Now at end of input. /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory collect2: ld returned 1 exit status Execution of gcc failed! The script has found some problems with your installation! Please read the FAQ and the README file and check the following: - Did you change the gcc specs file (necessary after upgrading from Linux libc5)? - Are there any symbolic links of the form libXXX.so to old libraries? Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong, libm.so should point to the newly installed glibc file - and there should be only one such link (check e.g. /lib and /usr/lib) You should restart this script from your build directory after you've fixed all problems! Btw. the script doesn't work if you're installing GNU libc not as your primary library! make[1]: *** [install] Error 1 make[1]: Leaving directory `/tools/glibc-2.3.6' make: *** [install] Error 2 root:/tools/glibc-2.3.6-build# Thanks, Jim ____________________________________________________________________________________ It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
