Error when I compile an example from Contiki -


when run command on contiki

sudo make target=srf06-cc26xx board=sensortag/cc2650 cc26xx-demo.bin cpu_family=cc26xx   

it returns following error:

cc ../../platform/srf06-cc26xx/./contiki-main.c make: arm-none-eabi-gcc: command not found make: *** [obj_srf06-cc26xx/contiki-main.o] error 127

to run make, if contiki repo in directory permissions user don't need run sudo. install arm-none-eabi-gcc package, run:

    sudo apt-get install arm-none-eabi-gcc 

after having installed, can check version have installed:

    arm-none-eabi-gcc --version 

and output should (this ubuntu 16.04):

    arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease) copyright (c) 2014 free software foundation, inc.     free software; see source copying conditions.     there no warranty; not merchantability or fitness particular purpose. 

i hope helps!

br, virginia


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -