On Thu, Nov 11, 2010 at 9:59 PM, Guanbo Zheng <gbzh...@gmail.com> wrote:
> Hi
>
> I tried to install the BBN 802.11b trunk from CGRAN project website, and got
> some problems duing "sudo make", as follows:
> -----------------------
> bbn_tap.cc: In constructor ‘bbn_tap::bbn_tap(std::string, int)’:
> bbn_tap.cc:51: error: ‘memset’ was not declared in this scope
> bbn_tap.cc:53: error: ‘strncpy’ was not declared in this scope
> bbn_tap.cc: In member function ‘int bbn_tap::tap_write(std::string)’:
> bbn_tap.cc:137: warning: format ‘%d’ expects type ‘int’, but argument 3 has
> type ‘size_t’
> bbn_tap.cc:153: warning: format ‘%d’ expects type ‘int’, but argument 3 has
> type ‘size_t’
> bbn_tap.cc:158: warning: ignoring return value of ‘ssize_t write(int, const
> void*, size_t)’, declared with attribute warn_unused_result
> make[4]: *** [bbn_tap.lo] Error 1
> ------------------------
> The errors came from "make". The configure of the code works fine.
>
> My system is:  Ubuntu 9.04 + gnuradio 3.2.2 + USRP2 + XCVR2450.
> I did the installation before, was successfully on USRP2. Not sure what
> happened this time. :(
>
> Many thanks for any advice
>
> --
> Regards,
> Guanbo

Likely an updated version of GCC that's being more picky about include files.

Try including <string.h> in the offending file and recompile.

Tom

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to