Hello:
Building Python works fine. Now I am trying to build my own python
module on Solaris 9, but I'm getting the following conflict:
In file included from
/wrk/src/test/tools/local/include/python2.2/Python.h:62,
from elxml.cpp:20:
/wrk/src/test/tools/local/include/python2.2/pyport.h:333: declaration
of C function `int gethostname(cha r*, int)' conflicts with
/usr/include/unistd.h:274: previous declaration `int gethostname(cha r*, long
unsigned int)' here
Did I do something wrong?
Thanks
-John
Building Python works fine. Now I am trying to build my own python
module on Solaris 9, but I'm getting the following conflict:
In file included from
/wrk/src/test/tools/local/include/python2.2/Python.h:62,
from elxml.cpp:20:
/wrk/src/test/tools/local/include/python2.2/pyport.h:333: declaration
of C function `int gethostname(cha r*, int)' conflicts with
/usr/include/unistd.h:274: previous declaration `int gethostname(cha r*, long
unsigned int)' here
Did I do something wrong?
Thanks
-John
Comment