Discussion about development tools and environments, such as STLink, OpenOCD, arm-gcc, Eclipse, Qt Creator and Visual Studio.
no avatar
User

AndrewFernie

Posts

2

Joined

Tue Dec 23, 2014 3:56 am

Linux environment - flight build

by AndrewFernie » Fri Dec 26, 2014 2:24 pm

I have a new Ubuntu 14.04 setup and am having issues building the firmware - gcs build is fine.

Sources were pulled from "next".

Used "make arm_sdk_install" with no visible errors.

result is:
Code: Select all
make[1]: Nothing to be done for `first'.
- Tau Labs UAVObject Generator -
Done: processed 112 XML files and generated 112 objects with no ID collisions. Total size of the data fields is 3739 bytes.
generating flight code
 CC          flight/PiOS/Common/Libraries/FreeRTOS/Source/croutine.c
make[1]: /home/andrew/code/TauLabs/tools/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc: Command not found
make[1]: *** [/home/andrew/code/TauLabs/build/fw_flyingf3/croutine.o] Error 127
make: *** [fw_flyingf3_tlfw] Error 2


The folder name for the compiler seems OK. If I check the contents of the folder I get the following:
Code: Select all
andrew@workshop-ubuntu:~$ cd /home/andrew/code/TauLabs/tools/gcc-arm-none-eabi-4_8-2013q4/bin
andrew@workshop-ubuntu:~/code/TauLabs/tools/gcc-arm-none-eabi-4_8-2013q4/bin$ ls
arm-none-eabi-addr2line  arm-none-eabi-gcc-4.8.3   arm-none-eabi-nm
arm-none-eabi-ar         arm-none-eabi-gcc-ar      arm-none-eabi-objcopy
arm-none-eabi-as         arm-none-eabi-gcc-nm      arm-none-eabi-objdump
arm-none-eabi-c++        arm-none-eabi-gcc-ranlib  arm-none-eabi-ranlib
arm-none-eabi-c++filt    arm-none-eabi-gcov        arm-none-eabi-readelf
arm-none-eabi-cpp        arm-none-eabi-gdb         arm-none-eabi-size
arm-none-eabi-elfedit    arm-none-eabi-gprof       arm-none-eabi-strings
arm-none-eabi-g++        arm-none-eabi-ld          arm-none-eabi-strip
arm-none-eabi-gcc        arm-none-eabi-ld.bfd

Any suggestions?

Thank you,
Andrew
no avatar
User

AndrewFernie

Posts

2

Joined

Tue Dec 23, 2014 3:56 am

Re: Linux environment - flight build

by AndrewFernie » Fri Dec 26, 2014 3:52 pm

I was missing the "sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0" command. Ran that and all OK.

Andrew

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron