[mpls-linux-general] problem on iprout2 setup
Status: Beta
Brought to you by:
jleu
|
From: T. T. <t_t...@ho...> - 2004-11-09 04:59:56
|
Hello. I have installed kernel 2.6.8 with mpls-linux-1.938 on redhat 8.0, then set up iproute2. But, I can't succeed to set up iproute2. What I did and the error message are as following, and I use iproute2-2.4.7-now-ss020116-try.tar.gz. # cd /usr/include # mv linux linux.bk # ln -s /usr/src/linux/include/linux # mv asm asm.bk # ln -s /usr/src/linux/include/asm # cd /usr/src/mpls-linux/patches/iproute2 # make : : : r/src/mpls-linux/patches/iproute2/mpls' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o mpls.o mpls.c mpls.c: In function `mpls_parse_instr': mpls.c:160: dereferencing pointer to incomplete type mpls.c:161: dereferencing pointer to incomplete type mpls.c: In function `mpls_ilm_modify': mpls.c:227: `AF_MPLS' undeclared (first use in this function) mpls.c:227: (Each undeclared identifier is reported only once mpls.c:227: for each function it appears in.) mpls.c: In function `mpls_nhlfe_modify': mpls.c:284: `AF_MPLS' undeclared (first use in this function) mpls.c: In function `mpls_xc_modify': mpls.c:330: `AF_MPLS' undeclared (first use in this function) mpls.c: In function `mpls_labelspace_modify': mpls.c:387: `AF_MPLS' undeclared (first use in this function) mpls.c: In function `print_address': mpls.c:447: dereferencing pointer to incomplete type mpls.c: In function `mpls_list': mpls.c:844: `PF_MPLS' undeclared (first use in this function) make[1]: *** [mpls.o] Error 1 make[1]: Leaving directory `/usr/src/mpls-linux/patches/iproute2/mpls' make: *** [all] Error 2 I`m looking forward to your reply. |