Thread: [mpls-linux-general] Problem with kernel 2.4.9
Status: Beta
Brought to you by:
jleu
From: <sj...@ya...> - 2001-10-08 19:40:40
Attachments:
mpls.txt
|
Hi all, i have succesfully patched my 2.4.9 kernel, with mpls patch 0.993, but when i try make bzImage i get an error on af_inet.c does anyone know anything about ?? I attached the output of make TIA Javi _______________________________________________________________ Nokia Game ha comenzado Haz clic y disfruta de la nueva aventura multimedia de Nokia antes del 3 de noviembre. http://es.promotions.yahoo.com/info/nokiagame.html |
From: <sj...@ya...> - 2001-10-08 22:13:06
|
Hi again, i have manually patched if_arp.h file as olivier tols in a mail but i get new errors when compilling the kernel, im a little bit confused olivier told to add a define line that is ARHDR_MPLS_TUNEL, but looking at the code seems that the entrys hould be ARPHDR_MPLS_TUNEL, i have tried both but errors are still here :-( This time i got this: gcc -D__KERNEL__ -I/usr/src/2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o mpls_tunnel.o mpls_tunnel.c 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/2.4.9/net/mpls' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/2.4.9/net/mpls' make[1]: *** [_subdir_mpls] Error 2 make[1]: Leaving directory `/usr/src/2.4.9/net' make: *** [_dir_net] Error 2 TIA Javier Sanchez Llera sj...@ya... _______________________________________________________________ Nokia Game ha comenzado Haz clic y disfruta de la nueva aventura multimedia de Nokia antes del 3 de noviembre. http://es.promotions.yahoo.com/info/nokiagame.html |
From: James R. L. <jl...@mi...> - 2001-10-09 12:27:54
|
This should be fixed when you straighted out your header files. Jim On Tue, Oct 09, 2001 at 12:13:05AM +0200, Javier sanchez wrote: > > > Hi again, > > i have manually patched if_arp.h file as olivier > tols in a mail but i get new errors when compilling > the kernel, im a little bit confused olivier told to > add a define line that is ARHDR_MPLS_TUNEL, but > looking at the code seems that the entrys hould be > ARPHDR_MPLS_TUNEL, i have tried both but errors are > still here :-( > > This time i got this: > > > gcc -D__KERNEL__ -I/usr/src/2.4.9/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -pipe -mpreferred-stack-boundary=2 -march=i686 -c > -o > > mpls_tunnel.o mpls_tunnel.c > 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/2.4.9/net/mpls' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/2.4.9/net/mpls' > make[1]: *** [_subdir_mpls] Error 2 > make[1]: Leaving directory `/usr/src/2.4.9/net' > make: *** [_dir_net] Error 2 > > TIA > > Javier Sanchez Llera > sj...@ya... > > > > _______________________________________________________________ > Nokia Game ha comenzado > Haz clic y disfruta de la nueva aventura multimedia de Nokia > antes del 3 de noviembre. > http://es.promotions.yahoo.com/info/nokiagame.html > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
From: Javier S. L. <sj...@ya...> - 2001-10-09 13:53:05
|
Thankzs to all for the help, but im rigth now having problems compiling mplsadm util when making make on /utils dir, the compiler is not able to find /linux/mpls.h =BF?=BF? i saw all header files exists on /usr/src/linux/include/linux and tried to use some options when calling make but none of them worked Any ideas ??? TIA again :-) Javier Sanchez Llera sj...@ya... |
From: Ajit J. <aj...@ko...> - 2001-10-11 08:27:52
|
In make file give the path name where mpls.h resids and compile option -DCONFIG_MPLS Ajit On Tue, 9 Oct 2001, Javier Sanchez Llera wrote: >=20 > Thankzs to all for the help, >=20 > but im rigth now having problems compiling mplsadm util > when making make on /utils dir, the compiler is not able to find > /linux/mpls.h =BF?=BF? i saw all header files exists on=20 > /usr/src/linux/include/linux and tried to use some options when=20 > calling make but none of them worked=20 >=20 > Any ideas ???=20 >=20 > TIA again :-) >=20 > Javier Sanchez Llera > sj...@ya... >=20 >=20 >=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general >=20 |
From: James R. L. <jl...@mi...> - 2001-10-09 12:26:59
|
Your header files in /usr/include/{linux.asm} are stale. Do this: cd /usr/include mv linux linux-old mv asm asm-old ln -s /usr/src/linux/include/linux ln -s /usr/src/linux/include/asm Things should compilecleanly for you now. Jim On Mon, Oct 08, 2001 at 09:40:40PM +0200, Javier sanchez wrote: > > > Hi all, > > i have succesfully patched my 2.4.9 kernel, with mpls > patch 0.993, but when i try make bzImage i get > an error on af_inet.c does anyone know anything about > ?? > > I attached the output of make > > TIA > > Javi > > > > _______________________________________________________________ > Nokia Game ha comenzado > Haz clic y disfruta de la nueva aventura multimedia de Nokia > antes del 3 de noviembre. > http://es.promotions.yahoo.com/info/nokiagame.html Content-Description: mpls.txt > gcc -D__KERNEL__ -I/usr/src/2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o af_inet.o af_inet.c > af_inet.c: In function `inet_ioctl': > af_inet.c:941: `SIOCMPLSFIRST' undeclared (first use in this function) > af_inet.c:941: (Each undeclared identifier is reported only once > af_inet.c:941: for each function it appears in.) > af_inet.c:941: `SIOCMPLSLAST' undeclared (first use in this function) > af_inet.c:942: warning: implicit declaration of function `mpls_ioctl' > make[3]: *** [af_inet.o] Error 1 > make[3]: Leaving directory `/usr/src/2.4.9/net/ipv4' > make[2]: *** [first_rule] Error 2 > make[2]: Leaving directory `/usr/src/2.4.9/net/ipv4' > make[1]: *** [_subdir_ipv4] Error 2 > make[1]: Leaving directory `/usr/src/2.4.9/net' > make: *** [_dir_net] Error 2 > joel:/usr/src/linux# -- James R. Leu |