home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os9 / 1242 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.1 KB  |  45 lines

  1. Newsgroups: comp.os.os9
  2. Path: sparky!uunet!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!menudo.uh.edu!buster!hounix!mm1
  3. From: mm1@hounix.org (John Donaldson)
  4. Subject: C++ Problem
  5. Message-ID: <1992Sep14.215626.8870@hounix.org>
  6. Organization: Houston UNIX Users Group (HOUNIX), Houston, TX
  7. Date: Mon, 14 Sep 1992 21:56:26 GMT
  8. Lines: 35
  9.  
  10.  
  11.  
  12. I have the port of GNU C and C++ for the MM/1. The C compilers works fine.
  13. But I am having a problem with C++.
  14.  
  15. Here is what I am having a problem with
  16.  
  17. //This is a test program:
  18. #include<stdlib.h>
  19. #include<stream.h>
  20.  
  21. main()
  22. {
  23.   cout << "Hello World\n";
  24. )
  25.  
  26.  
  27. gcc -o hello -I/dd/defs/cc -L/dd/gnulib hello.c
  28.  
  29.  
  30. I get the following errors:
  31.  
  32.  sput__9streambufPCc unresolved
  33.  cout                unresolved
  34.  
  35.  
  36.   Can anyone tell me what I am doing wrong???
  37.  
  38. John Donaldson
  39.  
  40. -- 
  41. ******************************************************************************
  42. * John Donaldson   one very Happy MM/1 Owner                                 *
  43. * send mail to:  mm1@Hounix.org                                              *
  44. *                VAXELF on Delphi                                            *
  45.