linking error

Alex Fridman alex@automatedfinancial.com
Tue Jun 5 14:15:00 GMT 2001


I think I found a bug, but I am not sure. Check this out.

I tried to build the gcc-2.95.2 using the --with-newlib option, because I
got the __eprintf unresolved external on trying to link the library with CC
that I previously build with gcc.

I read that if I rebuild my gcc with --with-newlib option that would
illuminate  __eprintf problem.

That's exactly what I did except I got the same unresolved external trying
to build gcc

Here is the error

../stage1/xgcc -B../stage1/ -B/usr/local/sparc-sun-solaris2.7/bin/ -DIN_GCC
-DHAIFA  -DSVR4  -O2 -g  -DHAVE_CONFIG_H  -o fini fini.o proj-h.o
Undefined                       first referenced
 symbol                             in file
__eprintf                           fini.o
ld: fatal: Symbol referencing errors. No output written to fini
collect2: ld returned 1 exit status
make[3]: *** [fini] Error 1
make[3]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc/f'
make[2]: *** [f771] Error 2
make[2]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc'
make: *** [bootstrap] Error 2

Any suggestions? 


Thanks,
Alex Fridman
Automated Financial Systems
(212)771-1923 



More information about the Gcc-bugs mailing list