Altera_Forum
Honored Contributor
8 years agoimplicit declaration of function ‘send_sig_info’ error
Hi,
I am a student. I want to use OPenCL to write code for my FPGA. I installed FPGA SDK standard edition 17.1 in Ubuntu 16.04. After that I installed intel fpga runtime environment for opencl linux x86-64. After sourcing the script init_opencl.s, I was able to verify my installation using 'aocl version' command. After that I tried to install an FPGA board. So I tried the command 'aocl install' command. It stopped with an error saying/tmp/opencl_driver_tf7ebm/aclpci.c:343:17: error: implicit declaration of function ‘send_sig_info’ [-werror=implicit-function-declaration] int ret = send_sig_info(aclpci->signal_number, &aclpci->signal_info, aclpci-Complete output of the command:
/media/deepak/82d940f9-6526-47c8-8053-79204d78529f/deepak/intelFPGA/17.1/aclrte-linux64/board/a10_ref? y
aocl install: Running install from /media/deepak/82d940f9-6526-47c8-8053-79204d78529f/deepak/intelFPGA/17.1/aclrte-linux64/board/a10_ref/linux64/libexec
/media/deepak/82d940f9-6526-47c8-8053-79204d78529f/deepak/intelFPGA/17.1/aclrte-linux64/board/a10_ref/linux64/libexec/install: 9: /tmp/opencl_driver_tF7ebM/aclpci_queue.o
CC /tmp/opencl_driver_tF7ebM/aclpci.o
/tmp/opencl_driver_tF7ebM/aclpci.c: In function ‘aclpci_irq’:
/tmp/opencl_driver_tF7ebM/aclpci.c:343:17: error: implicit declaration of function ‘send_sig_info’
int ret = send_sig_info(aclpci->signal_number, &aclpci->signal_info, aclpci-
^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/tmp/opencl_driver_tF7ebM/aclpci.o' failed
make: *** Error 1
Makefile:1550: recipe for target '_module_/tmp/opencl_driver_tF7ebM' failed
make: *** Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
aocl install: failed.
deepak@deepak:deepak$ aocl install
Help me out. Regards Deepak