home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1471 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.5 KB

  1. Path: sparky!uunet!mcsun!news.forth.gr!news.forth.gr!kilitzir
  2. From: kilitzir@antigone.csi.forth.gr (Xristos Kilitzirakis)
  3. Newsgroups: gnu.g++.help
  4. Subject: g++ novice questions
  5. Date: 23 Nov 1992 16:50:57 +0200
  6. Organization: Institute of Computer Science, FORTH Hellas
  7. Lines: 43
  8. Message-ID: <kilitzir.722530090@news.forth.gr>
  9. NNTP-Posting-Host: antigone.csi.forth.gr
  10.  
  11.  
  12.  
  13. Dear guys,
  14.     I have a terrible problem.When I complile my g++ programs, ld
  15. errors all the time, like that:
  16. ------------------------------------------------------------------
  17. <<ld: Undefined symbol 
  18.    _cout 
  19.    _check_state__4File 
  20.    ___ls__7ostreami 
  21.    _sputs__9streambufPCc 
  22. collect: /usr/bin/ld returned 2 exit status
  23. >> or
  24. ------------------------------------------------------------------
  25. <<ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
  26. ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
  27. ld.so: warning: /usr/lib/libc.so.1.6 has older revision than expected 7
  28. >> or 
  29. --------------------------------------------------------------------
  30. <<   ___8ifstreamPCcii 
  31.    ___rs__FR7istreamRf 
  32.    ___rs__FR7istreamRi 
  33.    ___ls__FR7ostreamf 
  34.    ___ls__FR7ostreami 
  35.    ___8ofstream 
  36.    ___8ifstream 
  37.    _cerr 
  38.    ___ls__FR7ostreamPCc 
  39.    __$_8ofstream 
  40.    ___8ofstreamPCcii 
  41.    __$_8ifstream 
  42. >>
  43. It seems like I forgot to put the libs - do I have to put the libs
  44. and which for what.
  45. About ld , really I cannot understand everything.
  46.  
  47.  
  48. Any answers will be rearded witha Xmas card to :
  49. kilitzir@csd.uch.gr
  50. kilitzir@csi.forth.gr
  51.  
  52.  
  53.  
  54.