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: Dan Nelson
Subject: Re: External poll still failing to build.
Date: Tue, 11 Mar 2003 13:27:37 -0600
User-agent: Mutt/1.5.3i

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]