Most of the bug is described here: http://bugs.gentoo.org/show_bug.cgi?id=96306
It seems to be a template instanciation problem. When I try to compile a program, I get this: test_suffix_node.o(.text+0x1bd): In function `main': : undefined reference to `cpl::internals::SuffixTree<int>::insert(int&, char const*)' test_suffix_node.o(.text+0x1c8): In function `main': : undefined reference to `cpl::internals::SuffixTree<int>::print_tree()' test_suffix_node.o(.text+0x215): In function `main': : undefined reference to `cpl::internals::SuffixTree<int>::key_exist(char const*)' test_suffix_node.o(.text+0x2b4): In function `main': : undefined reference to `cpl::internals::SuffixTree<int>::print_tree()' test_suffix_node.o(.gnu.linkonce.r._ZTVN3cpl9internals10SuffixNodeIiEE+0x8): undefined reference to `cpl::internals::SuffixNode<int>::~SuffixNode()' test_suffix_node.o(.gnu.linkonce.r._ZTVN3cpl9internals10SuffixNodeIiEE+0xc): undefined reference to `cpl::internals::SuffixNode<int>::~SuffixNode()' test_suffix_node.o(.gnu.linkonce.r._ZTVN3cpl9internals10SuffixTreeIiEE+0x8): undefined reference to `cpl::internals::SuffixTree<int>::~SuffixTree()' test_suffix_node.o(.gnu.linkonce.r._ZTVN3cpl9internals10SuffixTreeIiEE+0xc): undefined reference to `cpl::internals::SuffixTree<int>::~SuffixTree()' -- Summary: Template linking error Product: gcc Version: 3.3.5 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: masse_nicolas at yahoo dot fr CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22161