IPRoute2 (IP) compile help..?

IPRoute2 (IP) compile help..?

Post by Scott Davi » Wed, 05 Apr 2000 04:00:00

I'm running a generic RedHat 6.0 install (2.2.5).  I am very interesting
in using Linux as a NAT device, for a temporary project that I have at
work.  I cannot for all my little brain's worth though, figure out how
to compile the source code for the IP utility.  I've upgraded my libc to
v. 2.1.3 (I think, via a redhat RPM) and still have compile errors.
Here's what I do:

make clean
make ip

Results in:

 ~ ip.c ~ - seems ok
~ ipaddress.c ~ - seems ok
~ iproute.c -o iproute.o
in file included from iproute.c:30:
rt_names.h:12: parse error before '*'
rt_names.h:13: parse error before '*'
make: *** [iproute.o] Error 1

I know little about C, but I know that rt_names.h is a library (?) -
which seems to have some syntax errors.  Any hints about what libs might
be out of date, if I'm missing kernel functionality and need to
recompile it, or if I just should step the heck back and find a good
friend that can do this for me would be greatly appreciated..  <grin>

.. Help..?



1. iproute2 ip tool does not bring up my eth0

Hi all,

I'm having problems getting my eth0 (lo) up when using the ip tool (see below).
Any idea what this can be?



eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          RX packets:316 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29111 (28.4 Kb)  TX bytes:840 (840.0 b)
          Interrupt:11 Base address:0x4000

!!!Deficit 152, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 156, rta_len=0
!!!Deficit 160, rta_len=0
Cannot find device "eth0"

PING ( from : 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=128 time=0.324 ms
64 bytes from icmp_seq=2 ttl=128 time=0.190 ms
64 bytes from icmp_seq=3 ttl=128 time=0.194 ms
64 bytes from icmp_seq=4 ttl=128 time=0.187 ms
64 bytes from icmp_seq=5 ttl=128 time=0.181 ms
64 bytes from icmp_seq=6 ttl=128 time=0.190 ms
64 bytes from icmp_seq=7 ttl=128 time=0.188 ms
64 bytes from icmp_seq=8 ttl=128 time=0.185 ms

--- ping statistics ---
8 packets transmitted, 8 received, 0% loss, time 7007ms
rtt min/avg/max/mdev = 0.181/0.204/0.324/0.048 ms

eth0      Link encap:Ethernet  HWaddr 00:30:1B:07:42:33  
          inet addr:  Bcast:  Mask:
          RX packets:325 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:29955 (29.2 Kb)  TX bytes:1864 (1.8 Kb)
          Interrupt:11 Base address:0x4000

2. --Dereferencing point to incomplete type

3. iproute2 compile errors

4. How does WIN95 affect LINUX?

5. Problems compiling iproute2 package

6. Real minimum install size for OpenBSD

7. iproute2 does not compile with kernel headers > 2.4.2 here

8. ADSL Problem Can some body help me in this problem


10. Compiling IPROUTE2

11. IP tunneling with iproute2 and kernel 2.2.1

12. Compiling iproute2(w/HTB patch) for 2.5.51

13. iproute2 and ip tunneling problem