Hello, i have compiled a C++ library and i want to test it with a small program. But, I have the following error: g++ -O2 -Wall -o test test.cpp -lboost_thread-gcc-mt-1_31 -L../build/linux/bin -I$HOME/local/include -L$HOME/local/lib -L$HOME/local/stlport/lib -lstlport_gcc /home/torri/tmp/ccAvE0Bj.o(.text+0x2b): In function `main': : undefined reference to `avs::parser::Parser::operator()(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' collect2: ld returned 1 exit status the stlport libs are in $HOME/local/stlport/lib in the library (which is located in ../build/linux/bin), when i do a nm on the lib, the related Parser symbols are: 0019dd80 t _GLOBAL__I__ZN3avs6parser6ParserclERKN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE 00199670 T _ZN3avs6parser6ParserclERKN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE it seems that they are all here (there are the constructor and the operator()) The same undefined ref error occurs for all the functions i would like to test. Does someone know where the problem could come from ? Thank you ! Vincent TORRI