problem with "make" at linux with arm toolchain for arm cortex - M3

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hello I have a system running with cortex M3

in other hard disk with ubuntu 14.04 and arm tool chain 4.6 for linux 32 it works fine

now I'm trying to build at other hard disk with ubuntu 16.04 and arm tool chain 7.2 downloaded from here :

https://github.com/gnu-mcu-eclip...

but it doesn't work when I do the same steps ... idk what am I missing

i followed the steps in here : https://gnu-mcu-eclipse.github.i...

and i put my project folder at home/HHU/

here's the terminal result , it should create nuttx.ihx in the end which I'll burn at the M3 processor later

 

reem@Firebird:~/HHU/Overseas_HHU/nuttx$ make
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/apps'
make[1]: Nothing to be done for 'context'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/sched'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/sched'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/apps'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/namedapp'
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
Makefile:91: recipe for target '.depend' failed
make[2]: *** [.depend] Error 4
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/namedapp'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/nshlib'
Makefile:98: target 'nsh_timcmds.o' given more than once in the same rule
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
Makefile:110: recipe for target '.depend' failed
make[2]: *** [.depend] Error 4
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/nshlib'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/uw2lib'
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
Makefile:85: recipe for target '.depend' failed
make[2]: *** [.depend] Error 4
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/uw2lib'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/Lcd_CFAF320240F'
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
Makefile:80: recipe for target '.depend' failed
make[2]: *** [.depend] Error 4
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/Lcd_CFAF320240F'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/fayum_app'
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
/home/reem/HHU/Overseas_HHU/nuttx/tools/mkdeps.sh: line 94: arm-none-eabi-gcc: command not found
Makefile:88: recipe for target '.depend' failed
make[2]: *** [.depend] Error 4
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/fayum_app'
Makefile:107: recipe for target '.depend' failed
make[1]: *** [.depend] Error 2
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/lib'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/lib'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/mm'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/mm'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/fs'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/fs'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/drivers'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/drivers'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/binfmt'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/binfmt'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/sched'
make[1]: 'libsched.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/sched'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
make[1]: 'libarch.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/mm'
make[1]: 'libmm.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/mm'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/lib'
make[1]: 'liblib.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/lib'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/apps'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/namedapp'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/namedapp'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/nshlib'
Makefile:98: target 'nsh_timcmds.o' given more than once in the same rule
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/nshlib'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/uw2lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/uw2lib'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/Lcd_CFAF320240F'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/Lcd_CFAF320240F'
make[2]: Entering directory '/home/reem/HHU/Overseas_HHU/apps/fayum_app'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps/fayum_app'
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/apps'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/fs'
make[1]: 'libfs.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/fs'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/drivers'
make[1]: 'libdrivers.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/drivers'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/binfmt'
make[1]: 'libbinfmt.a' is up to date.
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/binfmt'
make[1]: Entering directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
make[1]: arm-none-eabi-gcc: Command not found
LD: nuttx
/bin/sh: 1: arm-none-eabi-ld: not found
Makefile:109: recipe for target 'nuttx' failed
make[1]: *** [nuttx] Error 127
make[1]: Leaving directory '/home/reem/HHU/Overseas_HHU/nuttx/arch/arm/src'
Makefile:423: recipe for target 'pass2' failed
make: *** [pass2] Error 2
reem@Firebird:~/HHU/Overseas_HHU/nuttx$

 

Last Edited: Fri. Jun 22, 2018 - 12:29 PM