Hi, When I tried to compile guile-1.4, I got the following error,
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -g -O2 -Wall -Wpointer-arith
-Wmissing-prototypes -c -fPIC -DPIC net_db.c -o .libs/net_db.lo
net_db.c:78: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:74: previous declaration of `inet_aton'
make[1]: *** [net_db.lo] Error 1
make[1]: Leaving directory `/usr/local/src/guile-1.3.4/libguile'
make: *** [all-recursive] Error 1
It turned out that inet_aton() was declared as "in_addr_t" in
/usr/include/arpa/inet.h and "typedef uint32_t in_addr_t;" in
"/usr/include/netinet/in.h".
But in net_db.c, it was declared as "extern int inet_aton();".
I commented out that line and it compiled ok.
Michael
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile