[issue12472] Build failure on IRIX

Charles-François Natali report at bugs.python.org
Sat Jul 2 01:17:49 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

You can't include both <unistd.h> and <sys/time.h> on IRIX...
Nice one!

A couple suggestions (in this order):
1) try putting "#include <sys/time.h>" before "#include "Python.h""

2) try this:
20 #undef select
21 #include <sys/time.h>

3) fix the header yourself (remove the static storage class from select in <sys/time.h>)

4) complain loudly to your vendor...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12472>
_______________________________________


More information about the Python-bugs-list mailing list