LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-08-2005, 11:49 AM   #1
stynhx9000
LQ Newbie
 
Registered: Nov 2005
Location: Boston Area
Distribution: Ubuntu 5.10 Breezy
Posts: 27

Rep: Reputation: 15
problems installing net-tools 1.60


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
 
Old 12-09-2005, 07:06 AM   #2
nbd
Member
 
Registered: Aug 2002
Posts: 41

Rep: Reputation: 15
Since you have ubuntu, why not use the net-tools from ubuntu? Is it not compiled with the options you need?

apt-get install net-tools
 
Old 12-09-2005, 06:17 PM   #3
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Did you install GCC-3.4.3 first?

Either way it sounds like you should:
  1. Make sure you didn't screw up some where.
  2. (If you didn't) Report it as a bug.on BLFS Bugzilla
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
net tools satimis Linux - Software 3 08-21-2005 09:29 AM
net-tools in LFS 6.0? TLV Linux From Scratch 2 10-25-2004 03:55 AM
Net tools azul79 Linux - Networking 0 09-09-2004 10:52 AM
Cannot compile net-tools donbellioni Linux - Software 0 07-22-2004 10:39 AM
Problems installing sarge via net orange400 Debian 1 06-16-2004 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration