apple@nprdc.arpa (James Apple) (07/17/89)
Hi
I'm using g++ 1.35, it seems to have "made" ok and the tests
complied ok but this simple example from the C++ book will not
work.
Here's the code
#include <stream.h>
main()
{
cout << "Hello\n";
}
Here's the problem
stream.cc:28: Undefined symbol _File_PSFile referenced from text
stream.cc:31: Undefined symbol _File_PSFile_PQI_Eio_mode_Eaccess_mode referenced from text
stream.cc:34: Undefined symbol _File_PSFile_PQI_PQI referenced from text
stream.cc:37: Undefined symbol _File_PSFile_SI_Eio_mode referenced from text
stream.cc:40: Undefined symbol _File_PSFile_PS_iobuf referenced from text
stream.cc:43: Undefined symbol _File_PSFile_SI_PQI_Eio_mode referenced from text
stream.cc:45: Undefined symbol __$_File referenced from text
stream.cc:48: Undefined symbol _File_PSFile referenced from text
stream.cc:53: Undefined symbol _File_PSFile_PQI_Eio_mode_Eaccess_mode referenced from text
stream.cc:59: Undefined symbol _File_PSFile_PQI_PQI referenced from text
stream.cc:65: Undefined symbol _File_PSFile_SI_Eio_mode referenced from text
stream.cc:71: Undefined symbol _File_PSFile_PS_iobuf referenced from text
stream.cc:77: Undefined symbol _File_PSFile_SI_PQI_Eio_mode referenced from text
stream.cc:82: Undefined symbol __$_File referenced from text
stream.cc:190: Undefined symbol _put_PSFile_PQI referenced from text
Is my g++ broke or is this a difference in cfront and g++ ??
I've been through stream.h and all the sample ( tests ) code
and what i'm trying to do seem's to be ok, but ....
Any help would be great
Thanks in Advance
--
Jim Apple WB1DOG
apple@nprdc.navy.mil
...}ucsd!nprdc!apple