Re: [mpls-linux-general] [mpls-general] problem with iproute2 setup
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-05-24 13:59:30
|
The RPMs are designed for a fedora core 3 installation, not mandrake. The easiest way to get mpls-linux up and running is to use a machine with a fedora core 3 install. I do not know the correct way to go about compiling iproute2 on a mandrake machine. If you must use mandrake I suggest learning how to build a mandrake RPM and applying my patch to the RPM source. On Tue, May 24, 2005 at 03:39:57PM +0200, vittorio_manetti wrote: > Hi,=20 > I want to install iproute2 for linux-mpls (kernel 2.6.9).=20 > I have done two attempts. First time I have tried to install iproute2-2.6= .9-ss040831 later have applied the patch=20 > iproute2.diff. This is the error message :=20 > =20 > #make[1]: Entering directory `/iproute2/misc'=20 > #gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -DRESOLV= E_HOSTNAMES -c -o ss.o ss.c=20 > #In file included from /usr/include/asm/byteorder.h:57,=20 > # from ss.c:36:=20 > #/usr/include/linux/byteorder/little_endian.h:43: parse error before "__c= pu_to_le64p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64= p':=20 > #/usr/include/linux/byteorder/little_endian.h:45: `__le64' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h:45: (Each undeclared identi= fier is reported only once=20 > #/usr/include/linux/byteorder/little_endian.h:45: for each function it ap= pears in.)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:47: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__le64_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:49: `p' undeclared (first u= se in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:51: parse error before "__c= pu_to_le32p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32= p':=20 > #/usr/include/linux/byteorder/little_endian.h:53: `__le32' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:55: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__le32_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:57: `p' undeclared (first u= se in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:59: parse error before "__c= pu_to_le16p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16= p':=20 > #/usr/include/linux/byteorder/little_endian.h:61: `__le16' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:63: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__le16_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:65: `p' undeclared (first u= se in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:67: parse error before "__c= pu_to_be64p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64= p':=20 > #/usr/include/linux/byteorder/little_endian.h:69: `__be64' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h:69: parse error before "__s= wab64p"=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:71: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__be64_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:73: `p' undeclared (first u= se in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:75: parse error before "__c= pu_to_be32p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32= p':=20 > #/usr/include/linux/byteorder/little_endian.h:77: `__be32' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h:77: parse error before "__s= wab32p"=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:79: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__be32_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:81: `p' undeclared (first u= se in this function)=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:83: parse error before "__c= pu_to_be16p"=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16= p':=20 > #/usr/include/linux/byteorder/little_endian.h:85: `__be16' undeclared (fi= rst use in this function)=20 > #/usr/include/linux/byteorder/little_endian.h:85: parse error before "__s= wab16p"=20 > #/usr/include/linux/byteorder/little_endian.h: At top level:=20 > #/usr/include/linux/byteorder/little_endian.h:87: parse error before '*' = token=20 > #/usr/include/linux/byteorder/little_endian.h: In function `__be16_to_cpu= p':=20 > #/usr/include/linux/byteorder/little_endian.h:89: `p' undeclared (first u= se in this function)=20 > #In file included from ss.c:37:=20 > #/usr/include/linux/tcp.h: At top level:=20 > #/usr/include/linux/tcp.h:105: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:105: enumerator value for `TCP_FLAG_CWR' not in= teger constant=20 > #/usr/include/linux/tcp.h:106: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:106: enumerator value for `TCP_FLAG_ECE' not in= teger constant=20 > #/usr/include/linux/tcp.h:107: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:107: enumerator value for `TCP_FLAG_URG' not in= teger constant=20 > #/usr/include/linux/tcp.h:108: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:108: enumerator value for `TCP_FLAG_ACK' not in= teger constant=20 > #/usr/include/linux/tcp.h:109: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:109: enumerator value for `TCP_FLAG_PSH' not in= teger constant=20 > #/usr/include/linux/tcp.h:110: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:110: enumerator value for `TCP_FLAG_RST' not in= teger constant=20 > #/usr/include/linux/tcp.h:111: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:111: enumerator value for `TCP_FLAG_SYN' not in= teger constant=20 > #/usr/include/linux/tcp.h:112: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:112: enumerator value for `TCP_FLAG_FIN' not in= teger constant=20 > #/usr/include/linux/tcp.h:113: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:113: enumerator value for `TCP_RESERVED_BITS' n= ot integer constant=20 > #/usr/include/linux/tcp.h:114: `__be32' undeclared here (not in a functio= n)=20 > #/usr/include/linux/tcp.h:115: enumerator value for `TCP_DATA_OFFSET' not= integer constant=20 > #make[1]: *** [ss.o] Error 1=20 > #make[1]: Leaving directory `/iproute2/misc'=20 > #make: *** [all] Error 2=20 > =20 > I have subsequently tried to install the package iproute-2.6.9-3mpls1_946= .i386.rpm, but the following error=20 > message appears :=20 > =20 > #file /etc/iproute2/rt_realms from install of iproute-2.6.9-3mpls1_946 co= nflicts with file from package=20 > iproute2-2.4.7-7mdk=20 > #file /etc/iproute2/rt_tables from install of iproute-2.6.9-3mpls1_946 co= nflicts with file from package=20 > iproute2-2.4.7-7mdk=20 > #file /sbin/ifcfg from install of iproute-2.6.9-3mpls1_946 conflicts with= file from package iproute2-2.4.7-7mdk=20 > #file /sbin/ip from install of iproute-2.6.9-3mpls1_946 conflicts with fi= le from package iproute2-2.4.7-7mdk=20 > #file /sbin/rtmon from install of iproute-2.6.9-3mpls1_946 conflicts with= file from package iproute2-2.4.7-7mdk=20 > #file /sbin/tc from install of iproute-2.6.9-3mpls1_946 conflicts with fi= le from package iproute2-2.4.7-7mdk=20 > =20 > I have not been able to uninstall the package iproute2-2.4.7-7mdk. Can so= meone help me?=20 > =20 > Another question:=20 > I have correctly installed quagga-mpls and I have tried to use the comman= ds show in the document=20 > README.quagga; for every command the message always appears is :=20 > =20 > command not found=20 > =20 > Is the problem employed at the wrong version of iproute (2.4.7) ?=20 > =20 >=20 >=20 >=20 > ____________________________________________________________ > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! > Scaricalo su INTERNET GRATIS 6X http://www.libero.it >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr______________________= _________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |