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

andrew colin andrew.colin at gmail.com
Wed Apr 8 09:26:27 EDT 2009


The error is because you did not install libpcap which is a
requirement to build xl2tpd.


On Wed, Apr 8, 2009 at 1:04 PM, shawnlau <net17sharplau at 163.com> wrote:
> 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
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
>



-- 
"Dru"
To follow the path, look to the master, follow the master, walk with
the master, see through the master, become the master. (zen)
http://www.topdog.za.net/


More information about the Users mailing list