Hugo Mallinson wrote:
[]
checking value of POLLIN...
checking value of POLLOUT...
checking value of POLLPRI...
checking value of POLLERR...
checking value of POLLHUP...
checking value of POLLNVAL...
configure: error: Could not determine values for POLL* constants
[]
configure:36067: checking value of POLLIN
configure:36377: gcc -o conftest -O3 -funroll-loops -fstrict-aliasing -Wall -no-cpp-precomp -isystem /sw/include -D_POLL_EMUL_H_ conftest.c -lintl -L/sw/lib >&5
conftest.c: In function 'longval':
conftest.c:127: error: 'POLLIN' undeclared (first use in this function)
[]
| #include <sys/poll.h>
|
| long longval () { return POLLIN; }

The only way how I can see this happen is that you have a header file that responds to the call for <sys/poll.h>, but doesn't contain the definition of POLLIN and friends. In /usr/include/sys/poll.h I am seeing

#define POLLIN    0x0001   /* any readable data available */

right at the beginning. On 10.3 it didn't do this when _POLL_EMUL_H_ was defined, as it is here.

Perhaps you have an old sys/poll.h in /usr/local/include/?

--
Martin




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to