Re: [mpls-linux-general] ldp_linux don't work for README.sample
Status: Beta
Brought to you by:
jleu
From: Morvan D. <mo...@so...> - 2002-06-19 20:21:04
|
Hi Jim! I'am using kernel 2.4.12 patched with the last mpls-linux cvs version! I too get ldp-portable today from cvs. About zebra I'm using an cvs version from 26/mai/2002, because the today version on zebra cvs show erros applying the ldp-portable/zebra-ldp.diff patch. I try your suggestion (include in CFLAGS) but zebra compilation show other errors (as bellow): make[2]: Leaving directory `/usr/src/zebra/ospfd' Making all in mplsd make[2]: Entering directory `/usr/src/zebra/mplsd' gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I.. -I.. -I../lib -I/usr/src/linux/include/linux -g -O2 -Wall -c impl_fib.c In file included from /usr/include/bits/types.h:143, from /usr/include/stdio.h:35, from ../lib/zebra.h:34, from ../mplsd/impl_socket.h:4, from ../mplsd/ldp_handle_type.h:13, from ../mplsd/ldp_struct.h:277, from ../mplsd/ldp.h:4, from impl_fib.c:1: /usr/include/bits/pthreadtypes.h:48: parse error before `size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or storage class /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or storage class In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:30, from /usr/include/stdio.h:64, from ../lib/zebra.h:34, from ../mplsd/impl_socket.h:4, from ../mplsd/ldp_handle_type.h:13, from ../mplsd/ldp_struct.h:277, from ../mplsd/ldp.h:4, from impl_fib.c:1: /usr/include/gconv.h:71: parse error before `size_t' /usr/include/gconv.h:84: parse error before `size_t' /usr/include/gconv.h:93: parse error before `size_t' /usr/include/gconv.h:169: parse error before `size_t' /usr/include/gconv.h:169: warning: no semicolon at end of struct or union /usr/include/gconv.h:172: parse error before `}' /usr/include/gconv.h:172: warning: data definition has no type or storage class In file included from /usr/include/libio.h:30, from /usr/include/stdio.h:64, from ../lib/zebra.h:34, from ../mplsd/impl_socket.h:4, from ../mplsd/ldp_handle_type.h:13, from ../mplsd/ldp_struct.h:277, from ../mplsd/ldp.h:4, from impl_fib.c:1: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out make[2]: *** [impl_fib.o] Error 1 make[2]: Leaving directory `/usr/src/zebra/mplsd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zebra' make: *** [all-recursive-am] Error 2 cheers, Morvan. At 01:11 19/06/2002 -0500, you wrote: >It is looking for the kernel header file <linux/mpls.h> which is located >in /usr/src/linux/include/linux. Try adding -I /usr/src/linux/include/linux >to the CFLAGs (where /usr/src/linux is where your patched version of the >kernel resides). > >Jim > |