[mpls-linux-general] [mpls-general] problem with iproute2 setup
Status: Beta
Brought to you by:
jleu
|
From: vittorio_manetti <vit...@li...> - 2005-05-24 13:40:07
|
Hi, I want to install iproute2 for linux-mpls (kernel 2.6.9). I have = done two attempts. First time I have tried to install iproute2-2.6.9-ss04= 0831 later have applied the patch iproute2.diff. This is the error mess= age : #make[1]: Entering directory `/iproute2/misc' #gcc -D_GNU_SO= URCE -O2 -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES = -c -o ss.o ss.c #In file included from /usr/include/asm/byteorder.h:57,= # from ss.c:36: #/usr/include/linux/byteorder/little= _endian.h:43: parse error before "__cpu_to_le64p" #/usr/include/linux/b= yteorder/little_endian.h: In function `__cpu_to_le64p': #/usr/include/l= inux/byteorder/little_endian.h:45: `__le64' undeclared (first use in this= function) #/usr/include/linux/byteorder/little_endian.h:45: (Each unde= clared identifier is reported only once #/usr/include/linux/byteorder/l= ittle_endian.h:45: for each function it appears in.) #/usr/include/linu= x/byteorder/little_endian.h: At top level: #/usr/include/linux/byteorde= r/little_endian.h:47: parse error before '*' token #/usr/include/linux/= byteorder/little_endian.h: In function `__le64_to_cpup': #/usr/include/= linux/byteorder/little_endian.h:49: `p' undeclared (first use in this fun= ction) #/usr/include/linux/byteorder/little_endian.h: At top level: =0D = #/usr/include/linux/byteorder/little_endian.h:51: parse error before "__c= pu_to_le32p" #/usr/include/linux/byteorder/little_endian.h: In function= `__cpu_to_le32p': #/usr/include/linux/byteorder/little_endian.h:53: `_= _le32' undeclared (first use in this function) #/usr/include/linux/byte= order/little_endian.h: At top level: #/usr/include/linux/byteorder/litt= le_endian.h:55: parse error before '*' token #/usr/include/linux/byteor= der/little_endian.h: In function `__le32_to_cpup': #/usr/include/linux/= byteorder/little_endian.h:57: `p' undeclared (first use in this function)= #/usr/include/linux/byteorder/little_endian.h: At top level: #/usr/i= nclude/linux/byteorder/little_endian.h:59: parse error before "__cpu_to_l= e16p" #/usr/include/linux/byteorder/little_endian.h: In function `__cpu= _to_le16p': #/usr/include/linux/byteorder/little_endian.h:61: `__le16' = undeclared (first use in this function) #/usr/include/linux/byteorder/l= ittle_endian.h: At top level: #/usr/include/linux/byteorder/little_endi= an.h:63: parse error before '*' token #/usr/include/linux/byteorder/lit= tle_endian.h: In function `__le16_to_cpup': #/usr/include/linux/byteord= er/little_endian.h:65: `p' undeclared (first use in this function) #/us= r/include/linux/byteorder/little_endian.h: At top level: #/usr/include/= linux/byteorder/little_endian.h:67: parse error before "__cpu_to_be64p" =0D = #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64= p': #/usr/include/linux/byteorder/little_endian.h:69: `__be64' undeclar= ed (first use in this function) #/usr/include/linux/byteorder/little_en= dian.h:69: parse error before "__swab64p" #/usr/include/linux/byteorder= /little_endian.h: At top level: #/usr/include/linux/byteorder/little_en= dian.h:71: parse error before '*' token #/usr/include/linux/byteorder/l= ittle_endian.h: In function `__be64_to_cpup': #/usr/include/linux/byteo= rder/little_endian.h:73: `p' undeclared (first use in this function) #/= usr/include/linux/byteorder/little_endian.h: At top level: #/usr/includ= e/linux/byteorder/little_endian.h:75: parse error before "__cpu_to_be32p"= #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_b= e32p': #/usr/include/linux/byteorder/little_endian.h:77: `__be32' undec= lared (first use in this function) #/usr/include/linux/byteorder/little= _endian.h:77: parse error before "__swab32p" #/usr/include/linux/byteor= der/little_endian.h: At top level: #/usr/include/linux/byteorder/little= _endian.h:79: parse error before '*' token #/usr/include/linux/byteorde= r/little_endian.h: In function `__be32_to_cpup': #/usr/include/linux/by= teorder/little_endian.h:81: `p' undeclared (first use in this function) =0D = #/usr/include/linux/byteorder/little_endian.h: At top level: #/usr/incl= ude/linux/byteorder/little_endian.h:83: parse error before "__cpu_to_be16= p" #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to= _be16p': #/usr/include/linux/byteorder/little_endian.h:85: `__be16' und= eclared (first use in this function) #/usr/include/linux/byteorder/litt= le_endian.h:85: parse error before "__swab16p" #/usr/include/linux/byte= order/little_endian.h: At top level: #/usr/include/linux/byteorder/litt= le_endian.h:87: parse error before '*' token #/usr/include/linux/byteor= der/little_endian.h: In function `__be16_to_cpup': #/usr/include/linux/= byteorder/little_endian.h:89: `p' undeclared (first use in this function)= #In file included from ss.c:37: #/usr/include/linux/tcp.h: At top le= vel: #/usr/include/linux/tcp.h:105: `__be32' undeclared here (not in a = function) #/usr/include/linux/tcp.h:105: enumerator value for `TCP_FLAG= _CWR' not integer constant #/usr/include/linux/tcp.h:106: `__be32' unde= clared here (not in a function) #/usr/include/linux/tcp.h:106: enumerat= or value for `TCP_FLAG_ECE' not integer constant #/usr/include/linux/tc= p.h:107: `__be32' undeclared here (not in a function) #/usr/include/lin= ux/tcp.h:107: enumerator value for `TCP_FLAG_URG' not integer constant =0D = #/usr/include/linux/tcp.h:108: `__be32' undeclared here (not in a functio= n) #/usr/include/linux/tcp.h:108: enumerator value for `TCP_FLAG_ACK' n= ot integer constant #/usr/include/linux/tcp.h:109: `__be32' undeclared = here (not in a function) #/usr/include/linux/tcp.h:109: enumerator valu= e for `TCP_FLAG_PSH' not integer constant #/usr/include/linux/tcp.h:110= : `__be32' undeclared here (not in a function) #/usr/include/linux/tcp.= h:110: enumerator value for `TCP_FLAG_RST' not integer constant #/usr/i= nclude/linux/tcp.h:111: `__be32' undeclared here (not in a function) #/= usr/include/linux/tcp.h:111: enumerator value for `TCP_FLAG_SYN' not inte= ger constant #/usr/include/linux/tcp.h:112: `__be32' undeclared here (n= ot in a function) #/usr/include/linux/tcp.h:112: enumerator value for `= TCP_FLAG_FIN' not integer constant #/usr/include/linux/tcp.h:113: `__be= 32' undeclared here (not in a function) #/usr/include/linux/tcp.h:113: = enumerator value for `TCP_RESERVED_BITS' not integer constant #/usr/inc= lude/linux/tcp.h:114: `__be32' undeclared here (not in a function) #/us= r/include/linux/tcp.h:115: enumerator value for `TCP_DATA_OFFSET' not int= eger constant #make[1]: *** [ss.o] Error 1 #make[1]: Leaving director= y `/iproute2/misc' #make: *** [all] Error 2 I have subsequently tr= ied to install the package iproute-2.6.9-3mpls1_946.i386.rpm, but the fol= lowing error message appears : #file /etc/iproute2/rt_realms from = install of iproute-2.6.9-3mpls1_946 conflicts with file from package ip= route2-2.4.7-7mdk #file /etc/iproute2/rt_tables from install of iproute= -2.6.9-3mpls1_946 conflicts with file from package iproute2-2.4.7-7mdk = #file /sbin/ifcfg from install of iproute-2.6.9-3mpls1_946 conflicts wi= th file from package iproute2-2.4.7-7mdk #file /sbin/ip from install of= iproute-2.6.9-3mpls1_946 conflicts with file from package iproute2-2.4.7= -7mdk #file /sbin/rtmon from install of iproute-2.6.9-3mpls1_946 confli= cts with file from package iproute2-2.4.7-7mdk #file /sbin/tc from inst= all of iproute-2.6.9-3mpls1_946 conflicts with file from package iproute2= -2.4.7-7mdk I have not been able to uninstall the package iproute2-2= .4.7-7mdk. Can someone help me? Another question: I have correctly= installed quagga-mpls and I have tried to use the commands show in the d= ocument README.quagga; for every command the message always appears is = : command not found Is the problem employed at the wrong versio= n of iproute (2.4.7) ? =0A=0A=0A=0A___________________________________= _________________________=0A6X velocizzare la tua navigazione a 56k? 6X W= eb Accelerator di Libero!=0AScaricalo su INTERNET GRATIS 6X http://www.li= bero.it=0A |