Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 15:52:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197763] net-mgmt/net-snmp: compilation fails with
Message-ID:  <bug-197763-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197763

            Bug ID: 197763
           Summary: net-mgmt/net-snmp: compilation fails with
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: aduitsis@gmail.com
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

While trying to compile net-snmp inside a jail, the compilation breaks with the
message:


 ./.libs/libnetsnmpmibs.so: undefined reference to `kd'
 cc: error: linker command failed with exit code 1 (use -v to see invocation)
 *** Error code 1

Unfortunately, --without-kmem-usage does not help. After eliminating mib
modules one by one, I have reached the conclusion that the culprit is mib
module 'ucd-snmp/memory'. Using something like:

 CONFIGURE_ARGS=--with-out-mib-modules="host ucd-snmp/memory"
--without-kmem-usage

makes the compilation succeed. The host mib module has also been known to cause
similar problems with jails for quite some time, also excluded. 

I understand that this is arguably not a problem with the port and should be
reported upstream. However, since this is a jail-only issue related to the
absence of /dev/kmem, maybe at a make config option could be added so that the
user can choose a jail-friendly build.

Thanks,
Athanasios

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer zi@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197763-13>