[mpls-linux-general] Patch 2.4.17-1.128.diff and LDP - does it works ?
Status: Beta
Brought to you by:
jleu
From: <eli...@ne...> - 2002-04-20 13:24:43
|
Hi, I didn't manage to compile ldp_portable (from CVS). I added -I/usr/src/linux/include/ -DMPLS_LINUX and removed -Werror from the CFLAGS. Also I see that some definitions are missing from /usr/src/linux/include/linux/rtnetlink.h so I add the following line I found in patch linux-2.4.16-1.108.diff +#ifdef CONFIG_MPLS + +#define RTM_NEWNHLFE (RTM_BASE+32) +#define RTM_DELNHLFE (RTM_BASE+33) +#define RTM_GETNHLFE (RTM_BASE+34) + +#define RTM_NEWILM (RTM_BASE+36) +#define RTM_DELILM (RTM_BASE+37) +#define RTM_GETILM (RTM_BASE+38) + +#define RTM_NEWXC (RTM_BASE+40) +#define RTM_DELXC (RTM_BASE+41) +#define RTM_GETXC (RTM_BASE+42) + +#define RTM_NEWFTN (RTM_BASE+44) +#define RTM_DELFTN (RTM_BASE+45) +#define RTM_GETFTN (RTM_BASE+46) + +#define RTM_SETOUTINSTR (RTM_BASE+48) +#define RTM_GETOUTINSTR (RTM_BASE+49) +#define RTM_SETININSTR (RTM_BASE+50) +#define RTM_GETININSTR (RTM_BASE+51) + +#define RTM_NEWL2CC (RTM_BASE+52) +#define RTM_DELL2CC (RTM_BASE+53) +#define RTM_GETL2CC (RTM_BASE+54) + +#define RTM_MAX (RTM_BASE+55) + +#else + #define RTM_MAX (RTM_BASE+31) + +#endif I am still getting other errors, I probably doing something wrong. Please help. Thanks in advance Eli __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ |