Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Trying to compile linux for Cyclone V Soc dev board - errors

I all, I get the following errors when I am following the steps on http://www.rocketboards.org/foswiki/documentation/alterasocdevelopmentboardyoctogettingstarted

ERROR: Failed to obtain external Linaro toolchain version: Execution of '/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc -v' failed: command not found

ERROR: Failed to obtain external Linaro toolchain version: Execution of '/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-gcc -v' failed: command not found

ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed

Traceback (most recent call last):

File "external_linaro_toolchain_version_handler(e)", line 12, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x3b5ee50>)

File "external-linaro-toolchain-versions.inc", line 4, in elt_get_gdb_version(d=<bb.data_smart.DataSmart object at 0x2aed510>)

NameError: global name 'CmdError' is not defined

WARNING: Host distribution "Ubuntu 12.04.3 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

As far as I can tell, the paths it says it cannot find do exist. When I am in the correct directory, and run any files here, it tells me the file doesnt exist - odd that given its in the file list...

I have Ubuntu running on a VM inside windows.

5 Replies