- Wed Dec 09, 2009 1:42 pm
#86823
In part 3 of the Sparkfun bootloader tutorial, I attempt to run the makefile as directed and get a error.
Creating Symbol Table: main.sym
arm-elf-nm -n main.elf > main.sym
/usr/bin/sh: /c/WinARM/bin/arm-elf-nm: Invalid argument
make.exe: *** [main.sym] Error 126
> Process Exit Code: 2
> Time Taken: 00:04
I tracked it down to be caused bu the final line ($NM) of this makefile snippet:
# Create a symbol table from ELF output file.
%.sym: %.elf
@echo
@echo $(MSG_SYMBOL_TABLE) $@
$(NM) -n $< > $@
Anybody got any idea of what the problem is. It appears to be the same makefile as the previous example in part 2 of the turorial.
Creating Symbol Table: main.sym
arm-elf-nm -n main.elf > main.sym
/usr/bin/sh: /c/WinARM/bin/arm-elf-nm: Invalid argument
make.exe: *** [main.sym] Error 126
> Process Exit Code: 2
> Time Taken: 00:04
I tracked it down to be caused bu the final line ($NM) of this makefile snippet:
# Create a symbol table from ELF output file.
%.sym: %.elf
@echo
@echo $(MSG_SYMBOL_TABLE) $@
$(NM) -n $< > $@
Anybody got any idea of what the problem is. It appears to be the same makefile as the previous example in part 2 of the turorial.