[rbldnsd] [PATCH] fix compile on RH6

jlewis at lewis.org jlewis at lewis.org
Tue Mar 30 08:56:42 MSD 2004


On Tue, 30 Mar 2004, Michael Tokarev wrote:

> It's a bug to have no #include <sys/time.h> because
> sys/select.h requires this header.  But funny enouth,
> the problem does not occur on other systems (including
> pretty.. interesting ones like OSF/1), and the place
> where lack of this #include MAY cause problem is ok.
>
> Having no RH6 handy, I'm awaiting for some more info... ;)

This is from a Red Hat 6.1 system.

[rbldnsd-0.992]# ./configure
configure: rbldnsd 0.992 (7 Mar 2004)
checking for /bin/sh functions support... yes
checking for C compiler... gcc
checking whenever C compiler (gcc) is GNU CC... yes
checking for ranlib... ranlib
checking for stdint.h... yes
checking for socklen_t... yes
checking for libraries needed for connect()... none needed
checking for IPv6... yes
checking for mallinfo()... yes
checking for poll()... yes
checking for vsnprintf()... yes
creating Makefile... ok
creating config.h... ok
all done.
[rbldnsd-0.992]# make

 rbldnsd VERSION="0.992 (7 Mar 2004)"

gcc -Wall -W -O2  -c rbldnsd.c -DVERSION="\"0.992 (7 Mar 2004)\""
rbldnsd.c: In function `do_signalled':
rbldnsd.c:862: storage size of `tv' isn't known
rbldnsd.c:862: warning: unused variable `tv'
make: *** [rbldnsd.o] Error 1

> Namely, what's the error message and why it does not
> complain about rbldnsd_util.c...

Doesn't seem to get that far.

----------------------------------------------------------------------
 Jon Lewis *jlewis at lewis.org*|  I route
 Senior Network Engineer     |  therefore you are
 Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________


More information about the rbldnsd mailing list