linux ppp

RFC: http://mirrors.zju.edu.cn/rfc/ 
         http://www.faqs.org/rfcs/
1.ppp download
https://download.samba.org/pub/ppp/

2.configure and make  //要root执行 
# ./configure --host=arm-linux --prefix=$PWD/out 
#make CC=arm-linux-gcc      //一定要在make 指定交叉编译器不能在./configure命令指定
#make install 

3.problem
(1) /opt/Embedsky/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/tq-linaro-toolchain/bin/../arm-fsl-linux-gnueabi/multi-libs/usr/include/linux/if_pppox.h:85:25: error: field 'pppol2tp' has incomplete type

solve:
 

--- ppp-2.4.5/include/linux/if_pppol2tp.h      2009-11-16 22:26:07.000000000 +0000

+++ ppp-2.4.5/include/linux/if_pppol2tp.h      2010-07-16 22:35:22.000000000 +0100

@@ -32,6 +32,45 @@

      __u16 d

猜你喜欢

转载自blog.csdn.net/fanxianchao_2012/article/details/107658681
ppp