home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 7997 < prev    next >
Encoding:
Text File  |  1993-01-06  |  830 b   |  32 lines

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!cs!trung
  2. From: trung@cs.bu.edu (Trung Dung)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: HELP: compiling C++ using gcc on NeXT
  5. Message-ID: <106244@bu.edu>
  6. Date: 6 Jan 93 03:01:57 GMT
  7. References: <1993Jan5.232447.24153@athena.mit.edu>
  8. Sender: news@bu.edu
  9. Organization: Computer Science Department, Boston University, Boston, MA, USA
  10. Lines: 20
  11.  
  12. I have gcc2.3.3, and libg++2.3 installed. I have the following "hellow world"
  13. program to test out the stream library:
  14.  
  15. #include <stream.h>
  16. main()
  17. {
  18. cout << "hello world" << endl;
  19. }
  20.  
  21. It compiled fine, but failed when it tried to link. Here is the messag:
  22.  
  23. ld: Undefined symbols:
  24. _endl__FR7ostream
  25. _cout
  26. ___ls__7ostreamPCc
  27. .....
  28.  
  29. Am I missing something? Any help would be highly appreciated!
  30. Trung
  31.  
  32.