🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James Apple Mon, 17 Jul 1989 14:18
Need help with g++
#55
Author: James Apple
Date: Mon, 17 Jul 1989 14:18
48 lines
2038 bytes
	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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads