home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25412 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.5 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!brunel!cs89rdb
  2. From: cs89rdb@brunel.ac.uk (Roger D Binns)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Pt 1/2: linux 0.98 c++ st
  5. Message-ID: <C1F3IG.IDr@brunel.ac.uk>
  6. Date: 25 Jan 93 16:08:38 GMT
  7. References: <727676295.AA34613@remote.halcyon.com>
  8. Organization: Brunel University, Uxbridge, UK
  9. Lines: 27
  10. X-Newsreader: TIN [version 1.1 PL8]
  11.  
  12. Paul Caffrey (Paul.Caffrey@f15.n229.z1.fidonet.org) wrote:
  13. : I can't get the c++ stream io implementation of the 0.98 linux SLS
  14. : distribution
  15. : working.
  16.  
  17. : The following program(cout.c):
  18. : fails to compile (g++ cout.c) with the following message:
  19.  
  20. : cout.o: Undefined symbol _cout referenced from text segment
  21. : cout.o: Undefined symbol operator<<(ostream &, const char *) referenced
  22. : from
  23. : text segment
  24.  
  25. With gcc 2.3.3 this happens.  If you give the -nojump switch to gcc it goes
  26. away.  This implies that c++ iostreams are NOT part of the jump table
  27. libraries, although they are part of the classic shared libraries.
  28.  
  29. Is there any reason for this, other than historical?
  30.  
  31. Roger
  32. -- 
  33. +=============================================================================+
  34. | cs89rdb@brunel.ac.uk     Roger Binns    Brunel University - UK              |
  35. |:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
  36. | Do your bit to destroy the American economy by overwhelming their legal     |
  37. | system - buy an Intel chip to run your Lotus software TODAY.                |
  38. +=============================================================================+
  39.