net-snmp using RSB

Cen Zhao cenzhao at
Tue Jul 21 04:11:45 UTC 2015

Hi Chris,

Thanks for your help, I worked closely with Adit on the same project.

So with the new configure, We were able to compile it. Now we're trying to
figure out how
to use it. Here's a couple of questions:

1. For untaring the files to memory, did you simply create the
file net_snmp_files.tar from /etc/snmpd.conf? That way, when you call
untar, it extracts to /etc/snmpd.conf, and then the agent can use that

2. The sample code from wiki declares a set of init functions and
 int  snmpd_init (rtems_task_priority priority, char* cmdline);

I found out that those init functions are defined in snmp agent source
code, but I couldn't find the definitions of snmpd_init();
Where does this function get defined and how can we hook snmpd (binary
executable) with RTEMS application code ?
Could you explain the building process with more details?

Thank you !


On 7/20/15, 4:41 PM, "users on behalf of Chris Johns"
<users-bounces at on behalf of chrisj at> wrote:

>On 21/07/2015 2:22 am, Adit Sahasrabudhe wrote:
>> So it still seems to be trying to perform a Canadian cross build,
>> of a standard cross build. Here is the output I get:
>> [dev at centos6: rtems]$ ../source-builder/sb-set-builder
>> --prefix=~/development/rtems/4.11/ --host=arm-rtems4.11
>> --rtems-bsp=arm/altcycv_devkit 4.11/net-mgmt/net-snmp
>> RTEMS Source Builder - Set Builder, v4.11.0
>> Build Set: 4.11/net-mgmt/net-snmp
>> config: net-mgmt/net-snmp-
>> error: config error: rtems-bsp.cfg:20: Canadian cross building for BSP
>> not supported.
>> Build FAILED
>> Build Set: Time 0:00:00.003678
>> Build FAILED
>This makes sense because --build, --host and --target are all different.
>The --rtems-bsp sets --target and you are setting --host.
> $ ../source-builder/sb-set-builder --log=log_snmp.txt \
>     --prefix=~/development/rtems/4.11/ \
>     --rtems-bsp=arm/altcycv_devkit 4.11/net-mgmt/net-snmp
>users mailing list
>users at

More information about the users mailing list