Re: [mpls-linux-general] Can't 'make' mplsadm.c
Status: Beta
Brought to you by:
jleu
From: Ajit J. <aj...@ko...> - 2001-10-11 08:30:44
|
make changes in Makefile as give the path where mpls.h and other file are and -DCONFIG_MPLS option. Ajit On Wed, 10 Oct 2001, [ks_c_5601-1987] =B9=AE=C7=D8=C0=BA wrote: > Hi. I'm Hea-Eun Moon. >=20 > My system is > Red hat Linux & kernel 2.4.5 .=20 > I patched mpls-linux 0.993 successively.=20 > =20 > But I cann't make [mplsadm.c]=20 >=20 > Error Message are Below=20 >=20 > I don't know why error occur.=20 >=20 > Please tell me why. >=20 > Thank you advanced.=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > [root@oioi utils]# ls > Makefile mplsadm.c netlink.h rtnetlink.h > README.example netlink.c netlink.o > [root@oioi utils]# make > gcc -g -Wall -c -o mplsadm.o mplsadm.c > mplsadm.c: In function `main': > mplsadm.c:357: `RTM_DELILM' undeclared (first use in this function) > mplsadm.c:357: (Each undeclared identifier is reported only once > mplsadm.c:357: for each function it appears in.) > mplsadm.c:360: `RTM_NEWILM' undeclared (first use in this function) > mplsadm.c:376: `RTM_DELNHLFE' undeclared (first use in this function) > mplsadm.c:379: `RTM_NEWNHLFE' undeclared (first use in this function) > mplsadm.c:413: `RTM_NEWFTN' undeclared (first use in this function) > mplsadm.c:416: `RTM_DELFTN' undeclared (first use in this function) > mplsadm.c:430: `RTM_SETININSTR' undeclared (first use in this function) > mplsadm.c:445: `RTM_SETOUTINSTR' undeclared (first use in this function) > mplsadm.c:481: `RTM_NEWXC' undeclared (first use in this function) > mplsadm.c:484: `RTM_DELXC' undeclared (first use in this function) > make: *** [mplsadm.o] Error 1 >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Moon Hea-Eun BISDN Lab > YeungNam Univ. KOREA > Tel : +82-53-810-2497 > Fax : +82-53-814-5713 > E-mail : may...@ch... >=20 |