[mpls-linux-general] Problem in compiling mpls-linux1.1
Status: Beta
Brought to you by:
jleu
From: net g. <net...@ho...> - 2002-08-23 09:37:17
|
Hi Jim and All, I am using linux 7.3 with kernel 2.4.18 and 2.4.18-3 To apply patch i used command given in QUICK.START -patch Linux kernel for MPLS for Linux patch -p1 < ../mpls-linux-1.1xx/patches/2.4.x-1.1yy.diff but i didn't find any file with 2.4.x-1.1yy.diff in patch directory but it is present in kernel directory. ( What yy stands in "2.4.x-1.1yy.diff ") finaly i give command on m/c running 2.4.18-3 kernel [root@sagar linux]# patch -p1< ../mpls-linux-1.1/patches/kernel/2.4.18-1.130.dif I get following error ---> route.c:1206: warning: implicit declaration of function `FIB_RES_LSP' route.c:1207: warning: implicit declaration of function `mpls_set_nexthop' 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 _________ so I tried on on m/c running 2.4.18 kernel [root@arjun linux]# patch -p1< ../mpls-linux-1.1/patches/kernel/2.4.18-1.130.diff I get following error--> 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 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 Can anybody tell me among following .diff file which .diff file i have to use and any solution to above errors 2.4.17-1.130.diff 2.4.18-1.130.diff 2.4.18-1.151.diff 2.4.18-1.152.diff Thanks in advance netguy _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |