Cant compile under linux rev 37

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Locked
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am
Contact:

Cant compile under linux rev 37

Post by CrazyMan » Wed Sep 09, 2009 3:31 am

I cant understand this

Code: Select all

pol/module/httpmod.o: In function `stlp_std::priv::_Rb_tree<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> >, ci_cmp_pred, stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > >, stlp_std::priv::_Select1st<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > >, stlp_std::priv::_MapTraitsT<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > >, stlp_std::allocator<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > > >::insert_unique(stlp_std::priv::_Rb_tree_iterator<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > >, stlp_std::priv::_MapTraitsT<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > > >, stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > const&)':
/usr/local/include/stlport/stl/_tree.c:(.data+0x0): multiple definition of `TmplExecutorModule<HttpExecutorModule>::function_table'
pol/polwww.o:/usr/local/include/stlport/stl/_map.h:(.data+0x0): first defined here
pol/module/httpmod.o: In function `stlp_std::priv::_Rb_tree<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> >, ci_cmp_pred, stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > >, stlp_std::priv::_Select1st<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > >, stlp_std::priv::_MapTraitsT<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > >, stlp_std::allocator<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > > >::insert_unique(stlp_std::priv::_Rb_tree_iterator<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > >, stlp_std::priv::_MapTraitsT<stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > > >, stlp_std::pair<stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > const, stlp_std::basic_string<char, stlp_std::char_traits<char>, stlp_std::allocator<char> > > const&)':
/usr/local/include/stlport/stl/_tree.c:(.data+0x30): multiple definition of `TmplExecutorModule<HttpExecutorModule>::function_table_size'
pol/polwww.o:/usr/local/include/stlport/stl/_sstream.c:(.data+0x30): first defined here

But definition of TmplExecutorModule<HttpExecutorModule>::function_table_size in httpmod.h only and #ifndef #enfid used.

Cant compile last SVN version (rev 37)

MuadDib
Former Developer
Posts: 1090
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: Cant compile under linux rev 37

Post by MuadDib » Wed Sep 09, 2009 5:11 am

Fixed in r38

Locked