Re: [mpls-linux-general] Problem in compiling mpls-linux1.1
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-08-23 16:14:11
|
Always use the highest numbered patch, in this case: 2.4.18-1.152.diff On Fri, Aug 23, 2002 at 03:06:51PM +0530, net guy wrote: >=20 >=20 > Hi Jim and All, >=20 > I am using linux 7.3 with kernel 2.4.18 and 2.4.18-3 >=20 > To apply patch i used command given in QUICK.START >=20 > -patch Linux kernel for MPLS for Linux >=20 > patch -p1 < ../mpls-linux-1.1xx/patches/2.4.x-1.1yy.diff >=20 > but i didn't find any file with 2.4.x-1.1yy.diff in patch directory but= it =20 > is present in kernel directory. >=20 > ( What yy stands in "2.4.x-1.1yy.diff ") >=20 > finaly i give command on m/c running 2.4.18-3 kernel >=20 > [root@sagar linux]# patch -p1<=20 > ../mpls-linux-1.1/patches/kernel/2.4.18-1.130.dif >=20 > I get following error ---> >=20 > route.c:1206: warning: implicit declaration of function `FIB_RES_LSP' > route.c:1207: warning: implicit declaration of function `mpls_set_nexth= op' > route.c: In function `rt_fill_info': > route.c:2075: `RTA_LSP' undeclared (first use in this function) > route.c:2075: (Each undeclared identifier is reported only once > route.c:2075: for each function it appears in.) > route.c: In function `inet_rtm_getroute': > route.c:2172: `RTA_LSP' undeclared (first use in this function) > make[3]: *** [route.o] Error 1 > make[3]: Leaving directory `/usr/src/linux-2.4.18-3/net/ipv4' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.4.18-3/net/ipv4' > make[1]: *** [_subdir_ipv4] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.18-3/net' > make: *** [_dir_net] Error 2 > _________ >=20 > so I tried on on m/c running 2.4.18 kernel >=20 >=20 > [root@arjun linux]# patch -p1<=20 > ../mpls-linux-1.1/patches/kernel/2.4.18-1.130.diff >=20 > I get following error--> >=20 > mpls_output.c: In function `mpls_output2': > mpls_output.c:207: structure has no member named `tc_index' > mpls_output.c:223: structure has no member named `tc_index' > mpls_output.c:220: warning: `tc' might be used uninitialized in this=20 > function > make[3]: *** [mpls_output.o] Error 1 > make[3]: Leaving directory `/usr/src/linux/net/mpls' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/linux/net/mpls' > make[1]: *** [_subdir_mpls] Error 2 > make[1]: Leaving directory `/usr/src/linux/net' > make: *** [_dir_net] Error 2 >=20 >=20 > Can anybody tell me among following .diff file which .diff file i have = to=20 > use and any solution to above errors >=20 > 2.4.17-1.130.diff 2.4.18-1.130.diff 2.4.18-1.151.diff 2.4.18-1.152.d= iff >=20 >=20 > Thanks in advance >=20 > netguy >=20 >=20 > _________________________________________________________________ > Join the world=92s largest e-mail service with MSN Hotmail.=20 > http://www.hotmail.com >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |