完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
编译到最后一步,无法成功。源码是不完整的
LD [M] drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.o AR driver/ net/wireless/built-in.o AR 驱动程序/net/built-in.o make[3]: *** [/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel /Makefile :1040: 驱动程序] 错误 2 make[3]: 离开目录 '/media/OK10xx-linux-fs/flexbuild/build/linux/linux/arm64/output' make[2]: *** [Makefile:146 : sub-make] 错误 2 make[2]: 离开目录 '/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel' make[1]: *** [Makefile:25: build - linux] 错误 2 make[1]: 离开目录 '/media/OK10xx-linux-fs/flexbuild/packages/linux' make: *** [Makefile:24: linux] 错误 2 make:离开目录'/media/OK10xx -linux-fs/flexbuild' 往上看有下面错误 /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h :415:1: :'struct qm_eqcr_entry'错误1 小于8 [-Werror=packed-not-aligned] 415 | __打包; | ^ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:469:3: 错误:'struct 469 | __packed ern; | ^ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:468:17:错误:'struct 468 |结构 qm_fd fd; | ^~ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:486:3: :错误:'struct 486 | __packed dcern; | ^ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:485:17:错误:'struct 485 |结构 qm_fd fd; | ^~ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:1679:1: 错误:'struct qm_mcr_ceetm_cq_peek_pop_xsfdrread' 1 小于 8 [-Werror=包装-不aligne ] 1679 | __打包; | ^ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/fsl_qman.h:1677:15:错误:'struct qm_mcr_ceetm_cq_peek_pop_xsfdrread'中的'fd'插入14'不是'到 8 [-Werror=packed-not-aligned] 1677 | struct qm_fd fd; 打完0001-To-fix-build-error-for-gcc8.patch打打补丁后,重编译还是加工值[-Werror=address-of-packed-member] 965 | &mcr->querycongestion.state, &p->cgrs[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC 驱动程序 /u***/core/message.o 包含在 /media/OK10xx-linux-fs/文件中flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/byteorder/little_endian.h:5, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/arch/ arm64/include/uapi/asm/byteorder.h:23, 来自/media/OK10xx-linux-fs/flexbuild/包/linux/OK10xx-linux-kernel/include/asm-generic/bitops/le.h:6, 来自/media/OK10xx-linux-fs/flexbuild/packages/ linux/OK10xx-linux-kernel/arch/arm64/include/asm/bitops.h:50, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/bitops. h:38, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/linux/kernel.h:11, 来自/media/OK10xx-linux-fs/flexbuild/packages/ linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/dpa_sys.h:35, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_private。小时:32, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_low.h:32, 来自/media/OK10xx-linux-fs/flexbuild/packages/linux/ OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c: 32: /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c:在函数'qman_query_cgr'中: /media/OK10xx-linux-fs/flexbuild/包/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c:2255:17: 错误:获取“struct qm_mcr_querycgr”的打包[-Werror=address-of -打包成员] 2255 | be32_to_cpus(&cgrd->cscn_targ_swp ); /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/include/uapi/linux/byteorder/little_endian.h:101:38: 注意:在宏 '__be32_to_cpus' 101 的定义中| #define __be32_to_cpus(x) __swab32s((x)) | ^ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c:2255:4:注意:宏'be32_to_cpus' 2255的扩展| be32_to_cpus(&cgrd->cscn_targ_swp ); | ^~~~~~~~~~~~ /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c:在函数“qman_query_congestion”中: /media/OK10xx-linux-fs/flexbuild/packages/linux/OK10xx-linux-kernel/drivers/staging/fsl_qbman/qman_high.c:2287:17: 错误:获取“struct qm_mcr_querycongestion”的打包成员的地址可能会导致未对齐的指针值 [-Werror=address-of-packed-member] 2287 | be32_to_cpus(&congestion->state.__state ); 编译脚本: #!/bin/bash current_path=$PWD work_path=$PWD/flexbuild cd $work_path && . setup.env && #flex-builder -i clean-apps && flex-builder clean && #flex-builder -c linux -a arm6 #flex-builder -c linux: 操作系统:UBUNTU20.4 in windows10细胞 原始文件包OK10xx-linux-fs.tar.bz2 时间比较着急,没时间慢慢debug |
|
相关推荐
1个回答
|
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1523 浏览 1 评论
synopsys 的design ware:DW_fpv_div,浮点数除法器,默认32位下,想提升覆盖率(TMAX),如果用功能case去提升覆盖率呢?
1726 浏览 1 评论
RK3588 GStreamer调试四路鱼眼摄像头四宫格显示报错
4153 浏览 1 评论
【飞凌嵌入式OK3576-C开发板体验】RKNN神经网络-YOLO图像识别
254 浏览 0 评论
【飞凌嵌入式OK3576-C开发板体验】SSH远程登录网络配置及CAN通讯
1336 浏览 0 评论
浏览过的版块 |
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-9 03:31 , Processed in 0.524891 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号