g++ error message

3531] Gregg W. Jensen uucigj at swuts.swbt.com
Thu Aug 30 07:48:31 AEST 1990


 have installed a set of g++ and gcc  binaries on a 386 box that is
 running ISC's unix rel 2.0.2 andses a printf...

 main()
 {
 printf("hello world\n");
 }

 with g++ I get the correct executable and everything is fine.
 If I change it a little...

 #include <stream.h>
 main()
 {
 cout << "hello world\n";
 }

 and recompile it using g++, I get:

 Undefined symbol....
 copy                           /usr/tmp/cca003355.R
 bzero                           /usr/tmp/cca003355.R
 ld fatal: Symbol referencing

 Is there another include file that I should have in there? (I have found
 bcopy and bzero in one of the bzero in the
 libinet.a library but including the library doesn't solve it.  Any
 suggestions?

   Gregg Jensen

   ----------------------------------------------------------------------
   These opinions are my own and do not necessarily reflect my companies.
	 Southwestern Bell Telephone
     Send E-MAIL to the following address...
			  ...!uunet!swbatl!uucigj

			   - or you can try -

		   uucigj%gandalf.sbc.com at uunet.uu.net

  ----------------------------------------------------------------------
									   



More information about the Comp.unix.i386 mailing list