home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!cs!trung
- From: trung@cs.bu.edu (Trung Dung)
- Newsgroups: comp.sys.next.programmer
- Subject: HELP: compiling C++ using gcc on NeXT
- Message-ID: <106244@bu.edu>
- Date: 6 Jan 93 03:01:57 GMT
- References: <1993Jan5.232447.24153@athena.mit.edu>
- Sender: news@bu.edu
- Organization: Computer Science Department, Boston University, Boston, MA, USA
- Lines: 20
-
- I have gcc2.3.3, and libg++2.3 installed. I have the following "hellow world"
- program to test out the stream library:
-
- #include <stream.h>
- main()
- {
- cout << "hello world" << endl;
- }
-
- It compiled fine, but failed when it tried to link. Here is the messag:
-
- ld: Undefined symbols:
- _endl__FR7ostream
- _cout
- ___ls__7ostreamPCc
- .....
-
- Am I missing something? Any help would be highly appreciated!
- Trung
-
-