[issue12472] Build failure on IRIX

2011-08-31 Thread kais58
kais58 added the comment: Apologies for not getting back to you sooner, I discovered some more pressing issues with the machine regarding gcc, I'll try and fix/hack it together as I have found some possible fixes for the headers. -- ___ Python trac

[issue12472] Build failure on IRIX

2011-08-31 Thread Charles-François Natali
Charles-François Natali added the comment: I'm closing, since IRIX header files seem terminally broken, and we can't do much about it. Furthermore, I'm 99% sure IRIX isn't officially supported anymore. -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed __

[issue12472] Build failure on IRIX

2011-07-01 Thread Charles-François Natali
Charles-François Natali added the comment: You can't include both and on IRIX... Nice one! A couple suggestions (in this order): 1) try putting "#include " before "#include "Python.h"" 2) try this: 20 #undef select 21 #include 3) fix the header yourself (remove the static storage class fro

[issue12472] Build failure on IRIX

2011-07-01 Thread kais58
kais58 added the comment: In file included from ./Modules/signalmodule.c:23: /usr/include/sys/time.h:186: error: static declaration of 'select' follows non-static declaration /usr/include/unistd.h:479: error: previous declaration of 'select' was here make: *** [Modules/signalmodule.o] Error 1

[issue12472] Build failure on IRIX

2011-07-01 Thread Charles-François Natali
Charles-François Natali added the comment: Ok, what happens if you change, in Modules/signalmodule.c 20 #ifdef HAVE_SYS_TIME_H 21 #include 22 #endif to 21 #include and rebuild Python? -- ___ Python tracker

[issue12472] Build failure on IRIX

2011-07-01 Thread kais58
kais58 added the comment: ./test.c: In function 'main': ./test.c:5: warning: unused variable 'tv' is what it gives back. -- ___ Python tracker ___ _

[issue12472] Build failure on IRIX

2011-07-01 Thread Charles-François Natali
Charles-François Natali added the comment: That's because struct timeval is not defined by on IRIX, or it doesn't get included in Modules/signalmodule.c. Can you try to compile the following code with the same compiler/options? """ #include int main(int argc, char *argv[]) { struct tim

[issue12472] Build failure on IRIX

2011-07-01 Thread kais58
New submission from kais58 : I'm trying to build Python 2.7.2 on IRIX 6.5.30 and get the attached error in ./Modules/signalmodule.c -- components: None files: error.txt messages: 139609 nosy: kais58 priority: normal severity: normal status: open title: Build failure on IRIX type: compil