[mpls-linux-general] problem compiling mpls-linux-1.170
Status: Beta
Brought to you by:
jleu
From: Sunny E. <mee...@ho...> - 2002-09-14 09:51:44
|
Dear James, When i patch the kernel (linux-2.4.13) with: linux]# patch -p1 < ../mpls-linux-1.1/patches/linux-kernel.diff i get some statements like: Hunk #4 succeded at 2062 (offset -9 lines). Hunk #4 succeded at 2062 (offset -9 lines). patching file net/mpls/Makefile ...... patching file net/mpls/Makefile Hunk #1 FAILED at 577 1 out of 1 Hunk FAILED -- saving rejects to file 'net/netsyms.c.rej' Can u kindly tell me wht these last 2 lines mean. Is the patch applied correctly or not. Further, when i compile the kernel i get the following errors: Linux]# make bzImage mpls_input.c:27:27:linux/if_vlan.h: No such file or directory mpls_input.c:In function 'mpls_dlv': mpls_input.c:48:'ETH_P_8021Q' undeclared(first use in this function) mpls_input.c:48:(Each undeclared identifier is reported only once mpls_input.c:48:for each function it appears in.) mpls_input.c:48:case label does not reduce to an integer constant make[3]:***[mpls_input.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/mpls' make:***[_dir_net]Error 2 Pls tell me whts wrong and how to remove these errors. Thankz. Sunny Emmanuel _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |