home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / gcc / help / 1969 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  889 b 

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!henson!news.u.washington.edu!nntp.uoregon.edu!inferno.uoregon.edu!nathan
  2. From: nathan@inferno.uoregon.edu (NathanD)
  3. Newsgroups: gnu.gcc.help
  4. Subject: ___new_handle undefined ???
  5. Message-ID: <1992Aug21.025615.25134@nntp.uoregon.edu>
  6. Date: 21 Aug 92 02:56:15 GMT
  7. Article-I.D.: nntp.1992Aug21.025615.25134
  8. Sender: news@nntp.uoregon.edu
  9. Organization: University of Oregon Network Services
  10. Lines: 15
  11. X-Newsreader: Tin 1.1 PL4
  12.  
  13.  
  14. I just downloaded an installed gcc 2.2.2.  When I try to compile something
  15. that uses iostreams, the linker gives me:
  16.  
  17. gcc:lib/libgcc.a(_builtin_new.o): Undefined symbol ___new_handler referenced
  18. from text segment
  19.  
  20. My command line is: gcc main.cc -lg++ -lc
  21. and it seems to compile ok.
  22.  
  23. Can someone help me?  Do I just have a command line switch wrong?  Or do I
  24. need to link in some other object module?
  25.  
  26. Thanks,
  27. nathan
  28.