very simple g++ question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul S. Kilroy
Date: Monday, November 30, 1992 - 11:23 am

hi all,

        I am assuming there is a very simple fix for
    this, I am using g++ from the SLS 98.1 dist.
     and am trying to complie the following program

#include <stream.h>

main() {

cout << "hello, world\n";

}

but i get the following error
shuf.o: Undefined symbol _cout referenced from text segment
shuf.o: Undefined symbol operator<<(ostream &, const char *) 
referenced from text segment

any help is appreciated 

paul

-- 
                       -Paul   (kilroy@ms.uky.edu)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
very simple g++ question, Paul S. Kilroy, (Mon Nov 30, 11:23 am)