bug-guile
[Top][All Lists]
Advanced

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

Re: compiling guile problem


From: Martin Grabmueller
Subject: Re: compiling guile problem
Date: Fri, 25 May 2001 08:57:30 +0200 (MET DST)

> From: address@hidden
> Date: Thu, 24 May 2001 22:24:44 +0900
> 
> I'm having problem while compiling guile under RH Linux7.0 (gcc-2.95.3) from
> guile-1.4.tar.gz distribution.
> 
> PATH=.:/usr/local/jdk1.3/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/op
> t/bin:/usr/X11R6/bin:/home/vcholak/bin:/usr/local/TclPro1.4/linux-ix86/bin
> ./guile-doc-snarf net_db.c -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl  -g -O2
> -Wall -Wmissing-prototypes net_db.c > net_db.x \
> || { rm net_db.x; false; }
> /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/local/guile-1.4/libguile'
> make: *** [all-recursive] Error 1
> address@hidden guile-1.4]# 

This is a known problem on Red Hat 7.x and is fixed in current CVS.

As a workaround, simply comment out line 85 in net_db.c.

Regards,
  'martin



reply via email to

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