[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 21:02:23 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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 21:02 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

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

---------------------------------------------------------------------- 
 (0102151) svnbot (reporter) - 2009-03-24 21:02
 http://bugs.digium.com/view.php?id=14714#c102151 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 184150

_U  branches/1.6.2/
U   branches/1.6.2/include/asterisk/compat.h
U   branches/1.6.2/utils/Makefile

------------------------------------------------------------------------
r184150 | russell | 2009-03-24 21:02:22 -0500 (Tue, 24 Mar 2009) | 12
lines

Merged revisions 184147 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r184147 | russell | 2009-03-24 20:42:10 -0500 (Tue, 24 Mar 2009) | 5
lines
  
  Fix build issues on Mac OSX.
  
  (closes issue http://bugs.digium.com/view.php?id=14714)
  Reported by: ygor
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-24 21:02 svnbot         Checkin                                      
2009-03-24 21:02 svnbot         Note Added: 0102151                          
======================================================================




More information about the asterisk-bugs mailing list