rra at stanford.edu
Thu Jul 20 00:04:33 UTC 2000
Javier Henderson <javier at KJSL.COM> writes:
> Just now finished cvsuping my tree, then:
> 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:
#if STDC_HEADERS || HAVE_STRING_H
# include <string.h>
struct in_addr in;
in.s_addr = 0x7f000000;
exit (!strcmp (inet_ntoa (in), "127.0.0.0") ? 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 stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers