作者theanine (theanine)
看板LinuxDev
标题Re: [问题] 用mipsel 编译ppp-2.4.5遇到问题
时间Sat Nov 19 10:11:07 2011
1. 先grep -nr PPP_EAP * 看看是在那个路径.
2. 编译参数加-I. 或 在1中找到的相对路径.
3. ppp-2.4.5下应该有configure这script, 应该可以用
./configure --arch=mipsel-linux-uclibc, 不过mipsel路径必须先加在PATH变数里.
※ 引述《aher2600 (和)》之铭言:
: 小弟安装tool chain 如下
: 安装完後,在ppp-2.4.5目录下执行
: make CC="mipsel-linux-uclibc-gcc -I/mips/uclibc.mips/usr/include -L/mips/uclibc.mips/usr/lib -msoft -float"
: 显示如下的错误讯息
: .
: .
: .
: main.c: In function `get_input':
: main.c:1077: error: `PPP_EAP' undeclared (first use in this function)
: main.c:1077: error: (Each undeclared identifier is reported only once
: main.c:1077: error: for each function it appears in.)
: make[1]: *** [main.o] Error 1
: make[1]: Leaving directory `/pub/share/build/CH/ppp-2.4.5/pppd'
: 所以原始码都没更动过,有版友可以帮忙检视一下问题出在哪边吗
: 多谢!!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 1.169.182.117