Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12590 Discussions

[mpl_C5_s-mkpimage.bin] Error 2

Altera_Forum
Honored Contributor II
1,275 Views

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 $@ $< $< $< $<"
0 Kudos
0 Replies
Reply