Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost-install]update old version to new one by 'bjam install'
From: hongleij (hongleij_at_[hidden])
Date: 2010-10-10 11:19:53


add -I/usr/local/include to your compile command won't solve the problem,it seems thar "bjam install" not fully overwrite the old version files included in /usr/local/include/boost dir.At 2010-10-10£¬"Vladimir Prus" <vladimir_at_[hidden]> wrote:

>hongleij wrote:
>
>> i have install 1.43 version in my system,after use ¡°./bjam install¡± to intall boost1.44,i met the
>> following error.
>>
>>
>>
>> [root_at_localhost gridcast]# g++ -o datetime datetime_tcp_async_server.cpp -lpthread -lboost_system
>> [-L/usr/local/lib
>>
>> datetime_tcp_async_server.cpp:142:2: ¾¯¸æ£ºÎļþδÒÔ¿Õ°×ÐнáÊø
>>
>> /tmp/ccjG0R2d.o: In function `__static_initialization_and_destruction_0(int, int)':
>>
>> datetime_tcp_async_server.cpp:(.text+0x16c): undefined reference to
>> `boost::system::get_system_category()'
>
>....
>
>> the name changed from `boost::system::get_generic_category()' to
>> `boost::system::generic_category()',so it seems if i already have an old version of boost,i need
>> remove it clearly to reinstall the new one by myself.
>
>You might want to add -I/usr/local/include to your compile command, perphaps?
>
>- Volodya
>
>
>
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net