【发布时间】:2019-03-12 11:49:40
【问题描述】:
我正在尝试安装 DE5-NET FPGA 的驱动程序。我在 Ubuntu 16.04 上使用面向 OpenCL 16.0 的英特尔 FPGA SDK。
aoc --list-boards 给出输出de5a_net_e1
但是在这一步之后,当我尝试运行 aocl install 时,我得到了
aocl install: Running install from /media/siladittya/fdc481ce-9355-46a9-b381-9001613e3422/siladittya/Softwares/AOCL/hld/board/de5a_net_e1/linux64/libexec
/media/siladittya/fdc481ce-9355-46a9-b381-9001613e3422/siladittya/Softwares/AOCL/hld/board/de5a_net_e1/linux64/libexec/install: 9: [: aclpci_de5a_net_e1_drv: unexpected operator
Using kernel source files from /lib/modules/4.15.0-45-generic/build
Building driver for BSP with name de5a_net_e1
make: Entering directory '/usr/src/linux-headers-4.15.0-45-generic'
CC [M] /tmp/opencl_driver_L6IMju/aclpci_queue.o
CC [M] /tmp/opencl_driver_L6IMju/aclpci.o
/tmp/opencl_driver_L6IMju/aclpci.c: In function ‘aclpci_irq’:
/tmp/opencl_driver_L6IMju/aclpci.c:337:17: error: implicit declaration of function ‘send_sig_info’ [-Werror=implicit-function-declaration]
int ret = send_sig_info(SIG_INT_NOTIFY, &aclpci->signal_info, aclpc
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/tmp/opencl_driver_L6IMju/aclpci.o' failed
make[1]: *** [/tmp/opencl_driver_L6IMju/aclpci.o] Error 1
Makefile:1551: recipe for target '_module_/tmp/opencl_driver_L6IMju' failed
make: *** [_module_/tmp/opencl_driver_L6IMju] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-45-generic'
aocl install: failed.
我尝试将 BSP 用于 board 文件夹中给出的其他默认值,但得到了相同的错误。
我猜当遇到警告时安装正在停止。
error: implicit declaration of function ‘send_sig_info’ [-Werror=implicit-function-declaration]
如何解决这个问题?
有什么办法吗?
【问题讨论】:
标签: linux opencl intel fpga intel-fpga