Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA21020; Fri, 8 Mar 96 13:08:01 EST
Received: from PO9.MIT.EDU by MIT.EDU with SMTP
	id AA05944; Fri, 8 Mar 96 13:07:17 EST
Received: from ISLANDER.MIT.EDU by po9.MIT.EDU (5.61/4.7) id AA19490; Fri, 8 Mar 96 13:07:10 EST
Received: by ISLANDER.MIT.EDU with Microsoft Mail
	id <01BB0CF0.3E759C00@ISLANDER.MIT.EDU>; Fri, 8 Mar 1996 13:07:46 -0500
Message-Id: <01BB0CF0.3E759C00@ISLANDER.MIT.EDU>
From: Steve Niemczyk <sniemczy@MIT.EDU>
To: "'proven@mit.edu'" <proven@MIT.EDU>
Subject: Better... Maybe this one thing can be fixed?
Date: Fri, 8 Mar 1996 13:07:39 -0500
Encoding: 50 TEXT

Hi -- I sent you a letter early this morning complianing of weird core 
dumps...

What I forgot to say is -- the first time I did it, it didn't lin, but it 
only seemed to have one error.  If this is so, it may be a simple omission 
in the pthread version of stdio...  This is the error I get if I make 
*either* helloworld or my whole project, and it is only a LINK-time problem 
-- making the .o files work fine.

I first observed this error when I built libg++ with pgcc (the first try), 
and I got it again, when I build libg++ using gcc, and just copied the 
separately built libg++ and related files (libstdc++.a libiberty.a, and 
libg++.a) OVER the not pthreaded one.

Here is this error -- something abo9ut strtoul and __getc

collect2: ld returned 1 exit status
/usr/local/lib/libstdc++.a(stdiostream.o): In function 
`stdiobuf::sys_read(char
*, int)':
/oldhome/libg++-2.7.1/libio/stdiostream.cc:77: undefined reference to 
`__getc'
/usr/local/lib/libstdc++.a(iovfscanf.o): In function `_IO_vfscanf':
/oldhome/libg++-2.7.1/libio/iovfscanf.c:242: undefined reference to 
`strtoul'
/oldhome/libg++-2.7.1/libio/iovfscanf.c:242: undefined reference to 
`strtoul'
/oldhome/libg++-2.7.1/libio/iovfscanf.c:248: undefined reference to 
`strtoul'
/oldhome/libg++-2.7.1/libio/iovfscanf.c:250: undefined reference to 
`strtoul'
/oldhome/libg++-2.7.1/libio/iovfscanf.c:285: undefined reference to 
`strtoul'
/usr/local/lib/libstdc++.a(iovfscanf.o):/oldhome/libg++-2.7.1/libio/iovf  
scanf.c:
285: more undefined references to `strtoul' follow


Should I not try to use the libstdc++.a that I get when I build with pgcc?

Thanks for your time, patience and advice....

                          -Steve Niemczyk

---------------------------------------------------------------------
Steve Niemczyk      \ \  "Chasing rainbows  \ \  http://isles.mit.edu
362 Memorial Dr.     \ \   is the only way   \ \  sniemczy@mit.edu
Cambridge, MA 02139   \ \   to get the pots   \ \  S.B./M.Eng MIT '96
Rm 625  (617)225-7375  \ \   of gold..."       \ \  Comp Sci. / E.E.
---------------------------------------------------------------------

