Re: [mpls-linux-general] Compilation errors in mplsadm 0.700
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2001-01-16 13:36:32
|
Hello Tom, All of the following errors are about structes and defines that are inclu= ded in the kernel patch. Did you patch the kernel? Beyond just patching it = will need to configure the kernel and turn on the MPLS features before mplsadm will compile cleanly. Jim On Tue, Jan 16, 2001 at 01:14:27PM +0000, Tom wrote: > Hi! >=20 > I=B4ve got a little problem here in compiling mplsadm 0.700. Compilatio= n > of netlink.c works fine, but in mplsadm.c I got a few compiler errors: >=20 > In file included from mplsadm.c:19: > netlink.h:6: warning: `struct mpls_out_label_req' declared inside > parameter list > netlink.h:6: warning: its scope is only this definition or declaration, > which is probably not what you want. > netlink.h:7: warning: `struct mpls_in_label_req' declared inside > parameter list > netlink.h:8: warning: `struct mpls_bind_fec_req' declared inside > parameter list > netlink.h:9: warning: `struct mpls_xconnect_req' declared inside > parameter list > netlink.h:10: warning: `struct mpls_instruction_req' declared inside > parameter list > mplsadm.c: In function `main': > mplsadm.c:538: `RTM_DELILM' undeclared (first use in this function) > mplsadm.c:538: (Each undeclared identifier is reported only once > mplsadm.c:538: for each function it appears in.) > mplsadm.c:538: warning: passing arg 2 of `send_ilm' from incompatible > pointer type > mplsadm.c:541: `RTM_NEWILM' undeclared (first use in this function) > mplsadm.c:541: warning: passing arg 2 of `send_ilm' from incompatible > pointer type > mplsadm.c:557: `RTM_DELNHLFE' undeclared (first use in this function) > mplsadm.c:557: warning: passing arg 2 of `send_nhlfe' from incompatible > pointer type > mplsadm.c:564: `RTM_NEWNHLFE' undeclared (first use in this function) > mplsadm.c:564: warning: passing arg 2 of `send_nhlfe' from incompatible > pointer type > mplsadm.c:598: `RTM_NEWFTN' undeclared (first use in this function) > mplsadm.c:598: warning: passing arg 2 of `send_ftn' from incompatible > pointer type > mplsadm.c:601: `RTM_DELFTN' undeclared (first use in this function) > mplsadm.c:601: warning: passing arg 2 of `send_ftn' from incompatible > pointer type > mplsadm.c:615: `RTM_SETININSTR' undeclared (first use in this function) > mplsadm.c:615: warning: passing arg 2 of `send_instr' from incompatible > pointer type > mplsadm.c:630: `RTM_SETOUTINSTR' undeclared (first use in this function= ) >=20 > mplsadm.c:630: warning: passing arg 2 of `send_instr' from incompatible > pointer type > mplsadm.c:666: `RTM_NEWXC' undeclared (first use in this function) > mplsadm.c:666: warning: passing arg 2 of `send_xc' from incompatible > pointer type > mplsadm.c:669: `RTM_DELXC' undeclared (first use in this function) > mplsadm.c:669: warning: passing arg 2 of `send_xc' from incompatible > pointer type > make: *** [mplsadm.o] Error 1 >=20 > I hope someone can help me out with this. Thanx a lot. >=20 > bye, > tom >=20 >=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |