⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.1st.really

📁 基于linux内核2.6.9的mpls补丁
💻 REALLY
字号:
If you have errors while compiling any of the utilities used by mpls-linux(iproute2, iptable, pppd, quagga) it is most likely due to header fileconfusion.  Most Linux distributions have two copies of the kernel headerfiles, one copy in /usr/include/linux|asm and the other copy in thekernel source (/usr/src/linux/include/linux|asm)  You can choose to "fix"this or work around it."Fix" it--------1. Get a modified version of the kernel header files.  The   glibc-kernheader RPM that I provide for Fedora 2 has the correct   MPLS additions, and is the prefered way to fix your header files.2. Hack your distributions files:   <DISCLAIMER>   This is how I used to setup my environment for compiling.  It may break   your machine.  Don't ask me to fix it.  If you don't know what your doing,   don't do it.     Make sure to read:   linux/Documentation/Changes   linux/README   </DISCLAIMER>   If you're new to compiling non-distrubution kernels (ie you downloaded the   kernel from ftp.kernel.org or the like), most likly your /usr/include/   hierachy is all messed up (not your fault, its the fault   of your distributions ... you're still a good person)   NOTE: 2.4.13 is just an example kernel version, replace it with whatever   version this distribution of mpls-linux supports .... otherwise your on   your own.  Also note that I am a good net-izen and use bzip2 compressed   files if you do not know the correct tar command line for the tarball you   grab, go back and read your UNIX man pages, don't ask me.   cd /usr/src/   mv linux* /tmp   tar -Ixf linux-2.4.13.tar.bz2   mv linux linux-2.4.13   ln -s linux-2.4.13 linux   cd /usr/include   mv linux linux.old   mv asm asm.old   ln -s /usr/src/linux/include/linux   ln -s /usr/src/linux/include/asm3. Work around it   You can choose to work around the header file issues by adding the   path of the kernel source include files to the "CFLAGS" used by the   compiler.  For some it is as simple as setting a environment   variable like this:   setenv CFLAGS "-I /usr/src/linux/include"   For other aplications you will have to modify the Makefile.  Look   for the CFLAGS variable and add "-I /usr/src/linux/include" to the   line.Good luck!

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -