[MacPorts] #69634: libimobiledevice-glue fails on 10.8 and earlier: error: use of undeclared identifier 'TCP_KEEPINTVL'
MacPorts
noreply at macports.org
Sun Mar 31 08:08:23 UTC 2024
#69634: libimobiledevice-glue fails on 10.8 and earlier: error: use of undeclared
identifier 'TCP_KEEPINTVL'
-------------------------------------------------+-------------------------
Reporter: barracuda156 | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: mountainlion, lion, snowleopard, | Port:
leopard, tiger | libimobiledevice-glue
-------------------------------------------------+-------------------------
{{{
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -std=gnu11
-DHAVE_CONFIG_H -I. -I.. -I../include -I.. -I/opt/local/include -Wall
-Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith
-Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char
-fvisibility=hidden -Qunused-arguments -pthread -pipe -Os -arch x86_64
-MT nskeyedarchive.lo -MD -MP -MF .deps/nskeyedarchive.Tpo -c -o
nskeyedarchive.lo nskeyedarchive.c
socket.c:1171:35: error: use of undeclared identifier 'TCP_KEEPINTVL'
if (setsockopt(sfd, IPPROTO_TCP, TCP_KEEPINTVL, (void*)&val,
sizeof(int)) == -1) {
^
socket.c:1175:35: error: use of undeclared identifier 'TCP_KEEPCNT'
if (setsockopt(sfd, IPPROTO_TCP, TCP_KEEPCNT, (void*)&val,
sizeof(int)) == -1) {
^
socket.c:1311:35: error: use of undeclared identifier 'TCP_KEEPINTVL'
if (setsockopt(sfd, IPPROTO_TCP, TCP_KEEPINTVL, (void*)&val,
sizeof(int)) == -1) {
^
socket.c:1315:35: error: use of undeclared identifier 'TCP_KEEPCNT'
if (setsockopt(sfd, IPPROTO_TCP, TCP_KEEPCNT, (void*)&val,
sizeof(int)) == -1) {
^
4 errors generated.
make[2]: *** [socket.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/thread.Tpo .deps/thread.Plo
mv -f .deps/utils.Tpo .deps/utils.Plo
}}}
Logs:
https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/169508/steps
/install-port/logs/stdio
https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/194281/steps
/install-port/logs/stdio
--
Ticket URL: <https://trac.macports.org/ticket/69634>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list