This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
link with redhat 9 glibc on redhat 7.3
- From: Co Ngai Fung <fung at cohut dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 25 May 2004 11:42:38 +0800 (HKT)
- Subject: link with redhat 9 glibc on redhat 7.3
Hi,
I am trying to link with the redhat 9 glibc on redhat 7.2, but it fail,
I copy the glibc of redhat 9 to /build/compilers/sysroot/redhat-9/ and
link with the LDFLAG="-B /build/compilers/sysroot/redhat-9/usr/lib
-Wl,-rpath-link,/build/compilers/sysroot/redhat-9/usr/lib", but it fail
to link, the output is as below,
/build/compilers/sysroot/redhat-9/usr/lib/crt1.o: In function `_start':
../sysdeps/i386/elf/start.S:71: undefined reference to `__libc_csu_fini'
../sysdeps/i386/elf/start.S:72: undefined reference to `__libc_csu_init'
misc.o: In function `parse_line':
misc.o(.text+0x4e8): undefined reference to `__ctype_b_loc'
misc.o(.text+0x529): undefined reference to `__ctype_b_loc'
misc.o(.text+0x57b): undefined reference to `__ctype_b_loc'
misc.o(.text+0x5ae): undefined reference to `__ctype_b_loc'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_addr@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_open@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_close@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_sym@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
/build/compilers/sysroot/redhat-9/usr/lib/libdl.so: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
living is easy with eyes closed,
misunderstanding all you see.
- strawberry fields forever
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~