New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure on IRIX #56681
Comments
I'm trying to build Python 2.7.2 on IRIX 6.5.30 and get the attached error in ./Modules/signalmodule.c |
That's because struct timeval is not defined by <sys/time.h> 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 <sys/time.h>
int main(int argc, char *argv[])
{
struct timeval tv;
return 0;
}
""" By the way, is IRIX an officially supported platform? |
./test.c: In function 'main': is what it gives back. |
Ok, what happens if you change, in Modules/signalmodule.c 20 #ifdef HAVE_SYS_TIME_H to 21 #include <sys/time.h> and rebuild Python? |
In file included from ./Modules/signalmodule.c:23: |
You can't include both <unistd.h> and <sys/time.h> on IRIX... A couple suggestions (in this order):
|
I'm closing, since IRIX header files seem terminally broken, and we can't do much about it. |
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. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: