I have a problem compiling http://www.ginac.de/viewcvs/GiNaC/doc/examples/mystring.cpp?rev=1.1 $ g++ -o mystring mystring.cpp -lginac -lcln -lgmp mystring.cpp:28: error: ‘TINFO_mystring’ was not declared in this scope mystring.cpp:28: error: expected primary-expression before ‘(’ token mystring.cpp:28: error: ‘TINFO_mystring’ was not declared in this scope mystring.cpp:28: error: expected primary-expression before ‘>’ token mystring.cpp: In constructor ‘mystring::mystring()’: mystring.cpp:32: error: ‘tinfo_static’ is not a member of ‘mystring’ mystring.cpp: In constructor ‘mystring::mystring(const std::string&)’: mystring.cpp:33: error: ‘tinfo_static’ is not a member of ‘mystring’ mystring.cpp: In constructor ‘mystring::mystring(const char*)’: mystring.cpp:34: error: ‘tinfo_static’ is not a member of ‘mystring’ Same problem with g++34 -o mystring mystring.cpp -lginac -lcln -lgmp My other GiNaC based Library (it doews not derive clases from ginac ) and aplications compile OK. I wonder if it is a problem with the ginac/gcc version I'm using: $ gcc -v gcc versión 4.1.2 20070626 (Red Hat 4.1.2-13) $ rpm -q ginac ginac-1.3.6-1.fc6