🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Xristos Kilitzirakis Mon, 23 Nov 1992 14:50
g++ novice questions
#598
Author: Xristos Kilitzirakis
Date: Mon, 23 Nov 1992 14:50
40 lines
1589 bytes

Dear guys,
    I have a terrible problem.When I complile my g++ programs, ld
errors all the time, like that:
------------------------------------------------------------------
<<ld: Undefined symbol 
   _cout 
   _check_state__4File 
   ___ls__7ostreami 
   _sputs__9streambufPCc 
collect: /usr/bin/ld returned 2 exit status
>> or
------------------------------------------------------------------
<<ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
>> or 
--------------------------------------------------------------------
<<   ___8ifstreamPCcii 
   ___rs__FR7istreamRf 
   ___rs__FR7istreamRi 
   ___ls__FR7ostreamf 
   ___ls__FR7ostreami 
   ___8ofstream 
   ___8ifstream 
   _cerr 
   ___ls__FR7ostreamPCc 
   __$_8ofstream 
   ___8ofstreamPCcii 
   __$_8ifstream 
>>
It seems like I forgot to put the libs - do I have to put the libs
and which for what.
About ld , really I cannot understand everything.


Any answers will be rearded witha Xmas card to :
kilitzir@csd.uch.gr
kilitzir@csi.forth.gr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads