Error compiling glibc

sreekant kodela sreekant_kodela at yahoo.com
Tue Nov 18 14:01:38 PST 2003


Hi guys

I am trying to build LFS5 on my laptop which runs
slackware 9.0 standard installation. Glibc fails to
compile. Infact if I don't unzip tha glibc-threads
package into gilbc-2.xx directory before running the
configure from glibc-build it dies saying if I am
really sure I shall use --no-sanity-checks or
something similar. I unzipped the glibc-threads into
glibc and not it fails like this.

Any suggestions guys
ta
sreekant


gcc -B/tools/bin/   -shared -static-libgcc -Wl,-O1 
-Wl,-z,defs
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2 
-B/mnt/lfs/sources/glibc-build/csu/ 
-Wl,--version-script=/mnt/lfs/s
ources/glibc-build/libc.map -Wl,-soname=libc.so.6
-Wl,-z,combreloc -nostdlib -nostartfiles -e
__libc_main -u __register_frame
-L/mnt/lfs/sources/glibc-build -L/mnt/lfs/sources/gl
ibc-build/math -L/mnt/lfs/sources/glibc-build/elf
-L/mnt/lfs/sources/glibc-build/dlfcn
-L/mnt/lfs/sources/glibc-build/nss
-L/mnt/lfs/sources/glibc-build/nis
-L/mnt/lfs/sources/gl
ibc-build/rt -L/mnt/lfs/sources/glibc-build/resolv
-L/mnt/lfs/sources/glibc-build/crypt
-L/mnt/lfs/sources/glibc-build/linuxthreads
-Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/
mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/so
urces/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/linuxthreads
-o /mnt/lfs/sources/glibc-build/libc.so -T /
mnt/lfs/sources/glibc-build/libc.so.lds
/mnt/lfs/sources/glibc-build/csu/abi-note.o
/mnt/lfs/sources/glibc-build/elf/soinit.os
/mnt/lfs/sources/glibc-build/libc_pic.os /mnt/lfs/s
ources/glibc-build/elf/sofini.os
/mnt/lfs/sources/glibc-build/elf/interp.os
/mnt/lfs/sources/glibc-build/elf/ld.so -lgcc
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x7de6a):
In function `__wcsmbs_load_conv':
/mnt/lfs/sources/glibc-2.3.2/wcsmbs/wcsmbsload.c:215:
undefined reference to `__libc_setlocale_lock'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x7deee):/mnt/lfs/sources/glibc-2.3.2/wcsmbs/wcsmbsload.c:210:
undefined reference to `__libc_setlocale_lock'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x8fe77):
In function `_nl_init_era_entries':
/mnt/lfs/sources/glibc-2.3.2/time/era.c:139: undefined
reference to `__libc_setlocale_lock'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x9009e):/mnt/lfs/sources/glibc-2.3.2/time/era.c:56:
undefined reference to `__libc_setlocale_lock'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x90390):
In function `_nl_get_alt_digit':
/mnt/lfs/sources/glibc-2.3.2/time/alt_digit.c:93:
undefined reference to `__libc_setlocale_lock'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0x903a6):/mnt/lfs/sources/glibc-2.3.2/time/alt_digit.c:93:
more undefined references to `__libc_setlocale_lock'
follow
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd131e):
In function `*__GI___register_atfork':
../linuxthreads/sysdeps/pthread/list.h:60: undefined
reference to `__fork_block'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd1324):../linuxthreads/sysdeps/pthread/list.h:61:
undefined reference to `__fork_block'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd1331):../linuxthreads/sysdeps/pthread/list.h:63:
undefined reference to `__fork_block'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd133b):../linuxthreads/sysdeps/pthread/list.h:60:
undefined reference to `__fork_block'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd1341):../linuxthreads/sysdeps/pthread/list.h:61:
undefined reference to `__fork_block'
/mnt/lfs/sources/glibc-build/libc_pic.os(.text+0xd134e):../linuxthreads/sysdeps/pthread/list.h:63:
more undefined references to `__fork_block' follow
collect2: ld returned 1 exit status
make[1]: *** [/mnt/lfs/sources/glibc-build/libc.so]
Error 1
make[1]: Leaving directory
`/mnt/lfs/sources/glibc-2.3.2'
make: *** [all] Error 2


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the lfs-support mailing list