[mpls-linux-general] Utility compilation problem
Status: Beta
Brought to you by:
jleu
From: Nanda, D. <DN...@ne...> - 2001-01-23 22:53:09
|
Hi James, I downloaded the latest version of mpls (mpls-linux-0.700.tar.gz ) .I am using Red Hat Linux 7.0 and Kernel 2.4.0 test11 . I patched linux kernel 2.4.0 test 11 with the patch file provided and compiled it . It compiled fine and I am able to boot with the mpls enabled kernel . But while compiling the user space application , the utilities, with the new kernel , I get a compilation error cc -g -Wall -c -o netlink.o netlink.c netlink.c:9:24: linux/mpls.h: No such file or directory make: *** [netlink.o] Error 1 Then I put a copy of "mpls.h" in the local directory and changed the inclusions accordingly in netlink.c and mplsadm.c . The compiler shouted with the following errors .. cc -g -Wall -c -o mplsadm.o mplsadm.c mplsadm.c: In function `main': mplsadm.c:355: `RTM_DELILM' undeclared (first use in this function) mplsadm.c:355: (Each undeclared identifier is reported only once mplsadm.c:355: for each function it appears in.) mplsadm.c:358: `RTM_NEWILM' undeclared (first use in this function) mplsadm.c:374: `RTM_DELNHLFE' undeclared (first use in this function) mplsadm.c:381: `RTM_NEWNHLFE' undeclared (first use in this function) mplsadm.c:415: `RTM_NEWFTN' undeclared (first use in this function) mplsadm.c:418: `RTM_DELFTN' undeclared (first use in this function) mplsadm.c:432: `RTM_SETININSTR' undeclared (first use in this function) mplsadm.c:447: `RTM_SETOUTINSTR' undeclared (first use in this function) mplsadm.c:483: `RTM_NEWXC' undeclared (first use in this function) mplsadm.c:486: `RTM_DELXC' undeclared (first use in this function) make: *** [mplsadm.o] Error 1 Please help. Regards Debasis |