Article View: gnu.g++
Article #286g++ error message
From: 3531] Gregg W. Jensen
Date: Wed, 29 Aug 1990 21:48
Date: Wed, 29 Aug 1990 21:48
44 lines
1602 bytes
1602 bytes
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@uunet.uu.net
----------------------------------------------------------------------
Technical Details
Message-ID:
<329@swuts.swbt.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!moxie!texbell!swuts!uucigjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!moxie!texbell!swuts!uucigj From: uucigj@swuts.swbt.com (3531] Gregg W. Jensen) Newsgroups: gnu.g++,comp.lang.c++,comp.unix.i386 Subject: g++ error message Keywords: g++, ISC 386 unix Message-ID: <329@swuts.swbt.com> Date: 29 Aug 90 21:48:31 GMT Followup-To: poster Organization: Southwestern Bell Telephone Company Lines: 44