Opened 6 months ago

Closed 6 months ago

#69634 closed defect (fixed)

libimobiledevice-glue @1.2.0: error: use of undeclared identifier 'TCP_KEEPINTVL'

Reported by: barracuda156 Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: mountainlion, lion, snowleopard, leopard, tiger Cc:
Port: libimobiledevice-glue

Description

/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

Change History (3)

comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: libimobiledevice-glue fails on 10.8 and earlier: error: use of undeclared identifier 'TCP_KEEPINTVL'libimobiledevice-glue @1.2.0: error: use of undeclared identifier 'TCP_KEEPINTVL'

comment:3 Changed 6 months ago by i0ntempest

Resolution: fixed
Status: assignedclosed

In f7eff895587b338292a64559ff2881635d6d0874/macports-ports (master):

libimobiledevice-glue: stealth upgrade

Closes: #69634
Closes: #69633

Note: See TracTickets for help on using tickets.