Hi,
When i
sudo make
the gnuradio, i get following error :
srp2_impl.cc -fPIC -DPIC -o .libs/usrp2_impl.o
usrp2_impl.cc: In member function ‘void usrp2::usrp2::impl::start_bg()’:
usrp2_impl.cc:340: error: ‘bind’ is not a member of ‘boost’
usrp2_impl.cc: In member function ‘int
usrp2::usrp2::impl::handle_data_packet(const void*, size_t)’:
usrp2_impl.cc:453: warning: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
make[4]: *** [usrp2_impl.lo] Error 1
make[4]: Leaving directory /home/sh/trondeau/usrp2/host/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/sha/trondeau/usrp2/host’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/sha/trondeau/usrp2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/sha/trondeau’
make: *** [all] Error 2
please help.
Cheers
it needs #include<boost/bind.hpp> in that file -Josh
On Wed, Apr 28, 2010 at 01:53, jack william [email protected]
wrote:
usrp2_impl.cc:340: error: ‘bind’ is not a member of ‘boost’
This has been fixed recently in the git repository. It was a missing
header file include.
Johnathan
On Wed, Apr 28, 2010 at 10:50, jack william [email protected]
wrote:
Thanks for your reply, but I am sorry but couldnt understand your answer.
Could you please elaborate that what should I do to fix it.
Just update your source code repository to the latest using ‘git pull’
and recompile.
Johnathan
Hi ,
Thanks for your reply, but I am sorry but couldnt understand your
answer. Could you please elaborate that what should I do to fix it.
Cheers
Hi,
I performed git pull on ofdm,master,HEAD branch. but i am getting
following error when i do sudo make
usrp2_impl.cc: In member function ‘void usrp2::usrp2::impl::start_bg()’:
usrp2_impl.cc:340: error: ‘bind’ is not a member of ‘boost’
usrp2_impl.cc: In member function ‘int
usrp2::usrp2::impl::handle_data_packet(const void*, size_t)’:
usrp2_impl.cc:453: warning: ignoring return value of ‘ssize_t
write(int, const void*, size_t)’, declared with attribute
warn_unused_result
make[4]: *** [usrp2_impl.lo] Error 1
make[4]: Leaving directory `/home/sha/trondeau/usrp2/host/lib’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sha/trondeau/usrp2/host’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sha/trondeau/usrp2’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sha/trondeau’
make: *** [all] Error 2
Please help me
Thanks in advance.
Cheers
Just update your source code repository to the latest using ‘git pull’
and recompile.
Johnathan
On Wed, Apr 28, 2010 at 14:31, jack william [email protected]
wrote:
I performed git pull on ofdm,master,HEAD branch. but i am getting following
error when i do sudo make
Sorry, I put the fix in the wrong place. Try pulling and compiling
again.
BTW, what is your system type? The bug was a missing header file, but
apparently it’s needed on some machines and not others.
Johnathan