Forum Discussion
Altera_Forum
Honored Contributor
7 years agoNow that AOCL 17.1 support Ubuntu 16.04.2, and the aclpci_cmd.c file uses get_user_pages_remote for newer kernels,
aocl install still crashed with Ubuntu 16.04.3:Building driver for BSP with name a10_ref
make: Entering directory '/usr/src/linux-headers-4.13.0-37-generic'
CC /tmp/opencl_driver_8bc8zu/aclpci_queue.o
CC /tmp/opencl_driver_8bc8zu/aclpci.o
/tmp/opencl_driver_8bc8zu/aclpci.c: In function ‘aclpci_irq’:
/tmp/opencl_driver_8bc8zu/aclpci.c:343:17: error: implicit declaration of function ‘send_sig_info’
int ret = send_sig_info(aclpci->signal_number, &aclpci->signal_info, aclp
^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/tmp/opencl_driver_8bc8zu/aclpci.o' failed
make: *** Error 1
Makefile:1550: recipe for target '_module_/tmp/opencl_driver_8bc8zu' failed
make: *** Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
aocl install: failed.
Board: Arria 10GX Is it because I'm using Ubuntu 16.04.3 instead of 16.04.2 (rollback seems like a pain in the butt so I haven't try it yet) Anyone have idea how to solve this? Thanks!