[MacPorts] #62262: nagios-plugins @2.3.3: error: implicit declaration of function 'min_state' is invalid in C99 (was: nagios-plugins install broken on Big Sur)
MacPorts
noreply at macports.org
Fri Feb 12 08:11:15 UTC 2021
#62262: nagios-plugins @2.3.3: error: implicit declaration of function 'min_state'
is invalid in C99
-----------------------------+-----------------------------
Reporter: MichalMMac | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: fixed | Keywords: bigsur catalina
Port: nagios-plugins |
-----------------------------+-----------------------------
Changes (by ryandesign):
* status: accepted => closed
* resolution: => fixed
Comment:
Your config.log shows the error was:
{{{
configure:3628: checking whether the C compiler works
configure:3650: /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
x86_64 conftest.c >&5
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.1'
}}}
I believe we had figured out elsewhere that you will see this error when
using a version of Xcode and/or the command line tools that is too old. So
we'll call this fixed, and you should update your Xcode and/or CLT to
versions that are compatible with the version of macOS you run.
--
Ticket URL: <https://trac.macports.org/ticket/62262#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list