[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem compiling guile 1.4 with glibc2.2.1

From: Robert Schweikert
Subject: problem compiling guile 1.4 with glibc2.2.1
Date: Mon, 19 Feb 2001 20:56:07 -0500

When trying to compile guile-1.4 on a system with glibc2.2.1 I got the
following message:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.. -I./..
-I../libltdl    -g -O2 -Wall -Wmissing-prototypes -c net_db.c
rm -f .libs/net_db.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -O2 -Wall
-Wmissing-prototypes -c net_db.c  -fPIC -DPIC -o .libs/net_db.lo
net_db.c:85: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:69: previous declaration of `inet_aton'
make[1]: *** [net_db.lo] Error 1
make[1]: Leaving directory `/usr/src/guile-1.4/libguile'
make: *** [all-recursive] Error 1
root:/usr/src/guile-1.4# find . -name net_db.c -print

The trouble appears to be the following definition in net_db.c

extern int inet_aton ();

as in "arpa/inet.h" inet_aton is defined as follows:

extern in_addr_t inet_aton (__const char *__cp, struct in_addr *__inp)

After I commented out the line in net_db.c the package compiled and
instlled OK. Of course I have no clue how to test this if what I did
makes sense or works since I don't know how.

If someone could let me know if this change is reasonable I'd appreciate


Robert Schweikert                      MAY THE SOURCE BE WITH YOU
address@hidden                         LINUX

reply via email to

[Prev in Thread] Current Thread [Next in Thread]