Forum Discussion
Altera_Forum
Honored Contributor
10 years agoI have an easier way of getting this running which works on the latest Centos-7 and I presume will also work on Ubuntu and other distributions.
First navigate to the linux/driver of the BSP. Firstly edit aclpci.c: At the top of the file add the lines#define __devinit
# define __devexit Secondly edit aclpci_cmd.c: On line 83 remove the assignment Change
result = pci_restore_state(aclpci->pci_dev);
to
pci_restore_state(aclpci->pci_dev);On lines 438-440 comment out (or delete) the statement if (dev->aer_firmware_first) {
return -EIO;
} You should now be able to run "aocl install" successfully.