This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
gcc compile for libc upgrade
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: gcc compile for libc upgrade
- From: Admin Mailing Lists <mlist at intergrafix dot net>
- Date: Sat, 24 Mar 2001 15:01:31 -0500 (EST)
- Cc: isp-linux at isp-linux dot com
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Hi,
I'm trying to upgrade a system from libc5 to glibc 2.1.3.
I've done this successfully with 2 systems so far. However, on this one i
get all the way to trying to compile the NATIVE gcc (i.e. got native
binutils and native glibc-2.1.3) and it errors out with the following
messages..can anyone tell me what i might have screwed up??
This is fairly early, in stage1.
I'm compiling 2.95.2
Binutils is binutils-2.10.1.0.7
My configure and make lines are:
../gcc-2.95.2/configure --host=i686-pc-linux-gnu --prefix=/usr \
--enable-shared --enable-languages=c,c++,CHILL,objc
make bootstrap-lean
Thanx.
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x1d): undefined reference to `__libc_start_main'
gengenrtl.o: In function `genlegend':
/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:252: undefined
reference to
`fputs_unlocked'
/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:253: undefined
reference to
`fputs_unlocked'
gengenrtl.o: In function `gencode':
/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:286: undefined
reference to
`fputs_unlocked'
/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:287: undefined
reference to
`fputs_unlocked'
/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:288: undefined
reference to
`fputs_unlocked'
gengenrtl.o:/var/src/build/gcc/../../gcc-2.95.2/gcc/gengenrtl.c:289: more
undefined references to `fputs_unlocked' follow
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x1d): undefined reference to `__libc_start_main'
collect2: ld returned 1 exit status
make[2]: *** [gencheck] Error 1
-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
thelittleprince@asteroid-b612.org Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.