|
【Linux】
使用Ubuntu 20编译 赛灵思XDMA驱动出错
发表于 2022-1-12 16:59:55
浏览:4411
|
回复:1
打印
只看该作者
[复制链接]
楼主
日志:
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 |
|