# Help on BBN 802.11b code

**URL:** <https://www.ruby-forum.com/t/help-on-bbn-802-11b-code/199000>\
**Category:** GNU Radio\
**Created:** [November 12, 2010, 4:09am UTC](https://www.ruby-forum.com/t/help-on-bbn-802-11b-code/199000 "2010-11-12T04:09:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 12, 2010, 4:09am UTC](https://www.ruby-forum.com/t/help-on-bbn-802-11b-code/199000/1 "2010-11-12T04:09:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![guanbo\_z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a5b964/32.png) [@guanbo\_z](https://www.ruby-forum.com/u/guanbo_z)\
**Post date:** [November 12, 2010, 4:38am UTC](https://www.ruby-forum.com/t/help-on-bbn-802-11b-code/199000/2 "2010-11-12T04:38:04Z")

</div>

On Thu, Nov 11, 2010 at 9:59 PM, Guanbo Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> type size\_t  
> 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

---

<div class="post-metadata">

**Author:** ![guanbo\_z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a5b964/32.png) [@guanbo\_z](https://www.ruby-forum.com/u/guanbo_z)\
**Post date:** [November 15, 2010, 1:05am UTC](https://www.ruby-forum.com/t/help-on-bbn-802-11b-code/199000/3 "2010-11-15T01:05:13Z")

</div>

thanks~ Tom. It is solved.

Best,  
Guanbo
