LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2003, 04:05 PM   #1
jplev22
Member
 
Registered: Dec 2003
Location: New Brunswick, Canada
Distribution: Debian 10 Buster
Posts: 85

Rep: Reputation: 16
Question 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.
 
Old 03-22-2004, 08:44 AM   #2
dayjah
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
You need to install libpcap

on debian something like;

apt-get install libpcap-dev

will do the trick

Thanks,

Michael Ossareh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ppp/pppd Installation for arm-linux ngmlinux Linux - Laptop and Netbook 3 05-28-2009 12:33 PM
CVS Installation messed up shaheen Linux - Software 3 09-28-2005 01:31 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 07:13 PM
Can't compile ppp CVS on mandrake 9.2 jplev22 Linux - Software 0 12-09-2003 07:42 PM
cvs-installation with gssapi grubjo Linux - General 0 03-21-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration