Thread: [mpls-linux-general] Kernel compilation problem with 2.4.6
Status: Beta
Brought to you by:
jleu
From: Panos K. <pa...@no...> - 2001-07-20 12:01:14
|
Hi to all, I wonder if you could help me with the following problem. I have already downloaded the mpls-linux-0.993.tar.gz image. I applied the patch to my kernel (2.4.6). I activated all the necessary fields through make xconfig and tried to compile the new kernel. I got the following results. mpls_tunnel.c: In function `mpls_tunnel_init_gen': mpls_tunnel.c:252: `ARPHRD_MPLS_TUNNEL' undeclared (first use in this function) mpls_tunnel.c:252: (Each undeclared identifier is reported only once mpls_tunnel.c:252: for each function it appears in.) make[3]: *** [mpls_tunnel.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' make[1]: *** [_subdir_mpls] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.6/net' make: *** [_dir_net] Error 2 Any ideas? Thank you in advance, Panos Kolyvas Network Operations Center National & Kapodistrian University of Athens Athens Greece tel. +30 1 7275610 |
From: Panos K. <pa...@no...> - 2001-07-20 13:47:36
|
Hi Jon, i used gcc version 2.96-85. I have REDHAT 7.1 installed. Thank you for your interest, Panos Kolyvas Network Operations Center National & Kapodistrian University of Athens Athens Greece tel. +30 1 7275610 ----- Original Message ----- From: "Jon Allen Boone" <te...@de...> To: "Panos Kolyvas" <pa...@no...> Cc: "Jon 'tex' Boone" <te...@de...> Sent: Friday, July 20, 2001 3:42 PM Subject: Re: [mpls-linux-general] Kernel compilation problem with 2.4.6 > Panos Kolyvas <pa...@no...> writes: > > > I wonder if you could help me with the following problem. I have > > already downloaded the mpls-linux-0.993.tar.gz image. I applied the > > patch to my kernel (2.4.6). I activated all the necessary fields > > through make xconfig and tried to compile the new kernel. > > Did you use kgcc instead of gcc? > > -jon > -- > ------------------ > Jon Allen Boone > te...@de... > > |
From: James R. L. <jl...@mi...> - 2001-07-20 14:49:47
|
On 2.4.6 the ARPHRD_MPLS_TUNNEL conflicts with an existing value. Search for *.rej in your kernel source and manually add ARPHRD_MPLS_TUNNEL with a differnt value. On Fri, Jul 20, 2001 at 03:01:03PM +0300, Panos Kolyvas wrote: > > Hi to all, > > I wonder if you could help me with the following problem. I have already > downloaded the mpls-linux-0.993.tar.gz image. I applied the patch to my > kernel (2.4.6). I activated all the necessary fields > through make xconfig and tried to compile the new kernel. > > I got the following results. > > mpls_tunnel.c: In function `mpls_tunnel_init_gen': > mpls_tunnel.c:252: `ARPHRD_MPLS_TUNNEL' undeclared (first use in this > function) > mpls_tunnel.c:252: (Each undeclared identifier is reported only once > mpls_tunnel.c:252: for each function it appears in.) > make[3]: *** [mpls_tunnel.o] Error 1 > make[3]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > make[1]: *** [_subdir_mpls] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.6/net' > make: *** [_dir_net] Error 2 > > > Any ideas? > > Thank you in advance, > > Panos Kolyvas > Network Operations Center > National & Kapodistrian University of Athens > Athens > Greece > tel. +30 1 7275610 > > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Dave H. <har...@gr...> - 2001-08-07 18:47:42
|
This works for 2.4.7 also... "James R. Leu" wrote: > On 2.4.6 the ARPHRD_MPLS_TUNNEL conflicts with an existing value. > > Search for *.rej in your kernel source and manually add ARPHRD_MPLS_TUNNEL > with a differnt value. > > On Fri, Jul 20, 2001 at 03:01:03PM +0300, Panos Kolyvas wrote: > > > > Hi to all, > > > > I wonder if you could help me with the following problem. I have already > > downloaded the mpls-linux-0.993.tar.gz image. I applied the patch to my > > kernel (2.4.6). I activated all the necessary fields > > through make xconfig and tried to compile the new kernel. > > > > I got the following results. > > > > mpls_tunnel.c: In function `mpls_tunnel_init_gen': > > mpls_tunnel.c:252: `ARPHRD_MPLS_TUNNEL' undeclared (first use in this > > function) > > mpls_tunnel.c:252: (Each undeclared identifier is reported only once > > mpls_tunnel.c:252: for each function it appears in.) > > make[3]: *** [mpls_tunnel.o] Error 1 > > make[3]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > > make[2]: *** [first_rule] Error 2 > > make[2]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > > make[1]: *** [_subdir_mpls] Error 2 > > make[1]: Leaving directory `/usr/src/linux-2.4.6/net' > > make: *** [_dir_net] Error 2 > > > > |
From: Dhiman B. <dh...@cs...> - 2001-08-07 21:50:05
|
Hi, Even I had to fix it that way. But I don't know how to make label switching works. Every time I used commands for port switching, I got "No buffer available." -dhiman Dave Hartzell claims the following: > This works for 2.4.7 also... > > "James R. Leu" wrote: > > > On 2.4.6 the ARPHRD_MPLS_TUNNEL conflicts with an existing value. > > > > Search for *.rej in your kernel source and manually add ARPHRD_MPLS_TUNNEL > > with a differnt value. > > > > On Fri, Jul 20, 2001 at 03:01:03PM +0300, Panos Kolyvas wrote: > > > > > > Hi to all, > > > > > > I wonder if you could help me with the following problem. I have already > > > downloaded the mpls-linux-0.993.tar.gz image. I applied the patch to my > > > kernel (2.4.6). I activated all the necessary fields > > > through make xconfig and tried to compile the new kernel. > > > > > > I got the following results. > > > > > > mpls_tunnel.c: In function `mpls_tunnel_init_gen': > > > mpls_tunnel.c:252: `ARPHRD_MPLS_TUNNEL' undeclared (first use in this > > > function) > > > mpls_tunnel.c:252: (Each undeclared identifier is reported only once > > > mpls_tunnel.c:252: for each function it appears in.) > > > make[3]: *** [mpls_tunnel.o] Error 1 > > > make[3]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > > > make[2]: *** [first_rule] Error 2 > > > make[2]: Leaving directory `/usr/src/linux-2.4.6/net/mpls' > > > make[1]: *** [_subdir_mpls] Error 2 > > > make[1]: Leaving directory `/usr/src/linux-2.4.6/net' > > > make: *** [_dir_net] Error 2 > > > > > > > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- Aleph-null bottles of beer on the wall, Aleph-null bottles of beer, You take one down, and pass it around, Aleph-null bottles of beer on the wall. |