Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

[mpl_C5_s-mkpimage.bin] Error 2

when i use DS-5 to build example "\altera\16.0\embedded\examples\software\Altera-SoCFPGA-HardwareLib-MPL",i got a error :

14:21:45 **** Incremental Build of configuration Default for project Altera-SoCFPGA-HardwareLib-MPL ****

make all

mkdir bin

arm-altera-eabi-gcc -o bin/startup.o -g -c -DGNU core/startup.S

arm-altera-eabi-gcc -o bin/mpl.o -c -g -Os -I. -I./fatfs -I./core/ -I./core/altera_ip -IC:/altera/16.0/embedded/ds-5//../ip/altera/hps/altera_hps/hwlib/include -

....

....

arm-altera-eabi-objcopy -O binary mpl_C5_s.axf mpl_C5_s.bin

mkpimage --header-version 0 -o mpl_C5_s-mkpimage.bin mpl_C5_s.bin mpl_C5_s.bin mpl_C5_s.bin mpl_C5_s.bin

Makefile:302: recipe for target 'mpl_C5_s-mkpimage.bin' failed

process_begin: CreateProcess(NULL, mkpimage --header-version 0 -o mpl_C5_s-mkpimage.bin mpl_C5_s.bin mpl_C5_s.bin mpl_C5_s.bin mpl_C5_s.bin, ...) failed.

make (e=2): 系统找不到指定的文件(the system can not find the file specified)。

make: *** [mpl_C5_s-mkpimage.bin] Error 2

if i do not use ds-5,use cmd line to "make all",no error. who can tell me how to solve it?

Makefile's line 302 is "mkpimage --header-version 0 -o $@ $< $< $< $<"
No RepliesBe the first to reply