On Saturday, October 5, 2002, at 10:15  pm, June Van Dyke wrote:

> I've figured out what the problem is (but not the solution): a C++ 
> library
> is corrupt from the system. *ANY* C++ file fails to compile with 
> similar
> errors:
>
>> [localhost:~/links/develop/DOSE] josh% gcc DOSE.cpp
>> /usr/bin/ld: Undefined symbols:
>> ___ls__7ostreamPCc
>> ___ls__7ostreamPFRB0_RB0
>> _cin
>> _cout
>> _endl__FR7ostream
>> _getline__7istreamPcic
>
> This is *not* good, I know; what library defines these symbols and has
> become missing/corrupt? (I'm thinking of reinstalling the whole April 
> dev
> tools - is this a good idea?)

Those symbols belong in libstdc++. If you substitute 'g++' for your 
'gcc' or add '-lstdc++' to your command, the linker will know to link 
with the standard C++ library.


Alwyn



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to