public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* __eprintf again
@ 1998-06-23 14:56 Ted Irons
  1998-06-23 22:55 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Irons @ 1998-06-23 14:56 UTC (permalink / raw)
  To: egcs; +Cc: ironst

Sorry - my previous posting was incomplete.

On a Solaris 2.5.1 box,
while trying to build the 19980619b snapshot of the blitz library
( http://monet.uwaterloo.ca/blitz/ )
with egcs-19980621 and binutils-2.9.1 I get the following 
error:

g++ -I./.. -ftemplate-depth-30 -g -DBZ_DEBUG  -c ./ctors.cpp
g++  ctors.o -o ctors -L../lib -lblitz -lm
Undefined                       first referenced
 symbol                             in file
__eprintf                           ctors.o
ld: fatal: Symbol referencing errors. No output written to ctors
collect2: ld returned 1 exit status
gmake[1]: *** [ctors] Error 1
gmake: *** [check] Error 2

Doing nm on libgcc.a comes up with
_eprintf.o:


Any help would be appreciated,
Thanks,

- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: __eprintf again
  1998-06-23 14:56 __eprintf again Ted Irons
@ 1998-06-23 22:55 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-06-23 22:55 UTC (permalink / raw)
  To: Ted Irons; +Cc: egcs

  In message < 359002D1.702A@aries.tucson.saic.com >you write:
  > Sorry - my previous posting was incomplete.
  > 
  > On a Solaris 2.5.1 box,
  > while trying to build the 19980619b snapshot of the blitz library
  > ( http://monet.uwaterloo.ca/blitz/ )
  > with egcs-19980621 and binutils-2.9.1 I get the following 
  > error:
  > 
  > g++ -I./.. -ftemplate-depth-30 -g -DBZ_DEBUG  -c ./ctors.cpp
  > g++  ctors.o -o ctors -L../lib -lblitz -lm
  > Undefined                       first referenced
  >  symbol                             in file
  > __eprintf                           ctors.o
  > ld: fatal: Symbol referencing errors. No output written to ctors
  > collect2: ld returned 1 exit status
  > gmake[1]: *** [ctors] Error 1
  > gmake: *** [check] Error 2
  >
  > 
  > Doing nm on libgcc.a comes up with
  > _eprintf.o:
Hmmm, did it list any symbols for eprintf.o?

Did you configure with the "--with-newlib" option?  That disables
__eprintf in libgcc.a.  If yes, then that's where you went wrong :-)
since newlib is for embedded systems, not native ports.

jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-23 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-23 14:56 __eprintf again Ted Irons
1998-06-23 22:55 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).