IRIX MipsPro compiler chokes on Python.h
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

IRIX MipsPro compiler chokes on Python.h

From: Bram Stolk <bram@geenspam.sara.nl>
Date: Tue May 24 2005 - 13:20:01 CEST

Hi there,

I just built and installed Python-2.4.1 on my Irix machine.
My compiler, the MipsPro compiler, chokes on the Python.h include file,
as demonstrated here:

$ CC -v
MIPSpro Compilers: Version 7.41
$ python -V
Python 2.4.1
$ cat l.cxx
#include <Python.h>

int main()
{
   return 0;
}

$ CC -I $HOME/include/python2.4 l.cxx
cc-1311 CC: ERROR File = /usr/include/sys/time.h, Line = 186
   The indicated linkage specification is incompatible with previous "select"
           (declared at line 479 of "/usr/include/unistd.h").

   static int select(
              ^

1 error detected in the compilation of "l.cxx".

Has anyone experienced the same?
How do I solve this?

Thanks,

   Bram Stolk
Received on Thu Sep 29 16:13:11 2005