net-snmp using RSB

Adit Sahasrabudhe asahasra at fb.com
Wed Jul 22 15:59:20 UTC 2015


One thing I still don¹t understand is that in the link you sent in a
previous email to the patch you put in the repository, snmpd_init() is
shown in there. However, when we grep our net-snmp source that the RSB
uses, it finds nothing. Why this discrepancy?

Adit 

On 7/21/15, 5:06 PM, "users on behalf of Chris Johns"
<users-bounces at rtems.org on behalf of chrisj at rtems.org> wrote:

>On 22/07/2015 4:23 am, Cen Zhao wrote:
>> 
>> I did link to -lnetsnmp, however, there's no snmpd.o included in
>> libnetsnmp.a, 
>
>Ok.
>
>> I checked rtems-source-builder/rtems/sources/net-snmp-5.7.2.1.tar.gz,
>> untar it, there's no snmpd_init defined.
>> Do you know what went wrong?
>
>I suspect the NetSNMP build system does not add snmpd.o to the library.
>This is understandable because on a native build snmpd is an executable
>and does not need to be part of the library.
>
>I will take a look and see what I can do. We can:
>
> 1. Install snmpd.o. I do not like this.
> 2. Update the build system to add in snmpd.o.
> 3. Get the RSB scrip to manually update libnetsnmp.a before
>    running the install phase.
> 4, Other suggestions.
>
>Chris
>_______________________________________________
>users mailing list
>users at rtems.org
>https://urldefense.proofpoint.com/v1/url?u=http://lists.rtems.org/mailman/
>listinfo/users&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=akrirLnAihUFmXpddZqcJw%
>3D%3D%0A&m=LVgpHDoNcUANktv2R3a4xaBJw%2F0AeAdUY%2FkkD04VLX4%3D%0A&s=6450724
>cf5d8935bc171b68014ec8de02a7f668a02e838fad2c8830bee15fa1b




More information about the users mailing list