Opened 11 years ago

Closed 11 years ago

#42266 closed defect (fixed)

loudmouth: error: use of undeclared identifier 'TCP_KEEPIDLE'

Reported by: kibodmitry@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: JadeNB1729@…
Port: loudmouth

Description


Attachments (4)

loudmouth.log (129.5 KB) - added by kibodmitry@… 11 years ago.
loudmouth2.log (86.3 KB) - added by kibodmitry@… 11 years ago.
main.log (59.6 KB) - added by mark@… 11 years ago.
main.2.log (59.7 KB) - added by michal.babka@… 11 years ago.
error: use of undeclared identifier 'TCP_KEEPIDLE'

Download all attachments as: .zip

Change History (12)

Changed 11 years ago by kibodmitry@…

Attachment: loudmouth.log added

comment:1 Changed 11 years ago by kibodmitry@…

Cc: kibodmitry@… added

Cc Me!

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Cc: kibodmitry@… removed
Keywords: loudmouth removed

There is no need to Cc yourself since you are the reporter.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Processing of port loudmouth failedloudmouth: error: use of undeclared identifier 'TCP_KEEPIDLE'

Changed 11 years ago by kibodmitry@…

Attachment: loudmouth2.log added

comment:4 Changed 11 years ago by kibodmitry@…

loudmouth2.log​ - errors log after gmock fixed amarok building cycle

Last edited 11 years ago by kibodmitry@… (previous) (diff)

comment:5 in reply to:  4 Changed 11 years ago by gregor.wakk@…

Replying to kibodmitry@…:

loudmouth2.log​ - errors log after gmock fixed amarok building cycle

I fixed that with extremely dirty hacks: disabled USE_TCP_KEEPALIVES (Linux TCP keepalives: no in configure output as result) and edited lm-sock.c

Changed 11 years ago by mark@…

Attachment: main.log added

comment:6 Changed 11 years ago by mark@…

Same error. Log attached to ticket.

:info:build lm-sock.c:329:37: error: use of undeclared identifier 'TCP_KEEPIDLE'
:info:build         if (setsockopt (sock, IPPROTO_TCP, TCP_KEEPIDLE, &opt, sizeof (opt)) < 0) {

comment:7 Changed 11 years ago by JadeNB1729@…

Cc: JadeNB1729@… added

Cc Me!

Changed 11 years ago by michal.babka@…

Attachment: main.2.log added

error: use of undeclared identifier 'TCP_KEEPIDLE'

comment:8 Changed 11 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

The commit in r119728 should solve this issue, with TCP_KEEPIDLE not defined on 10.9, and several other constants also not defined on earlier versions.

Note: See TracTickets for help on using tickets.