On Wed, Feb 18, 2004 at 01:25:20PM -0800, Lon Canaday wrote: > Sorry, > Here are the details.
> main.o(.text+0xe): In function `main': > /usr/include/g++-3/iostream.h:106: undefined reference to `cout' Does this help? Cheers, Patrick Index: tests/tagdemo/foo.cpp =================================================================== RCS file: /cvsroot/libtool/libtool/tests/tagdemo/foo.cpp,v retrieving revision 1.1 diff -u -r1.1 foo.cpp --- tests/tagdemo/foo.cpp 14 Oct 2003 21:46:13 -0000 1.1 +++ tests/tagdemo/foo.cpp 19 Feb 2004 20:35:52 -0000 @@ -20,11 +20,11 @@ // USA. #include "foo.h" -#include <iostream.h> +#include <iostream> +#include <cmath> -#ifdef HAVE_MATH_H -#include <math.h> -#endif +using std::cout; +using std::endl; // Our C functions. int Index: tests/tagdemo/main.cpp =================================================================== RCS file: /cvsroot/libtool/libtool/tests/tagdemo/main.cpp,v retrieving revision 1.1 diff -u -r1.1 main.cpp --- tests/tagdemo/main.cpp 14 Oct 2003 21:46:13 -0000 1.1 +++ tests/tagdemo/main.cpp 19 Feb 2004 20:35:52 -0000 @@ -22,8 +22,10 @@ #include "foo.h" #include "baz.h" -#include <iostream.h> +#include <iostream> +using std::cout; +using std::endl; int main (int, char *[]) _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool