From: wto@cbnewsg.cb.att.com (William T. O Connell) Subject: Unable to link iostream with C library 4.3.3 Date: Sat, 10 Apr 1993 05:11:33 GMT
running : Linux .99pl7A, gcc.2.3.3
I just downloaded the C library 4.3.3 from tsx-11
After upgrading from 4.2 to 4.3.3, I am no longer able to
link in the iostream library functions.
An example compile follows, which nolonger links after the upgrade.
Before, upgrading, it compiled fine.
(ranger)WTO-> make all
gcc -o driver1 -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer
driver1.C MemoSystem.o -DENCORE -DUSE_SPIN_LOCK -lg++
/tmp/cca016271.o: Undefined symbol operator<<(ostream &, const char *)
referenced from text segment
make: *** [driver1] Error 1
(ranger)WTO->
If I back out of the upgrade (back to 4.2), I can then link the
iostream in again.
(I had the same problem with version 4.3.2)
Obviously, I'm missing something. It appeared that the upgrade
went OK, I followed H.J's readme file directions.
Anybody have any ideas on what I should be looking for????
- Bill