[Home]

Summary:ASTERISK-13880: res_pktccops does not compile on Darwin (MacOS 10.5)
Reporter:John Todd (jtodd)Labels:
Date Opened:2010-01-11 16:31:42.000-0600Date Closed:2010-03-24 11:44:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Portability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:...
  [CC] res_pktccops.c -> res_pktccops.o
res_pktccops.c: In function 'cops_connect':
res_pktccops.c:681: error: 'SO_SOCKET' undeclared (first use in this function)
res_pktccops.c:681: error: (Each undeclared identifier is reported only once
res_pktccops.c:681: error: for each function it appears in.)
make[1]: *** [res_pktccops.o] Error 1
make: *** [res] Error 2
sh-3.2#

****** ADDITIONAL INFORMATION ******

sh-3.2# uname -a
Darwin zot4.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
sh-3.2#
Comments:By: Digium Subversion (svnbot) 2010-01-11 17:20:31.000-0600

Repository: asterisk
Revision: 239245

U   trunk/res/res_pktccops.c

------------------------------------------------------------------------
r239245 | tilghman | 2010-01-11 17:19:51 -0600 (Mon, 11 Jan 2010) | 3 lines

Socket level option is SOL_SOCKET, not SO_SOCKET.
(issue ASTERISK-13880)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=239245

By: Leif Madsen (lmadsen) 2010-03-24 11:43:59

Fixed by Tilghman's change on the related issue.