Re: [mpls-linux-general] ldp-portable compilation errors
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-04-06 22:22:46
|
Try adding -I /usr/src/linux/include to CFLAGS the Makefile. Jim On Fri, Apr 05, 2002 at 03:09:45AM -0500, eli...@ne... wrote: > Hi all, > > I am started to play with MPLS on linux. > I am using 2.4.17 patched with mpls-linux_1_128.diff. > compilation was OK. > Then tring to compile ldp-portable (CVS version) failed with the > following message: > ldp_netlink.h:16: warning: `struct mpls_bind_fec_req` declared inside parameter list > > Than I removed the -Werror compilation failed again. > ldp_mpls_impl.c: In function `ldp_mpls_outlabel_add': > ldp_mpls_impl.c:47: structure has no member named `sa_family' > ldp_mpls_impl.c:51: `RTM_NEWNHLFE' undeclared (first use in this function) > ldp_mpls_impl.c:51: (Each undeclared identifier is reported only once > ldp_mpls_impl.c:51: for each function it appears in.) > ldp_mpls_impl.c: In function `ldp_mpls_outlabel_del': > ldp_mpls_impl.c:64: structure has no member named `sa_family' > ldp_mpls_impl.c:68: `RTM_DELNHLFE' undeclared (first use in this function) > ldp_mpls_impl.c: In function `ldp_mpls_inlabel_add': > ldp_mpls_impl.c:87: `RTM_NEWILM' undeclared (first use in this function) > ldp_mpls_impl.c: In function `ldp_mpls_inlabel_del': > ldp_mpls_impl.c:101: `RTM_DELILM' undeclared (first use in this function) > ldp_mpls_impl.c: In function `ldp_mpls_in2out_add': > ldp_mpls_impl.c:122: structure has no member named `sa_family' > ldp_mpls_impl.c:132: `RTM_NEWXC' undeclared (first use in this function) > ldp_mpls_impl.c: In function `ldp_mpls_in2out_del': > ldp_mpls_impl.c:154: structure has no member named `sa_family' > ldp_mpls_impl.c:164: `RTM_DELXC' undeclared (first use in this function) > ldp_mpls_impl.c: In function `ldp_mpls_fec2out_add': > ldp_mpls_impl.c:172: storage size of `mbf_req' isn't known > ldp_mpls_impl.c:173: sizeof applied to an incomplete type > ldp_mpls_impl.c:184: `RTM_NEWFTN' undeclared (first use in this function) > ldp_mpls_impl.c:172: warning: unused variable `mbf_req' > ldp_mpls_impl.c: In function `ldp_mpls_fec2out_del': > ldp_mpls_impl.c:192: storage size of `mbf_req' isn't known > ldp_mpls_impl.c:193: sizeof applied to an incomplete type > ldp_mpls_impl.c:201: `RTM_DELFTN' undeclared (first use in this function) > ldp_mpls_impl.c:192: warning: unused variable `mbf_req' > make[1]: *** [ldp_mpls_impl.o] Error 1 > make[1]: Leaving directory `/root/dev/cvs/ldp-portable/linux-port' > > Also is zebra-port is maintained, the files are very old. > > Any help will be appreciated > Thanks, > 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/ > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |