Linking fails, glibc errors
Stefan Bruda
yellowdog-general@lists.terrasoftsolutions.com
Fri Aug 22 16:43:01 2003
Hi all.
I am trying to compile XEmacs on my test YDL3 box. It is a brand new
installation, yum-updated, so it features the following relevant
packages:
glibc-utils-2.3.1-51a
glibc-common-2.3.1-51a
glibc-kernheaders-2.4-7.20
glibc-2.3.1-51a
glibc-devel-2.3.1-51a
libgcc-3.2.2-2a
gcc-3.2.2-2a
gcc-c++-3.2.2-2a
I get slapped with the following errors in the linking phase:
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1e): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function
`__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x26): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x2a): In function
`__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x82): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x86): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x8a): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x8e): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_end'
The thing compiles (and links) fine with GCC 2.95.4 and glibc 2.2.5.
What am I missing?
TIA,
Stefan
--
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
--Lewis Carroll, Through the Looking-Glass