Date: Wed, 6 Dec 1995 09:21:04 GMT From: "C. N. Feng" Subject: undefined reference to ... To: DJGPP Hi, I have downloaded ez-gcc-X.zip recently. The versions of gcc and go32 in this package are gcc 2.6.0 and go32 1.12.maint3. When I ran the test program t02.bat, I got the following error messages. undefined reference to 'endl(ostream&)' undefined reference to 'cout' undefined reference to 'ostream::operator<<(char const*)' undefined reference to 'ostream::operator<<(ostream&(*) (ostream&))' --- The code for t02.bat is gcc -v t02.cc -o t02 -lgpp go32 t02 --- The code for t02.cc is #include main() {cout<<"Hello, world from t02.cc!"<