rp-pppoe kernel-mode ppp CVS installation error
I am currently using rp-pppoe in user-mode to connect to the internet. For some reason it uses allot of cpu power, so I thought I'd configure it un kernel-mode. For doing so, I need to install the ppp CVS package from samba.org. It downloaded fine and I had no problem while running ./configure
But when I run ./make I get the following.
options.c
options.c:58:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:39:18: pcap.h: No such file or directory
In file included from options.c:59:
../include/pcap-int.h:53: error: field `stat' has incomplete type
../include/pcap-int.h:95: error: field `fcode' has incomplete type
../include/pcap-int.h:97: error: `PCAP_ERRBUF_SIZE' undeclared here (not in a function)
../include/pcap-int.h:107: error: syntax error before '*' token
../include/pcap-int.h:108: error: syntax error before '*' token
options.c:125: error: syntax error before "pc"
options.c:125: warning: type defaults to `int' in declaration of `pc'
options.c:125: warning: data definition has no type or storage class
options.c: In function `setpassfilter':
options.c:1442: error: request for member `linktype' in something not a structure or union
options.c:1442: error: `DLT_PPP' undeclared (first use in this function)
options.c:1442: error: (Each undeclared identifier is reported only once
options.c:1442: error: for each function it appears in.)
options.c:1443: error: request for member `snapshot' in something not a structure or union
options.c:1445: warning: implicit declaration of function `pcap_compile'
options.c:1447: warning: implicit declaration of function `pcap_geterr'
options.c: In function `setactivefilter':
options.c:1458: error: request for member `linktype' in something not a structure or union
options.c:1458: error: `DLT_PPP' undeclared (first use in this function)
options.c:1459: error: request for member `snapshot' in something not a structure or union
options.c: At top level:
options.c:123: error: storage size of `pass_filter' isn't known
options.c:124: error: storage size of `active_filter' isn't known
make[1]: *** [options.o] Error 1
make[1]: Leaving directory `/tmp/jp/ppp/pppd'
make: *** [all] Error 2
I really dont know what I should do to install it properly. Any help would be greatly appreciated. Thanks.
Last edited by jplev22; 12-08-2003 at 06:47 PM.
|