Forum Discussion

KNGanendraMurthy's avatar
KNGanendraMurthy
Icon for New Contributor rankNew Contributor
3 years ago

OPAE-Intel FPGA Drivers

Hi all,

I am unable to install Intel OPAE-FPGA drivers in Ubuntu 21.10 LTS.I am facing the following error

opae-intel-fpga-driver-2.0.1/drivers/i2c/busses/i2c-altera.c:636:4: error: implicit declaration of function ‘i2c_new_device’; did you mean ‘i2c_acpi_new_device’? [-Werror=implicit-function-declaration]
636 | i2c_new_device(&idev->adapter, pdata->devices + i);
| ^~~~~~~~~~~~~~
| i2c_acpi_new_device
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:281: /home/kn/opae-intel-fpga-driver-2.0.1/drivers/i2c/busses/i2c-altera.o] Error 1
make[1]: *** [Makefile:1879: /home/kn/opae-intel-fpga-driver-2.0.1] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-28-generic'
make: *** [Makefile:92: all] Error 2

Can you suggest any modifications?.If so,kindly help

7 Replies