Forum Discussion
Altera_Forum
Honored Contributor
8 years agoProblem with aocl install
Hi,
I have a problem with the installation command "aocl install<path_custom_platform>", because of the bash returns the following problem: "is not an object at /home/intel_tools/intelFPGA_pro/17.1/hld/share/lib/perl/acl/Command.pm line 1290, <F> line 34." I am using a virtual machine with centOS 7.4 on Windows server 2012 R2. I attached the screenshot of the problem. Can anyone help me? Thanks for your help.17 Replies
- Altera_Forum
Honored Contributor
check your username and read/write perms of the path.
- Altera_Forum
Honored Contributor
Hi,
Could you try to use the supported operating system? 7.4 is not in our list http://dl.altera.com/requirements/17.1/ Regards, CloseCL (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
Hi,
now I am using OpenCL on centOS 6.8 (a version included in the above list) but it does not still work. I am using a virtual machine (Hyper-V) on Windows Server 2012 R2, should it be the problem? This is what the terminal returns: [leonardo1@leonardo1 hld]$ aocl install Do you want to install /home/intel_tools/intelFPGA_pro/17.1/hld/board/a10_ref? [y/n] y aocl install: Running install from /home/intel_tools/intelFPGA_pro/17.1/hld/board/a10_ref/linux64/libexec Looking for kernel source files in /lib/modules/2.6.32-642.el6.x86_64/build Using kernel source files from /lib/modules/2.6.32-642.el6.x86_64/build Building driver for BSP with name a10_ref make: Entering directory `/usr/src/kernels/2.6.32-642.el6.x86_64' CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_queue.o CC [M] /tmp/opencl_driver_Qh2IhR/aclpci.o CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_fileio.o CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_dma.o CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_pr.o CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_cmd.o In file included from /tmp/opencl_driver_Qh2IhR/aclpci_cmd.c:53: include/linux/aer.h:38: warning: ‘struct pci_dev’ declared inside parameter list include/linux/aer.h:38: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/aer.h:39: warning: ‘struct pci_dev’ declared inside parameter list include/linux/aer.h:40: warning: ‘struct pci_dev’ declared inside parameter list include/linux/aer.h:57: warning: ‘struct pci_dev’ declared inside parameter list LD [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.o Building modules, stage 2. MODPOST 1 modules CC /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.mod.o LD [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.ko.unsigned NO SIGN [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.ko make: Leaving directory `/usr/src/kernels/2.6.32-642.el6.x86_64' is not an object at /home/intel_tools/intelFPGA_pro/17.1/hld/share/lib/perl/acl/Command.pm line 1290, <F> line 34. Thanks for your help Best Regards - Altera_Forum
Honored Contributor
Hi,
I afraid i am not able to comment much when using with virtual machine, do you confirm all the permission or admin rights?, as my own setup was just working with a centos6.8 with out any additional settings. Regards, CloseCL (This message was posted on behalf of Intel Corporation) - Altera_Forum
Honored Contributor
I also have that problem !!! Even I try it with sudo, I still get same result
Is any solution? Thanks. - Altera_Forum
Honored Contributor
Hi all,
I am also stuck with this problem. Has someone found a solution yet? Best, Eric - Altera_Forum
Honored Contributor
Same problem here. No solution found so far.
- Altera_Forum
Honored Contributor
Nallatech's Support Team pointed me to this workaround (https://www.altera.com/support/support-resources/knowledge-base/embedded/2017/why-does-aocl-install-and-aocl-uninstall-fail-in-intel-fpga-sdk-.html) that solved my problem.
- Altera_Forum
Honored Contributor
And the workaround is??