Re: [mpls-linux-general] No mpls_* in /proc/net!
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-01-21 18:34:28
|
On Sun, Jan 20, 2002 at 07:56:01PM -0800, lingdong li wrote: > can you clarify the order of these commonds? > if I use FreeBsd,I need not run these commond.Is it? > Thanks for your patience and help.:) cd /usr/include/ mv linux linux.old mv asm asm.old (I'm assuming your kernel source is located in /usr/src/linux) ln -s /usr/src/linux/include/linux ln -s /usr/src/linux/include/asm cd /usr/src/linux/ make menuconfig make dep make vmlinux make modules make modules_install make install reboot > > Best Regard > > Li > --- "James R. Leu" <jl...@mi...> wrote: > > My guess is that you're using a redhat distribution > > and that you've never > > compiled a kernel before. > > > > Use 'make dep vmlinux install' > > If you configured any modules do 'make modules > > modules_install' > > > > On Sun, Jan 20, 2002 at 05:13:39AM -0800, lingdong > > li wrote: > > > Dear Jim, > > > > > > I just find there are no mpls.h and dst.h in > > the > > > /usr/include/net.But both files are included in > > > mpls_*.c in usr/src/net/mpls/,is it a problem? > > > > Becuase your using redhat, your > > /usr/include/linux,asm do not point > > to your kernel source. > > > > cd /usr/include > > mv linux linux.old > > mv asm asm.old > > > > (I'm assuming your kernel source is located in > > /usr/src/linux) > > > > ln -s /usr/src/linux/include/linux > > ln -s /usr/src/linux/include/asm > > > > > I install and compile the mpls-linux-1.0 under > > the > > > instruction of QUICK.START. > > > ************************************* > > > in the /usr/src, > > > tar -zxvf linux-2.5.0.tar.gz > > > then > > > tar -zxvf mpls-1.0*.gz > > > cd linux > > > patch ............. > > > make menuconfig > > > turn on "Prompt for development and/or > > incomplete > > > code/drivers","Kernel/User netlink > > socket","Routing > > > messages","Multi-Protocol Label Switching",and > > some > > > other options. > > > make dep > > > make clean > > > make bzlilo > > > reboot > > > *********************************** > > > But I can not find the mpls_* in /proc/net.Is > > there > > > wrong in some steps? > > > Hoping your help:) > > > > > > Best Wishes > > > > > > Li > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Send FREE video emails in Yahoo! Mail! > > > http://promo.yahoo.com/videomail/ > > > > -- > > James R. Leu > > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ -- James R. Leu |