[asterisk-bugs] [Asterisk 0014714]: Compilation Errors on Mac OS X 1.5.6 - Asterisk 1.6.2.0-beta1 ( also confirmed on trunk )

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 24 20:42:12 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14714 
====================================================================== 
Reported By:                ygor
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14714
Category:                   Core/Portability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.2.0-beta1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 183560 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-21 05:36 CDT
Last Modified:              2009-03-24 20:42 CDT
====================================================================== 
Summary:                    Compilation Errors on Mac OS X 1.5.6 - Asterisk
1.6.2.0-beta1 ( also confirmed on trunk )
Description: 
Asterisk is returning some errors on build time.....

Tryed both with --use-internal-poll and without it, both with
1.6.2.0-beta1 and latest trunk version.
Asterisk 1.6.0.3 compiles normally.

Here is the output of make:

ymac:asterisk-1.6.2.0-beta1 yg$ sudo make
Password:
menuselect/menuselect --check-deps menuselect.makeopts  
Generating embedded module rules ...
   [CC] hashtest2.c -> hashtest2.o
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:90:1:
warning: "POLLIN" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:68:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:91:1:
warning: "POLLPRI" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:69:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:92:1:
warning: "POLLOUT" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:70:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:93:1:
warning: "POLLERR" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:89:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:94:1:
warning: "POLLHUP" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:90:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:95:1:
warning: "POLLNVAL" redefined
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/compat.h:71,
                 from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk.h:27,
                 from hashtest2.c:31:
/usr/include/sys/poll.h:91:1: warning: this is the location of the
previous definition
In file included from
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/channel.h:128,
                 from hashtest2.c:41:
/Users/yg/asterisk-1.6.2.0-beta1/include/asterisk/poll-compat.h:97: error:
redefinition of 'struct pollfd'
make[1]: *** [hashtest2.o] Error 1
make: *** [utils] Error 2

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-24 20:42 svnbot         Status                   new => assigned     
2009-03-24 20:42 svnbot         Assigned To               => russell         
2009-03-24 20:42 svnbot         Status                   assigned => resolved
2009-03-24 20:42 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list