I don't expect this is actually a bug, probably just inexperience Linux
user error...but here's what happens.
Environment:
RedHat 7.1 Server (Compaq 266Mz hardware)
Ximian Gnome Desktop
Both OS and Ximian updated with all patches as of 9/20/2001 via Ximian's
tool
Perl updated to 5.6 with Tk, LWP and libnet modules
Guile-1.4
Bug
1) run configure
2) run make
*** make output
[root@localhost guile-1.4]# make
Making all in ice-9
make[1]: Entering directory `/home/rmorgan/rpms/guile-1.4/ice-9'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rmorgan/rpms/guile-1.4/ice-9'
Making all in qt
make[1]: Entering directory `/home/rmorgan/rpms/guile-1.4/qt'
Making all in md
make[2]: Entering directory `/home/rmorgan/rpms/guile-1.4/qt/md'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rmorgan/rpms/guile-1.4/qt/md'
Making all in time
make[2]: Entering directory `/home/rmorgan/rpms/guile-1.4/qt/time'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rmorgan/rpms/guile-1.4/qt/time'
make[2]: Entering directory `/home/rmorgan/rpms/guile-1.4/qt'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/rmorgan/rpms/guile-1.4/qt'
make[1]: Leaving directory `/home/rmorgan/rpms/guile-1.4/qt'
Making all in libltdl
make[1]: Entering directory `/home/rmorgan/rpms/guile-1.4/libltdl'
make[1]: Leaving directory `/home/rmorgan/rpms/guile-1.4/libltdl'
Making all in libguile
make[1]: Entering directory `/home/rmorgan/rpms/guile-1.4/libguile'
/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:74: previous declaration of `inet_aton'
make[1]: *** [net_db.lo] Error 1
make[1]: Leaving directory `/home/rmorgan/rpms/guile-1.4/libguile'
make: *** [all-recursive] Error 1
end of make output ***
4) /usr/include/arpa/inet.h attached.
Any help is appreciated!
Rod Morgan
[EMAIL PROTECTED]
/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifndef _ARPA_INET_H
#define _ARPA_INET_H1
#include
#include /* To define `struct in_addr'. */
/* Type for length arguments in socket calls. */
#ifndef __socklen_t_defined
typedef __socklen_t socklen_t;
# define __socklen_t_defined
#endif
__BEGIN_DECLS
/* Convert Internet host address from numbers-and-dots notation in CP
into binary data in network byte order. */
extern in_addr_t inet_addr (__const char *__cp) __THROW;
/* Return the local host address part of the Internet address in IN. */
extern in_addr_t inet_lnaof (struct in_addr __in) __THROW;
/* Make Internet host address in network byte order by combining the
network number NET with the local address HOST. */
extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
__THROW;
/* Return network number part of the Internet address IN. */
extern in_addr_t inet_netof (struct in_addr __in) __THROW;
/* Extract the network number in network byte order from the address
in numbers-and-dots natation starting at CP. */
extern in_addr_t inet_network (__const char *__cp) __THROW;
/* Convert Internet number in IN to ASCII representation. The return value
is a pointer to an internal array containing the string. */
extern char *inet_ntoa (struct in_addr __in) __THROW;
/* Convert from presentation format of an Internet number in buffer
starting at CP to the binary network format and store result for
interface type AF in buffer starting at BUF. */
extern int inet_pton (int __af, __const char *__restrict __cp,
void *__restrict __buf) __THROW;
/* Convert a Internet address in binary network format for interface
type AF in buffer starting at CP to presentation form and place
result in buffer of length LEN astarting at BUF. */
extern __const char *inet_ntop (int __af, __const void *