It is currently Sat Dec 15, 2018 5:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Problem when install on CentOS 5.4
PostPosted: Wed Apr 13, 2011 7:58 am 

Joined: Wed Apr 13, 2011 7:54 am
Posts: 1
Hi All

openl2tp is pretty good, but there are some errors when I install on centos, please help me, thanks!

Code:
[root@localhost openl2tp-1.8]# make
make -C usl  EXTRA_CFLAGS="  -DL2TP_ASYNC_RPC"
make[1]: Entering directory `/root/openl2tp-1.8/usl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/openl2tp-1.8/usl'
make -C cli  EXTRA_CFLAGS="  -DL2TP_ASYNC_RPC"
make[1]: Entering directory `/root/openl2tp-1.8/cli'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/openl2tp-1.8/cli'
make -C plugins  EXTRA_CFLAGS="  -DL2TP_ASYNC_RPC"
make[1]: Entering directory `/root/openl2tp-1.8/plugins'
gcc -o ppp_unix.so -shared -O -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_unix.c
ppp_unix.c:48:31: warning: linux/if_pppol2tp.h: No such file or directory
ppp_unix.c: In function ‘ppp_unix_socket_connect’:
ppp_unix.c:407: error: variable ‘sax’ has initializer but incomplete type
ppp_unix.c:407: warning: excess elements in struct initializer
ppp_unix.c:407: warning: (near initialization for ‘sax’)
ppp_unix.c:407: error: storage size of ‘sax’ isn’t known
ppp_unix.c:416: error: ‘PX_PROTO_OL2TP’ undeclared (first use in this function)
ppp_unix.c:416: error: (Each undeclared identifier is reported only once
ppp_unix.c:416: error: for each function it appears in.)
ppp_unix.c:407: warning: unused variable ‘sax’
ppp_unix.c: In function ‘ppp_unix_pppd_spawn’:
ppp_unix.c:903: error: ‘PX_PROTO_OL2TP’ undeclared (first use in this function)
ppp_unix.c:967: error: ‘PPPOL2TP_MSG_CONTROL’ undeclared (first use in this function)
ppp_unix.c:970: error: ‘PPPOL2TP_MSG_SEQ’ undeclared (first use in this function)
ppp_unix.c:973: error: ‘PPPOL2TP_MSG_DATA’ undeclared (first use in this function)
ppp_unix.c:976: error: ‘PPPOL2TP_MSG_DEBUG’ undeclared (first use in this function)
ppp_unix.c: In function ‘ppp_unix_session_get_stats’:
ppp_unix.c:1461: error: dereferencing pointer to incomplete type
ppp_unix.c:1462: error: dereferencing pointer to incomplete type
ppp_unix.c:1464: error: ‘PPPIOCGL2TPSTATS’ undeclared (first use in this function)
make[1]: *** [ppp_unix.so] Error 1
make[1]: Leaving directory `/root/openl2tp-1.8/plugins'
make: *** [subdir-plugins] Error 2




Top
 Profile  
 
 Post subject: Re: Problem when install on CentOS 5.4
PostPosted: Sun Jun 05, 2011 12:08 am 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
Your kernel does not seem to have L2TP support.


Top
 Profile  
 
 Post subject: Re: Problem when install on CentOS 5.4
PostPosted: Wed Jun 20, 2012 8:12 pm 

Joined: Wed Jun 20, 2012 7:08 pm
Posts: 2
Thanks. Does that mean I need to install "pppol2tp-kmod"?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group