Forums

Linker error while using STL in VXworks 5.4.2

Started by yuva July 14, 2008
Hi,

Am using CCPPC for vxworks 5.4.2 and i am trying to use STL (map).
it compiles properly but throws a linker error 

/vobs/optera/target/h/stl_tree.h:604: undefined reference to
`rb_tree<unsigned int, pair<unsigned int const, cfgCChAsgnmt>,
select1st<pair<unsigned int const, cfgCChAsgnmt> >, less<unsigned int>,
__default_alloc_template<true, 0> >::__erase(__rb_tree_node<pair<unsigned
int const, cfgCChAsgnmt> > *)'

Does anyone know how to fix this.
I have been trying to figure this out for past 4 days.

Any help is very much appreciated.

Thanks,
Yuva


In message <hM6dnbuKd67tGebVnZ2dnUVZ_j-dnZ2d@giganews.com>, "yuva"
<rush2yuva@gmail.com> wrote:

>Hi, > >Am using CCPPC for vxworks 5.4.2 and i am trying to use STL (map). >it compiles properly but throws a linker error
I don't have an answer to your question, but rather a suggestion: have you tried asking over in comp.os.vxworks?