Hey folks,
I'm hoping you all can help me on this one. I'm attempting to install the net-tools 1.60 package. I download the package and the patches need, patch the install, and then run the following (noted below) with the noted error messages. Any help would be appreciated!
Quote:
yes "" | make config &&
sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
-e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &&
sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
-e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make &&
make
rm -f config.h
Configuring the Linux net-tools (NET-3 Base Utilities)...
*
*
* Internationalization
*
* The net-tools package has currently been translated to French,
* German and Brazilian Portugese. Other translations are, of
* course, welcome. Answer `n' here if you have no support for
* internationalization on your system.
*
Does your system support GNU gettext? (I18N) [n] *
*
* Protocol Families.
*
UNIX protocol family (HAVE_AFUNIX) [y] INET (TCP/IP) protocol family (HAVE_AFINET) [y] INET6 (IPv6) protocol family (HAVE_AFINET6) [n] Novell IPX/SPX protocol family (HAVE_AFIPX) [y] Appletalk DDP protocol family (HAVE_AFATALK) [y] AX25 (packet radio) protocol family (HAVE_AFAX25) [y] NET/ROM (packet radio) protocol family (HAVE_AFNETROM) [y] Rose (packet radio) protocol family (HAVE_AFROSE) [n] X.25 (CCITT) protocol family (HAVE_AFX25) [y] Econet protocol family (HAVE_AFECONET) [n] DECnet protocol family (HAVE_AFDECnet) [n] Ash protocol family (HAVE_AFASH) [n] *
*
* Device Hardware types.
*
Ethernet (generic) support (HAVE_HWETHER) [y] ARCnet support (HAVE_HWARC) [y] SLIP (serial line) support (HAVE_HWSLIP) [y] PPP (serial line) support (HAVE_HWPPP) [y] IPIP Tunnel support (HAVE_HWTUNNEL) [y] STRIP (Metricom radio) support (HAVE_HWSTRIP) [y] Token ring (generic) support (HAVE_HWTR) [y] AX25 (packet radio) support (HAVE_HWAX25) [y] Rose (packet radio) support (HAVE_HWROSE) [n] NET/ROM (packet radio) support (HAVE_HWNETROM) [y] X.25 (generic) support (HAVE_HWX25) [y] DLCI/FRAD (frame relay) support (HAVE_HWFR) [y] SIT (IPv6-in-IPv4) support (HAVE_HWSIT) [n] FDDI (generic) support (HAVE_HWFDDI) [n] HIPPI (generic) support (HAVE_HWHIPPI) [n] Ash hardware support (HAVE_HWASH) [n] (Cisco)-HDLC/LAPB support (HAVE_HWHDLCLAPB) [n] IrDA support (HAVE_HWIRDA) [y] Econet hardware support (HAVE_HWEC) [n] *
*
* Other Features.
*
IP Masquerading support (HAVE_FW_MASQUERADE) [n] Build iptunnel and ipmaddr (HAVE_IP_TOOLS) [n] Build mii-tool (HAVE_MII) [n] make[1]: Entering directory `/usr/src/net-tools-1.60/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/net-tools-1.60/man'
make[1]: Entering directory `/usr/src/net-tools-1.60/lib'
Building libnet-tools.a
make[1]: Leaving directory `/usr/src/net-tools-1.60/lib'
make[1]: Entering directory `/usr/src/net-tools-1.60/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/net-tools-1.60/lib'
cc -Llib -o ifconfig ifconfig.o -lnet-tools
cc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/ -Ilib -c -o hostname.o hostname.c
hostname.c: In function `sethname':
hostname.c:108: error: label at end of compound statement
hostname.c:109: warning: implicit declaration of function `exit'
hostname.c: In function `setdname':
hostname.c:127: error: label at end of compound statement
make: *** [hostname.o] Error 1
|
Thanks,
Ben