Yes, you were quite right! It is working now. Thanks so much for the tip.
Eric
Is the compile doing: "g++ -o foo foo.cpp" ?
Or is the compile doing: "gcc -o foo foo.c" ?
Note, with GCC, C++ programs should use "g++" and have the extension .cpp .cc .cxx .c++ .cp or .C (capital C, on case-sensitive file systems only).
The extension can be ignored if "-x c++" is being used, since that overrides the extension check.
HTH, --Eljay