thierry.lartigue | 16 Dec 14:01 2005
Picon

Pb. dynamic_bitset under xlC v6 (Aix)


C for AIX Compiler, Version 6

I compile example1.cpp
(/usr/local/boost/boost_1_33_0/libs/dynamic_bitset/example) and I have
errors :

xlC -o example1 example1.cpp -I/usr/local/boost/boost_1_33_0 -L
/usr/local/boost/boost_1_33_0/lib -lboost_regex-xlc-1_33

ld : 0711-317 ERREUR : Symbole non défini : boost::dynamic_bitset<unsigned
long,std::allocator<unsigned long> >::ulong_width
ld : 0711-317 ERREUR : Symbole non défini : boost::dynamic_bitset<unsigned
long,std::allocator<unsigned long> >::bits_per_block
ld : 0711-345 Pour plus de détails, utilisez
        l'option -bloadmap ou -bnoquiet.

Why?

Thierry L.
Markus Schöpflin | 16 Dec 16:12 2005
Picon

Re: Pb. dynamic_bitset under xlC v6 (Aix)

thierry.lartigue <at> bnf.fr wrote:

> 
> C for AIX Compiler, Version 6
> 
> I compile example1.cpp
> (/usr/local/boost/boost_1_33_0/libs/dynamic_bitset/example) and I have
> errors :
> 
> xlC -o example1 example1.cpp -I/usr/local/boost/boost_1_33_0 -L
> /usr/local/boost/boost_1_33_0/lib -lboost_regex-xlc-1_33
> 
> ld : 0711-317 ERREUR : Symbole non défini : boost::dynamic_bitset<unsigned
> long,std::allocator<unsigned long> >::ulong_width
> ld : 0711-317 ERREUR : Symbole non défini : boost::dynamic_bitset<unsigned
> long,std::allocator<unsigned long> >::bits_per_block
> ld : 0711-345 Pour plus de détails, utilisez
>         l'option -bloadmap ou -bnoquiet.
> 
> Why?

Could you try the following workaround? Just add the code to 
boost/dynamic_bitset/dynamic_bitset.hpp, just after the definition of the 
class dynamic_bitset. Note that you probably may have to play around with 
the syntax a bit, this is from the top of my head and not tested.

#if BOOST_WORKAROUND( __IBMCPP__, <=600 )

template<typename Block, typename Allocator>
dynamic_bitset<Block, Allocator>::block_width_type const
(Continue reading)

thierry.lartigue | 16 Dec 16:38 2005
Picon

Re: Pb. dynamic_bitset under xlC v6 (Aix)


It's OK thank you very much.

Thierry L.

Gmane