This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building gcc3.1 / linux / linker problem with fprintf_unlocked



I tried to build gcc3.1 on my linux box (SuSE 7.3, glibc 2.2.4-21)
with both gcc3.0.1 and gcc2.95.3.

I used the configure call:
 ./configure --prefix="/opt/gcc/gcc-3.1" --disable-threads --enable-languages=c,c++

On building liberty.a the following linker error occurs.


gcc -DIN_GCC    -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-protot
ypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -
o genflags \
 genflags.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o print-rtl.o errors
.o ../libiberty/libiberty.a
read-rtl.o: In function `fatal_with_file_and_line':
/home/porschberg/gcc-3.1/gcc/read-rtl.c:71: undefined reference to `fprintf_unlo
cked'
/home/porschberg/gcc-3.1/gcc/read-rtl.c:87: undefined reference to `fprintf_unlo
cked'
read-rtl.o: In function `read_escape':
/home/porschberg/gcc-3.1/gcc/read-rtl.c:260: undefined reference to `fprintf_unl
ocked'
read-rtl.o: In function `read_rtx':
/home/porschberg/gcc-3.1/gcc/read-rtl.c:759: undefined reference to `fprintf_unl
ocked'
/home/porschberg/gcc-3.1/gcc/read-rtl.c:762: undefined reference to `fprintf_unl
ocked'
bitmap.o:/home/porschberg/gcc-3.1/gcc/bitmap.c:734: more undefined references to
 `fprintf_unlocked' follow
collect2: ld returned 1 exit status
make: *** [genflags] Error 1


Can anyone give a hint what is going wrong here ?

thomas
-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]