[Home]

Summary:ASTERISK-14289: Build of 1.6.0.10 fails on Darwin
Reporter:John Covert (jcovert)Labels:
Date Opened:2009-06-09 07:15:47Date Closed:2009-06-09 13:12:39
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Portability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:(This is actually 1.6.0.10, but that cannot be selected yet above; selected below).

I reported this for 1.6.0.9, and it was closed immediately as fixed in 1.6.0.10, but that appears to not be the case:

  [CC] hashtest2.c -> hashtest2.o
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:90:1: warning: "POLLIN" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:62:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:91:1: warning: "POLLPRI" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:63:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:92:1: warning: "POLLOUT" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:64:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:93:1: warning: "POLLERR" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:83:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:94:1: warning: "POLLHUP" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:84:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:95:1: warning: "POLLNVAL" redefined
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/compat.h:71,
                from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk.h:27,
                from hashtest2.c:31:
/usr/include/sys/poll.h:85:1: warning: this is the location of the previous definition
In file included from /private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/channel.h:128,
                from hashtest2.c:41:
/private/var/root/asterisk/asterisk-1.6.0.10/include/asterisk/poll-compat.h:97: error: redefinition of 'struct pollfd'
make[1]: *** [hashtest2.o] Error 1
make: *** [utils] Error 2
Comments:By: Russell Bryant (russell) 2009-06-09 13:12:38

1.6.0.11 will have the fix for this