LINUX.ORG.RU

accel-pptp centos 5


0

1

Помогите поставить accel-pptp. Делаю так:

git clone git://accel-pptp.git.sourceforge.net/gitroot/accel-pptp/accel-pptp
cd accel-pptp
mkdir build
cd build
cmake -DBUILD_DRIVER=TRUE -DKDIR=/usr/src/kernels/kernels/2.6.18-274.7.1.el5-x86_64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLOG_PGSQL=FALSE -DSHAPER=FALSE -DRADIUS=TRUE ..
make

Scanning dependencies of target l2tp
[ 78%] Building C object accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c: In function ‘l2tp_con nect’:
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:343: ошибка: storage size of ‘pppox_addr’ isn’t known
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:348: ошибка: ‘PX_PROTO_OL2TP’ undeclared (first use in this function)
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:348: ошибка: (Each undeclared identifier is reported only once
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:348: ошибка: for each function it appears in.)
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:381: ошибка: ‘PPPOL2TP_SO_LNSMODE’ undeclared (first use in this function)
/root/1/accel-pptp/accel-pptpd/ctrl/l2tp/l2tp.c:343: предупреждение: unused variable ‘pppox_addr’
make[2]: *** [accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o] Ошибка 1
make[1]: *** [accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/all] Ошибка 2
make: *** [all] Ошибка 2

Пробывал ставить xl2tpd, l2tp. Результат тот же.

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.