Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
40 Views

"aocl install" failed

1. When I run "aocl install" after sourcing the .sh file:

    source setup_env.sh

    the error is:

    make: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
    Unable to create /opt/altera/aocl-pro-rte/aclrte-linux64/installed_packages

2. When I run "aocl install" after running:

    source init_opencl.sh                 The file "init_opencl.sh" is located in /opt/altera/aocl-pro-rte/aclrte-linux64/

    the error is:

cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/tmp/opencl_driver_4wpvvg/aclpci.o' failed
make[1]: *** [/tmp/opencl_driver_4wpvvg/aclpci.o] Error 1
Makefile:1551: recipe for target '_module_/tmp/opencl_driver_4wpvvg' failed
make: *** [_module_/tmp/opencl_driver_4wpvvg] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
aocl install: failed.

How should I solve this problem?

 

0 Kudos
1 Reply
Highlighted
40 Views

I am also having the same problem while trying to install drivers for DE5

0 Kudos