Re: [mpls-linux-general] mplsadm error 0.802
Status: Beta
Brought to you by:
jleu
From: Steven V. d. B. <ste...@in...> - 2001-03-06 10:54:51
|
/usr/src/linux-whatever/include/linux is not automaticly in the include path of gcc. Either use a symbolic link from /usr/include/linux to this directory or add a "-I/usr/src/linux-whatever/include" to the Makefile flags in the utils directory Best regards, Steven Wuchieh James Jong wrote: > Hello, > > When compiling mplsadm.c, I get an error: > gcc -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 > > I've checked to make sure the mpls patch is in and scanning the > 2.4.1 source tree I see the files: > include/linux/mpls.h > include/net/mpls.h > include/config/mpls.h > > I've also checked the kernel configuration and to make sure the mpls > option is included. I get the same error on two separate machines. > > Thanks for any help, > James > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > http://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- Steven Van den Berghe ste...@in... Workgroup Broadband-Networks Department Information Technology Ghent University - Belgium Phone: +32 (0)9 267 35 86 | Fax : +32 (0)9 267 35 99 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* "Law of Cybernetic Entomology" There is always one more bug. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |