discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] help on BBN 802.11b code


From: Guanbo Zheng
Subject: Re: [Discuss-gnuradio] help on BBN 802.11b code
Date: Sun, 14 Nov 2010 18:04:14 -0600

thanks~ Tom. It is solved.

Best,
Guanbo

On Thu, Nov 11, 2010 at 9:36 PM, Tom Rondeau <address@hidden> wrote:
On Thu, Nov 11, 2010 at 9:59 PM, Guanbo Zheng <address@hidden> 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



--
Regards,
Guanbo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]