Page 1 of 1

Source compilation error

Posted: Fri Jul 29, 2016 4:40 pm
by knome
Hi,

I'm trying to compile the sources on Ubuntu 14.04.4 (64bit) according to:
https://github.com/RedPitaya/RedPitaya/ ... plications

the command "make -f Makefile.x86" finally yields:

le -sw fsbl -dir $path_sdk/fsbl
INFO: [Hsi 55-1698] elapsed time for repository loading 1 seconds
ERROR: [Common 17-70] Application Exception: Not found in path: gmake
INFO: [Common 17-206] Exiting hsi at Fri Jul 29 17:12:31 2016...
make[1]: *** [sdk/fsbl/executable.elf] Error 1
make[1]: Leaving directory `/home/xyz/RedPitaya/fpga2'
make: *** [fpga] Error 2

Does anybody know what's wrong? Thank you in advance --
Cheers!

Re: Source compilation error

Posted: Fri Jul 29, 2016 4:45 pm
by Nils Roos
Yep, read the last section of the "Software requirements" about "missing gmake path".

Re: Source compilation error

Posted: Wed Aug 03, 2016 10:24 am
by knome
Hi Nils, thanks for your quick answer!
C'mon ;) of course I did execute this command down there -- but with typos it can't run properly of course ;P stupid me.
However, having fixed this it's still throwing errors upon execution of "make -f Makefile.x86" :

<code>
gmake[3]: Entering directory `/home/xyz/RedPitaya/fpga2/sdk/fsbl/zynq_fsbl_bsp/ps7_cortexa9_0/libsrc/axidma_v9_2/src'
Compiling axidma
/bin/sh: 1: arm-none-eabi-gcc: not found
gmake[3]: *** [libs] Error 127
gmake[3]: Leaving directory `/home/xyz/RedPitaya/fpga2/sdk/fsbl/zynq_fsbl_bsp/ps7_cortexa9_0/libsrc/axidma_v9_2/src'
gmake[2]: *** [ps7_cortexa9_0/libsrc/axidma_v9_2/src/make.libs] Error 2
gmake[2]: Leaving directory `/home/xyz/RedPitaya/fpga2/sdk/fsbl/zynq_fsbl_bsp'
ERROR: [#UNDEF] Running Make Failed
ERROR: [Hsi 55-1444] Error(s) while running make
ERROR: [Hsi 55-1450] Error: running generate_bsp.
ERROR: [Common 17-39] 'generate_app' failed due to earlier errors.

while executing
"generate_app -hw system_0 -os standalone -proc ps7_cortexa9_0 -app zynq_fsbl -compile -sw fsbl -dir $path_sdk/fsbl"
(file "red_pitaya_hsi_fsbl.tcl" line 11)
INFO: [Common 17-206] Exiting hsi at Wed Aug 3 11:10:35 2016...
make[1]: *** [sdk/fsbl/executable.elf] Error 1
make[1]: Leaving directory `/home/xyz/RedPitaya/fpga2'
make: *** [fpga] Error 2
</code>

Any suggestions? Thank you!

Re: Source compilation error

Posted: Sat Aug 06, 2016 10:49 pm
by Nils Roos
This post and the reply to it are probably also applicable in your case.