Hi Dennis, [EMAIL PROTECTED] root]# cat hello.cpp #include <iostream> #include <fstream> #include <string> //using namespace std; int main(int argc, char *argv[]) { std::cout << "Hello World!" << std::endl; return 0; }
[EMAIL PROTECTED] root]# gcc296 hello.cpp /tmp/ccpkA5p7.o(.text+0xa): In function `main': : undefined reference to `endl(ostream &)' /tmp/ccpkA5p7.o(.text+0x17): In function `main': : undefined reference to `cout' /tmp/ccpkA5p7.o(.text+0x1c): In function `main': : undefined reference to `ostream::operator<<(char const *)' /tmp/ccpkA5p7.o(.text+0x27): In function `main': : undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' collect2: ld returned 1 exit status [EMAIL PROTECTED] root]# Any idea? Thanks. --T. Muthu Mohan -- Psyche-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/psyche-list