please help: glibc 2.2.5 compile error (chapter 6)

Scott Guo xguo2000 at yahoo.com
Sun Jun 23 04:11:13 PDT 2002


Hi,
     I just tried to follow LFS CVS (6/22) version,
everything worked fine in first 5 chapters. but after
I started chapter 6 - chroot, installed kernel
(2.4.18) files, when I tried to compile glibc 2.2.5, I
got compile errors as below:

make[2]: Entering directory `/usr/src/glibc-2.2.5/csu'
gcc ../sysdeps/unix/sysv/linux/init-first.c -c -O2
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -g 
    -I../include -I. -I/usr/src/glibc-build/csu -I..
-I../libio  -I/usr/src/glibc-build
-I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic  
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  
  -DHAVE_INITFINI -o
/usr/src/glibc-build/csu/init-first.o
/tmp/cc3jD2kw.s: Assembler messages:
/tmp/cc3jD2kw.s:2: Warning: Missing string
/tmp/cc3jD2kw.s:2: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:11: Warning: Missing string
/tmp/cc3jD2kw.s:11: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:12: Warning: Missing string
/tmp/cc3jD2kw.s:12: Error: Rest of line ignored. First
ignored character is `3'.
/tmp/cc3jD2kw.s:13: Warning: Missing string
/tmp/cc3jD2kw.s:13: Error: Rest of line ignored. First
ignored character is `4'.
/tmp/cc3jD2kw.s:14: Warning: Missing string
/tmp/cc3jD2kw.s:14: Error: Rest of line ignored. First
ignored character is `5'.
/tmp/cc3jD2kw.s:15: Warning: Missing string
/tmp/cc3jD2kw.s:15: Error: Rest of line ignored. First
ignored character is `6'.
/tmp/cc3jD2kw.s:16: Warning: Missing string
/tmp/cc3jD2kw.s:16: Error: Rest of line ignored. First
ignored character is `7'.
/tmp/cc3jD2kw.s:17: Warning: Missing string
/tmp/cc3jD2kw.s:17: Error: Rest of line ignored. First
ignored character is `8'.
/tmp/cc3jD2kw.s:18: Warning: Missing string
/tmp/cc3jD2kw.s:18: Error: Rest of line ignored. First
ignored character is `9'.
/tmp/cc3jD2kw.s:19: Warning: Missing string
/tmp/cc3jD2kw.s:19: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:20: Warning: Missing string
/tmp/cc3jD2kw.s:20: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:21: Warning: Missing string
/tmp/cc3jD2kw.s:21: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:22: Warning: Missing string
/tmp/cc3jD2kw.s:22: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:23: Warning: Missing string
/tmp/cc3jD2kw.s:23: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:24: Warning: Missing string
/tmp/cc3jD2kw.s:24: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:25: Warning: Missing string
/tmp/cc3jD2kw.s:25: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:26: Warning: Missing string
/tmp/cc3jD2kw.s:26: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:27: Warning: Missing string
/tmp/cc3jD2kw.s:27: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:28: Warning: Missing string
/tmp/cc3jD2kw.s:28: Error: Rest of line ignored. First
ignored character is `1'.
/tmp/cc3jD2kw.s:64: Warning: Missing string
/tmp/cc3jD2kw.s:64: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:65: Warning: Missing string
/tmp/cc3jD2kw.s:65: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:66: Warning: Missing string
/tmp/cc3jD2kw.s:66: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:67: Warning: Missing string
/tmp/cc3jD2kw.s:67: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:68: Warning: Missing string
/tmp/cc3jD2kw.s:68: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:69: Warning: Missing string
/tmp/cc3jD2kw.s:69: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:93: Warning: Missing string
/tmp/cc3jD2kw.s:93: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:94: Warning: Missing string
/tmp/cc3jD2kw.s:94: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:95: Warning: Missing string
/tmp/cc3jD2kw.s:95: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:96: Warning: Missing string
/tmp/cc3jD2kw.s:96: Error: Rest of line ignored. First
ignored character is `2'.
/tmp/cc3jD2kw.s:97: Warning: Missing string
/tmp/cc3jD2kw.s:97: Error: Rest of line ignored. First
ignored character is `3'.
/tmp/cc3jD2kw.s:98: Warning: Missing string
/tmp/cc3jD2kw.s:98: Error: Rest of line ignored. First
ignored character is `3'.
/tmp/cc3jD2kw.s:99: Warning: Missing string
/tmp/cc3jD2kw.s:99: Error: Rest of line ignored. First
ignored character is `3'.
/tmp/cc3jD2kw.s:115: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:118: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:121: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:124: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:126: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:129: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:131: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:141: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:149: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:153: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:155: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:157: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:159: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:161: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:166: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:173: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:190: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:197: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:210: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:217: Error: Unknown pseudo-op:  `.loc'
/tmp/cc3jD2kw.s:224: Warning: Missing string
/tmp/cc3jD2kw.s:224: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:225: Warning: Missing string
/tmp/cc3jD2kw.s:225: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:226: Warning: Missing string
/tmp/cc3jD2kw.s:226: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:227: Warning: Missing string
/tmp/cc3jD2kw.s:227: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:228: Warning: Missing string
/tmp/cc3jD2kw.s:228: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:229: Warning: Missing string
/tmp/cc3jD2kw.s:229: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:230: Warning: Missing string
/tmp/cc3jD2kw.s:230: Error: Rest of line ignored.
First ignored character is `3'.
/tmp/cc3jD2kw.s:231: Warning: Missing string
/tmp/cc3jD2kw.s:231: Error: Rest of line ignored.
First ignored character is `4'.
/tmp/cc3jD2kw.s:232: Warning: Missing string
/tmp/cc3jD2kw.s:232: Error: Rest of line ignored.
First ignored character is `4'.
/tmp/cc3jD2kw.s:10971: Warning: Unrecognized .section
attribute: want a,w,x
/tmp/cc3jD2kw.s:10971: Warning: Unrecognized .section
attribute: want a,w,x
/tmp/cc3jD2kw.s:10971: Error: Rest of line ignored.
First ignored character is `,'.
make[2]: *** [/usr/src/glibc-build/csu/init-first.o]
Error 1
make[2]: Leaving directory `/usr/src/glibc-2.2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.2.5'
make: *** [all] Error 2

the version of as is GNU assembler 2.10.1

Thanks in advance!

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-- 
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