From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Fridman To: gcc-help@gcc.gnu.org Subject: link error Date: Tue, 05 Jun 2001 14:22:00 -0000 Message-id: X-SW-Source: 2001-06/msg00031.html Hi, 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