在线时间13 小时
UID3183678
注册时间2015-11-24
NXP金币0
该用户从未签到
注册会员

- 积分
- 78
- 最后登录
- 2016-6-27
|
yocto工具链手动编译第3方源码报错yocto工具链 已单独编译出来了,
指定了工具链CC =/opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
当手动编译openssl或其他源码时报错,基本一致,但编译rt3070 wifi驱动则正常,下面是报错打印
making all in crypto...
make[1]: Entering directory `/home/like/newWorkbank/wifi/openssl-0.9.8e/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "/opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -O"'; \
echo ' #define PLATFORM "dist"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
/opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -I. -I.. -I../include -O -c -o cryptlib.o cryptlib.c
In file included from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:389:0,
from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/stdlib.h:24,
from cryptlib.h:62,
from cryptlib.c:117:
/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
# include <gnu/stubs-soft.h>
^
compilation terminated.
make[1]: *** [cryptlib.o] Error 1
提示fatal error: gnu/stubs-soft.h: No such file or directory ,大神们请问是什么原因呢?如果解决这个工具链问题?多谢
|
|