Hi all, sorry for my poor english, I'm following this guide to setup an InternetKey on mini2440: http://rndhax.blogspot.com/2010/03/friendlyarm-mini2440-huawei-e160-hsdp... I've compiled and installed the new kernel image with ppp support. The problem is compiling ppp-2.4.5. This is the error: options.c:59:18: error: pcap.h: No such file or directory options.c: In function 'setpassfilter': options.c:1465: error: 'pcap_t' undeclared (first use in this function) options.c:1465: error: (Each undeclared identifier is reported only once options.c:1465: error: for each function it appears in.) options.c:1465: error: 'pc' undeclared (first use in this function) options.c:1468: warning: implicit declaration of function 'pcap_open_dead' options.c:1468: error: 'DLT_PPP' undeclared (first use in this function) options.c:1469: warning: implicit declaration of function 'pcap_compile' options.c:1471: warning: implicit declaration of function 'pcap_geterr' options.c:1474: warning: implicit declaration of function 'pcap_close' options.c: In function 'setactivefilter': options.c:1486: error: 'pcap_t' undeclared (first use in this function) options.c:1486: error: 'pc' undeclared (first use in this function) options.c:1489: error: 'DLT_PPP' undeclared (first use in this function) make[1]: *** [options.o] Error 1 make[1]: Leaving directory `/home/emanuele/mini2440/ppp_user_space/ppp-2.4.5/pppd' make: *** [all] Error 2 My OS is Slackware 13.37 32bit Libpcap and tcpdump is already installed in my system. Where is the problem? Thank you
ppp cross compiling error
Hi, I've copied pcap* files from /usr/include in /home/emanuele/mini2440/ppp-2.4.5/include and now the error is: /usr/src/mini2440/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../. ./../arm-none-linux-gnueabi/bin/ld: cannot find -lpcap collect2: ld returned 1 exit status make[1]: *** [pppd] Error 1 Can you help me?