Menu

#1288 can't build snmpd with NetBSD-specific features

netBSD
closed
agent (1105)
5
2012-11-08
2005-01-05
Ed Ravin
No

I'm unable to build snmpd on NetBSD with the
vmstat_netbsd1 and memory_netbsd1 modules.
There are compile errors in tcpTable.c, and when I fixed
that, there were many other problems.

If I apply the patches from the NetBSD package collection,
in the patches/ directory at:

ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/net/net-snmp/

then I can get a working agent.

Suggest you incorporate the NetBSD package collection
patches wherever possible.

A related problem is that I needed to manually specify to
configure:

--with-mib-modules='host ucd-snmp/memory_netbsd1
ucd-snmp/vmstat_netbsd1'

When it seems to me from my incomplete understanding of
the configure process that those modules should be
included automatically.

Discussion

  • Ed Ravin

    Ed Ravin - 2005-01-07

    Logged In: YES
    user_id=21104

    My builds were done with net-snmp 5.2.1.rc2 and 5.2.rc1

     
  • Niels Baggesen

    Niels Baggesen - 2005-02-10

    Logged In: YES
    user_id=88647

    We try to include such porting patches, unfortunately the
    different OS porters very seldom tells us about what patches
    they have to include.
    Actually we would be very happy to cooperate with the
    porters to make sure that they only have to create such a
    patch once.
    I will try to include the patches but have no easy way to
    test them.

     
  • Dave Shield

    Dave Shield - 2007-03-08

    Logged In: YES
    user_id=88893
    Originator: NO

    I've just checked the current code, and
    all active lines build successfully on
    my NetBSD system, and include the memory
    and vmstat modules automatically.
    The host module is not included by
    default, but should be with the next
    release of the 5.4.x line.

     

Log in to post a comment.