[U-Boot-Users] Error on making u-boot

Dear you all,
An error message came up when I used "make RPXlite_config"on my LINUX PC host as following:
ppc_8xx-objcopy -O srec timer timer.srec ppc_8xx-objcopy -O binary hello_world.srec hello_world.bin 2>/dev/null make[1]: *** [hello_world.bin] Error 1 make[1]: Leaving directory `/u-boot-1.0.0/examples' make: *** [subdirs] Error 1
Have you met it?After masking three files,hello_world.bin,sched.bin ,timer.bin in Makefile of examples directory,it succeeded.But there aren't three files in the directory.I use Montavista Linux Pro 3.0.Any hints?
______________________________________ Sam Song Shanghai Univ.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

SAM SONG
Have you met it?After masking three files,hello_world.bin,sched.bin ,timer.bin in Makefile of examples directory,it succeeded.But there aren't three files in the directory.I use Montavista Linux Pro 3.0.Any hints?
There was recently a patch which works around a bug in the montavista objcopy. The problem is that it doesn't handle SREC input (even if you use -I srec).
The workaround is to ignore the problem - like you say the make will succeed eventually, or change the commands in the examples/Makefile like this:
Near the rule that says:
%.bin: %.srec
Replace this line:
$(OBJCOPY) -O binary $< $@ 2>/dev/null
With this line:
$(OBJCOPY) -O binary $(<:.srec=) $@ 2>/dev/null
-Cam
participants (2)
-
Cam
-
SAM SONG