Just notice someone has asked the same question, but no solution is found
in the question thread.
http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2011-June/001420.html

On Tue, Nov 22, 2011 at 8:38 PM, Alex Zhang <[email protected]> wrote:

> This is my error of make if I use the cmake-gui to configure and generate
> firstly.
> --------------------------------------------------------
> xxx@ubuntu:~/build$ sudo make
> [sudo] password for xxx:
> Sorry, try again.
> [sudo] password for xxx:
> [  1%] Built target volk
> [  1%] Built target test_all
> [  2%] Built target volk_profile
> Scanning dependencies of target gruel
> [  2%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_accepter.cc.o
> [  2%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_accepter_msgq.cc.o
> [  2%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_queue.cc.o
> [  3%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_unv.cc.o
> [  3%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt.cc.o
> [  3%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_io.cc.o
> [  3%] Building CXX object
> gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_serialize.cc.o
> Linking CXX shared library libgruel-3.5.0rc0.so
> [  3%] Built target gruel
> Scanning dependencies of target test_gruel
> [  3%] Building CXX object
> gruel/src/lib/CMakeFiles/test_gruel.dir/pmt/qa_pmt_unv.cc.o
> [  4%] Building CXX object
> gruel/src/lib/CMakeFiles/test_gruel.dir/pmt/qa_pmt_prims.cc.o
> Linking CXX executable test_gruel
> CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function
> `boost::filesystem3::operator/(boost::filesystem3::path const&,
> boost::filesystem3::path const&)':
> test_gruel.cc:(.text._ZN5boost11filesystem3dvERKNS0_4pathES3_[boost::filesystem3::operator/(boost::filesystem3::path
> const&, boost::filesystem3::path const&)]+0x29): undefined reference to
> `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)'
> CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function `main':
> test_gruel.cc:(.text.startup+0x54): undefined reference to
> `boost::filesystem3::detail::current_path(boost::system::error_code*)'
> test_gruel.cc:(.text.startup+0x9a): undefined reference to
> `boost::filesystem3::detail::status(boost::filesystem3::path const&,
> boost::system::error_code*)'
> test_gruel.cc:(.text.startup+0xb6): undefined reference to
> `boost::filesystem3::detail::create_directory(boost::filesystem3::path
> const&, boost::system::error_code*)'
> CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function
> `_GLOBAL__sub_I_main':
> test_gruel.cc:(.text.startup+0x35c): undefined reference to
> `boost::system::generic_category()'
> test_gruel.cc:(.text.startup+0x366): undefined reference to
> `boost::system::generic_category()'
> test_gruel.cc:(.text.startup+0x370): undefined reference to
> `boost::system::system_category()'
> collect2: ld returned 1 exit status
> make[2]: *** [gruel/src/lib/test_gruel] Error 1
> make[1]: *** [gruel/src/lib/CMakeFiles/test_gruel.dir/all] Error 2
> make: *** [all] Error 2
>
>
> On Tue, Nov 22, 2011 at 8:09 PM, Josh Blum <[email protected]> wrote:
>
>>
>>
>> On 11/22/2011 05:59 PM, Alex Zhang wrote:
>> > I just use the ./bootstrap  and then ./configure and make.
>> > Previously, I used the cmake_gui to configure/generate but then failed
>> to
>> > make due to some not foudn reference to boost files. Even I changed the
>> > parameter of BOOST_ROOT to the directory of my boost directory, it still
>> > fails.
>> >
>>
>> Thats odd. Can you post the verbose?
>>
>> Usually cmake finds boost automatically unless its a "custom" boost
>> install. What OS do you have? Did you install boost from the OS's
>> package manager?
>>
>> Also, I may suggest that you manually set BOOST_LIBRARYDIR and
>> BOOST_INCLUDEDIR
>>
>> -Josh
>>
>
>
>
> --
>
> Alex,
> *Dreams can come true – just believe.*
>
>


-- 

Alex,
*Dreams can come true – just believe.*
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to