新手入门
- 积分
- 12
- 金钱
- 12
- 注册时间
- 2021-2-24
- 在线时间
- 4 小时
|
make CC=arm-none-linux-gnueabihf-gcc
cd chat; make all
make[1]: 进入目录“/home/work/03_tool/ppp-2.4.5/chat”
arm-none-linux-gnueabihf-gcc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c
arm-none-linux-gnueabihf-gcc -o chat chat.o
make[1]: 离开目录“/home/work/03_tool/ppp-2.4.5/chat”
cd pppd/plugins; make all
make[1]: 进入目录“/home/work/03_tool/ppp-2.4.5/pppd/plugins”
arm-none-linux-gnueabihf-gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c
arm-none-linux-gnueabihf-gcc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC passprompt.c
arm-none-linux-gnueabihf-gcc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC passwordfd.c
arm-none-linux-gnueabihf-gcc -o winbind.so -shared -O2 -g -I.. -I../../include -fPIC winbind.c
winbind.c: 在函数‘winbind_chap_verify’中:
winbind.c:585:4: 警告: 隐式声明函数‘mppe_set_keys’ [-Wimplicit-function-declaration]
585 | mppe_set_keys(challenge, session_key);
| ^~~~~~~~~~~~~
winbind.c:630:4: 警告: 隐式声明函数‘mppe_set_keys2’ [-Wimplicit-function-declaration]
630 | mppe_set_keys2(session_key, &response[MS_CHAP2_NTRESP],
| ^~~~~~~~~~~~~~
for d in rp-pppoe pppoatm pppol2tp radius; do make -w -C $d all; done
make[2]: 进入目录“/home/work/03_tool/ppp-2.4.5/pppd/plugins/rp-pppoe”
arm-none-linux-gnueabihf-gcc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c
In file included from pppoe.h:87,
from plugin.c:29:
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/in.h:29:3: 错误: 枚举‘IPPROTO_IP’重声明
29 | IPPROTO_IP = 0, /* Dummy protocol for TCP */
| ^~~~~~~~~~
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/netinet/in.h:42:5: 附注: ‘IPPROTO_IP’的上一个定义在此
42 | IPPROTO_IP = 0, /* Dummy protocol for TCP. */
| ^~~~~~~~~~
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/in.h:31:3: 错误: 枚举‘IPPROTO_ICMP’重声明
31 | IPPROTO_ICMP = 1, /* Internet Control Message Protocol */
| ^~~~~~~~~~~~
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/netinet/in.h:44:5: 附注: ‘IPPROTO_ICMP’的上一个定义在此
44 | IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */
| ^~~~~~~~~~~~
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/in.h:33:3: 错误: 枚举‘IPPROTO_IGMP’重声明
33 | IPPROTO_IGMP = 2, /* Internet Group Management Protocol */
| ^~~~~~~~~~~~
....................................
arm-none-linux-gnueabihf-gcc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o multilink.o multilink.c
arm-none-linux-gnueabihf-gcc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o tdb.o tdb.c
arm-none-linux-gnueabihf-gcc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o spinlock.o spinlock.c
arm-none-linux-gnueabihf-gcc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o eap.o chap-md5.o session.o md4.o chap_ms.o sha1.o pppcrypt.o multilink.o tdb.o spinlock.o -lcrypt -ldl
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld: pppcrypt.o: in function `DesSetkey':
/home/work/03_tool/ppp-2.4.5/pppd/pppcrypt.c:122: undefined reference to `setkey'
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld: pppcrypt.o: in function `DesEncrypt':
/home/work/03_tool/ppp-2.4.5/pppd/pppcrypt.c:137: undefined reference to `encrypt'
/opt/arm/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/../lib/gcc/arm-none-linux-gnueabihf/9.2.1/../../../../arm-none-linux-gnueabihf/bin/ld: pppcrypt.o: in function `DesDecrypt':
/home/work/03_tool/ppp-2.4.5/pppd/pppcrypt.c:153: undefined reference to `encrypt'
collect2: 错误: ld 返回 1
Makefile:209: recipe for target 'pppd' failed
make[1]: *** [pppd] Error 1
make[1]: 离开目录“/home/work/03_tool/ppp-2.4.5/pppd”
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 2
|
|