[asterisk-bugs] [Asterisk 0014742]: Asterisk make failed: poll-compat.h:97: error: redefinition of ‘struct pollfd’
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Mar 29 00:22:18 CDT 2009
The following issue has been UPDATED.
======================================================================
http://bugs.digium.com/view.php?id=14742
======================================================================
Reported By: macli
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 14742
Category: General
Reproducibility: always
Severity: tweak
Priority: normal
Status: closed
Asterisk Version: 1.6.1.0-rc3
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-03-24 23:43 CDT
Last Modified: 2009-03-29 00:22 CDT
======================================================================
Summary: Asterisk make failed: poll-compat.h:97: error:
redefinition of ‘struct pollfd’
Description:
I am compiling Asterisk asterisk-1.6.1.0-rc3 on Mac OS X 10.5.2 , but the
make failed. I think it might relate to the changes made from
http://reviewboard.digium.com/r/198/, error message below:
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:90:1:
warning: "POLLIN" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:91:1:
warning: "POLLPRI" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:92:1:
warning: "POLLOUT" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:93:1:
warning: "POLLERR" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:94:1:
warning: "POLLHUP" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/poll-compat.h:95:1:
warning: "POLLNVAL" redefined
In file included from
/Users/vincent/asterisk-1.6.1.0-rc3/include/asterisk/compat.h:71,
from
/Users/vincent/asterisk-1.6.1.0-rc3/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/vincent/asterisk-1.6.1.0-rc3/include/asterisk/channel.h:128,
from hashtest2.c:41:
/Users/vincent/asterisk-1.6.1.0-rc3/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-29 00:22 russell Status resolved => closed
======================================================================
More information about the asterisk-bugs
mailing list