[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile fails on OS X still with new poll()
From: |
Dan Nelson |
Subject: |
Re: Compile fails on OS X still with new poll() |
Date: |
Mon, 10 Mar 2003 16:33:25 -0600 |
User-agent: |
Mutt/1.5.3i |
In the last episode (Mar 10), Tony Shadwick said:
> Ack. I really gotta learn to work from clean source each time you
> give me a change to make. :P
>
> Okay, I deleted everything, pulled down the recently changed files
> from cvs, then added those lines to poll.c. Here's what I'm getting
> now:
>
> config.status: creating config.h
> make all-am
> g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o spamass-milter.o `test -f
> 'spamass-milter.cpp' || echo './'`spamass-milter.cpp
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'poll.c' || echo
> './'`poll.c
> poll.c:20: undefined type, found `fd_set'
> cpp-precomp: warning: errors during smart preprocessing, retrying in basic
> mode
> poll.c:15: warning: `struct pollfd' declared inside parameter list
> poll.c:15: warning: its scope is only this definition or declaration,
> which is probably not what you want
> poll.c: In function `poll':
> poll.c:20: `fd_set' undeclared (first use in this function)
Could you send back the output of this command?
find /usr/include -type f | xargs grep fd_set
fd_set should be defined in sys/select.h or sys/types.h, which poll.c
already includes.
--
Dan Nelson
address@hidden
- How to use the -r option, wishlist, Jeff Powell, 2003/03/08
- Re: How to use the -r option, wishlist, Nigel Horne, 2003/03/08
- Compile fails on OS X still with new poll(), Tony Shadwick, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Tony Shadwick, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Dan Nelson, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Tony Shadwick, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Tony Shadwick, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Dan Nelson, 2003/03/10
- Re: Compile fails on OS X still with new poll(), Tony Shadwick, 2003/03/10
- Re: Compile fails on OS X still with new poll(),
Dan Nelson <=