|
发表于 2005-12-12 16:57:59
|
显示全部楼层
我交叉编译ppp-2.4.3时出现的一个问题,请教
我在编译ppp-2.4.3时,pppd/sys-linux.c文件提示有重复定义的问题
/usr/local/arm/2.95.3/bin/arm-linux-gcc -O2 -pipe -Wall -g -I/usr/local/arm/2.95.3/include AVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DMAXOCTETS -c -o sys-linux.o sys-linux.c
提示:
In file included from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/signal.h:4,
from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/sched.h:26,
from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/net/route.h:28,
from sys-linux.c:109:
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/signal.h:26: warning: `NSIG' redefined
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/include/signal.h:179: warning: this is the location of the previous definition
/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/asm/signal.h:70: warning: `SIGRTMIN' redefined
等等 问题,但是不交叉编译的时候就没有问题.请教楼主是如何编译PPPD通过的,谢谢 |
|