[Openswan Users] How To install xl2tpd on Centos_5.2

shawnlau net17sharplau at 163.com
Wed Apr 8 07:04:27 EDT 2009


Hi all!

 

         As my Email title, How to install xl2tpd_1.2.4.tar.gz on my
centos5.2 system. When I install it , Some errores like below:

 

cc  -o xl2tpd xl2tpd.o pty.o misc.o control.o avp.o call.o network.o
avpsend.o scheduler.o file.o aaa.o md5.o 

cc -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX
-I./linux/include/ -DIP_ALLOCATION -c contrib/pfc.c

contrib/pfc.c:14:18: error: pcap.h: No such file or directory

contrib/pfc.c:15:22: error: pcap-bpf.h: No such file or directory

contrib/pfc.c: In function 'main':

contrib/pfc.c:19: error: 'pcap_t' undeclared (first use in this function)

contrib/pfc.c:19: error: (Each undeclared identifier is reported only once

contrib/pfc.c:19: error: for each function it appears in.)

contrib/pfc.c:19: error: 'pc' undeclared (first use in this function)

contrib/pfc.c:20: error: storage size of 'filter' isn't known

contrib/pfc.c:35: warning: implicit declaration of function 'printf'

contrib/pfc.c:39: warning: implicit declaration of function 'pcap_open_dead'

contrib/pfc.c:39: error: 'DLT_PPP_PPPD' undeclared (first use in this
function)

contrib/pfc.c:40: warning: implicit declaration of function 'pcap_compile'

contrib/pfc.c:43: warning: implicit declaration of function 'bpf_dump'

contrib/pfc.c:48: warning: implicit declaration of function 'pcap_geterr'

contrib/pfc.c:20: warning: unused variable 'filter'

make: *** [pfc] Error 1

 

 

Shawn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20090408/aae03ca3/attachment.html 


More information about the Users mailing list