spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External poll still failing to build.


From: Tony Shadwick
Subject: Re: External poll still failing to build.
Date: Tue, 11 Mar 2003 20:49:37 +0000 (GMT)

[erwin:/Users/numbski] numbski# find /usr/include -type f | xargs egrep
"fd_set"
Binary file /usr/include/libc-gcc3.p matches
/usr/include/php/ext/standard/file.h:PHP_FUNCTION(fd_set);
/usr/include/python2.2/pyport.h:typedef struct fd_set {
/usr/include/python2.2/pyport.h:} fd_set;
/usr/include/rpc/svc.h:extern fd_set svc_fdset;
/usr/include/rpc/svc.h:extern void      svc_getreqset   __P((fd_set *));
/usr/include/sys/types.h:typedef        struct fd_set {
/usr/include/sys/types.h:} fd_set;
Binary file /usr/include/unistd-gcc3.p matches
/usr/include/unistd.h:int        select __P((int, fd_set *, fd_set *,
fd_set *, struct timeval *));


Tony Shadwick
Manager of Internet Services
Strategic Technology Group
314-480-1324

On Tue, 11 Mar 2003, Dan Nelson wrote:

> In the last episode (Mar 11), Tony Shadwick said:
> >
> > 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:17: warning: `struct pollfd' declared inside parameter list
> > poll.c:17: warning: its scope is only this definition or declaration,
> > which is probably not what you want
>
> This error should not happen, because subst_poll.h defines pollfd right
> at the very top, and poll.c includes subst_poll.h.
>
> > poll.c: In function `poll':
> > poll.c:22: `fd_set' undeclared (first use in this function)
>
> Could you send back the output of these command:
>
> find /usr/include -type f | xargs egrep "fd_set"
>
> fd_set should be defined in sys/select.h or sys/types.h, which poll.c
> already includes.
>
>
> --
>       Dan Nelson
>       address@hidden
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]