[Bug 275637] net-mgmt/net-snmp: compiler error: error: static declaration of 'ERR_get_error_all' follows non-static declaration

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Dec 2023 14:09:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275637

            Bug ID: 275637
           Summary: net-mgmt/net-snmp: compiler error: error: static
                    declaration of 'ERR_get_error_all' follows non-static
                    declaration
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

Built within a FBSD 14.0-RELENG _jail_, the follwoing error occurs when
compiling port net-mgmt/net-snmp:

[...]
libtool: compile:  cc -I../include -I. -I../snmplib -I/usr/include -O2 -pipe
-I/usr/local/include -I/include -fstack-protector-strong -fno-strict-aliasing
-std=c99 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2
-pipe -I/usr/local/include -I/include -fstack-protector-strong
-fno-strict-aliasing -std=c99 -Ufreebsd14 -Dfreebsd14=freebsd14 -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.36/mach/CORE -c transports/snmpTLSBaseDomain.c  -fPIC
-DPIC -o transports/.libs/snmpTLSBaseDomain.o
transports/snmpTLSBaseDomain.c:59:22: error: static declaration of
'ERR_get_error_all' follows non-static declaration
static unsigned long ERR_get_error_all(const char **file, int *line,

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