Firefly开源社区
标题:
使用Ubuntu 20编译 赛灵思XDMA驱动出错
[打印本页]
作者:
hiram
时间:
2022-1-12 16:59
标题:
使用Ubuntu 20编译 赛灵思XDMA驱动出错
日志:
root@firefly:~/dma_ip_drivers/XDMA/linux-kernel/xdma# make
Makefile:16: XVC_FLAGS: .
make -C /lib/modules/4.19.206/build M=/root/dma_ip_drivers/XDMA/linux-kernel/xdma modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.206'
/root/dma_ip_drivers/XDMA/linux-kernel/xdma/Makefile:16: XVC_FLAGS: .
CC [M] /root/dma_ip_drivers/XDMA/linux-kernel/xdma/libxdma.o
/bin/bash: scripts/basic/fixdep: cannot execute binary file: Exec format error
make[2]: *** [scripts/Makefile.build:334: /root/dma_ip_drivers/XDMA/linux-kernel/xdma/libxdma.o] Error 126
make[2]: *** Deleting file '/root/dma_ip_drivers/XDMA/linux-kernel/xdma/libxdma.o'
make[1]: *** [Makefile:1676: _module_/root/dma_ip_drivers/XDMA/linux-kernel/xdma] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.206'
make: *** [Makefile:35: all] Error 2
root@firefly:~/dma_ip_drivers/XDMA/linux-kernel/xdma#
XDMA源码:
https://github.com/Xilinx/dma_ip ... r/XDMA/linux-kernel
作者:
Liuth
时间:
2022-1-12 17:10
安装完headers之后有在headers目录下执行make scripts吗
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1