[ python-Bugs-877973 ] selectmodule won't compile on OS/X 10.3
SourceForge.net
noreply at sourceforge.net
Thu Jan 15 21:48:47 EST 2004
Bugs item #877973, was opened at 2004-01-16 02:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=877973&group_id=5470
Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jean-Pierre Becotte (jpbecotte)
Assigned to: Jack Jansen (jackjansen)
Summary: selectmodule won't compile on OS/X 10.3
Initial Comment:
I've tried many ways.
First, I though the define_xopen_source option in configure
was incorrectly set. But setting it either to 'no' or 'yes' has
no effect. (Well, at configuration time, if it's set to 'yes', then
there's a problem... so I guess the good option is 'no'...
anyway it's not what I wanted to talk about)!!
I've tried on two different machines. I'm using on both OS/X
10.3.2 and tried to make Python 2.3.3.
here's the dump :
building 'select' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-
aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
madd -I. -I/Users/jpb/tmp/Python-2.3.3/./Include -I/Users/
jpb/tmp/Python-2.3.3/./Mac/Include -I/Users/jpb/tmp/
Python-2.3.3/Include -I/Users/jpb/tmp/Python-2.3.3 -c /
Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c -o
build/temp.darwin-7.2.0-Power_Macintosh-2.3/
selectmodule.o
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c: In
function `update_ufd_array':
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:347:
sizeof applied to an incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:355:
invalid use of undefined type `struct pollfd'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:355:
dereferencing pointer to incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:356:
invalid use of undefined type `struct pollfd'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:356:
dereferencing pointer to incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c: In
function `poll_register':
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:374:
`POLLIN' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:374:
(Each undeclared identifier is reported only once
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:374:
for each function it appears in.)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:374:
`POLLPRI' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:374:
`POLLOUT' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c: In
function `poll_poll':
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:482:
warning: implicit declaration of function `poll'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:498:
invalid use of undefined type `struct pollfd'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:498:
dereferencing pointer to incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:507:
invalid use of undefined type `struct pollfd'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:507:
dereferencing pointer to incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:514:
invalid use of undefined type `struct pollfd'
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:514:
dereferencing pointer to incomplete type
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c: In
function `initselect':
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:665:
`POLLIN' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:666:
`POLLPRI' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:667:
`POLLOUT' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:668:
`POLLERR' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:669:
`POLLHUP' undeclared (first use in this function)
/Users/jpb/tmp/Python-2.3.3/Modules/selectmodule.c:670:
`POLLNVAL' undeclared (first use in this function)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=877973&group_id=5470
More information about the Python-bugs-list
mailing list