[mpls-linux-general] Compilation errors in mplsadm 0.700
Status: Beta
Brought to you by:
jleu
From: Tom <to...@gm...> - 2001-01-16 12:16:33
|
Hi! I=B4ve got a little problem here in compiling mplsadm 0.700. Compilation of netlink.c works fine, but in mplsadm.c I got a few compiler errors: 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) 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 I hope someone can help me out with this. Thanx a lot. bye, tom |