Build broken?

Russ Allbery rra at
Thu Jul 20 00:04:33 UTC 2000

Javier Henderson <javier at KJSL.COM> writes:

> Just now finished cvsuping my tree, then:

>> make
> cd lib       && make all
> gcc -g -O2 -I../include   -c inet_ntoa.c
> In file included from inet_ntoa.c:17:

BTW, I'm curious on this.  Why did the system try to build inet_ntoa?
Does FreeBSD not have a working version, or is there something wrong with
the configure test?

configure tries to compile and run the following program:

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
# include <string.h>

main ()
  struct in_addr in;
  in.s_addr = 0x7f000000;
  exit (!strcmp (inet_ntoa (in), "") ? 0 : 1);

and won't build inet_ntoa if it exits with status 0.  Are there other
header inclusion order problems here?

Russ Allbery (rra at             <>

More information about the inn-workers mailing list