Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2022 09:54:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266481] net-mgmt/net-snmp: PR_SLOWHZ missing in src/main after commit 1922eb3e9c23522ed323d022bac8456bf08b97cf
Message-ID:  <bug-266481-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 266481
           Summary: net-mgmt/net-snmp: PR_SLOWHZ missing in src/main after
                    commit 1922eb3e9c23522ed323d022bac8456bf08b97cf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

Created attachment 236660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236660&action=
=3Dedit
Patch for agent/mibgroup/mibII/tcp.c

This happens on src/main after commit 1922eb3e9c23522ed323d022bac8456bf08b9=
7cf:

libtool: compile:  cc -I../../include -I. -I../../agent -I../../agent/mibgr=
oup
-I../../snmplib -I/usr/include -O2 -pipe -fno-omit-frame-pointer
-I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasi=
ng
-std=3Dc99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 =
-O2
-pipe -fno-omit-frame-pointer -I/usr/local/include -I/include
-fstack-protector-strong -fno-strict-aliasing -std=3Dc99 -Ufreebsd14
-Dfreebsd14=3Dfreebsd14 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -c mibII/tcp.c=20
-fPIC -DPIC -o mibII/.libs/tcp.o
mibII/tcp.c:343:33: error: use of undeclared identifier 'PR_SLOWHZ'
        ret_value =3D TCPTV_MIN / PR_SLOWHZ * 1000;
                                ^
mibII/tcp.c:351:38: error: use of undeclared identifier 'PR_SLOWHZ'
        ret_value =3D TCPTV_REXMTMAX / PR_SLOWHZ * 1000;
                                     ^
2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in
/construction/xports/net-mgmt/net-snmp/work/net-snmp-5.9.1/agent/mibgroup
*** Error code 1

--=20
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-266481-7788>