Rockbox

Tasklist

FS#8619 - make with multi-process

Attached to Project: Rockbox
Opened by Akio Idehara (idak) - Monday, 18 February 2008, 16:30 GMT
Last edited by Björn Stenberg (zagor) - Monday, 03 November 2008, 15:19 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I always make rockbox
with "-j #" option (make with multi-process).
But in r16343, "BMP2RB rockboxlog.XXX.bmp" is executed
before bmp2rb is build
Please look at the following log.

This patch can fix it.
---
$ make -j 2 -f /home/rockbox/svn/build-sim/22/Makefile all
rm -f bits.o cb_search.o exc_10_16_table.o exc_10_32_table.o exc_20_32_table.o exc_5_256_table.o exc_5_64_table.o exc_8_128_table.o filters.o gain_table.o gain_table_lbr.o hexc_10_32_table.o hexc_table.o high_lsp_tables.o lsp.o lsp_tables_nb.o ltp.o modes.o modes_wb.o nb_celp.o quant_lsp.o sb_celp.o speex.o speex_callbacks.o stereo.o speex_header.o lpc.o vbr.o vq.o window.o resample.o libspeex.a librbspeex.a rbspeexenc.o ../rbspeexenc dep-speex
gcc -g rdf2binary.c -o rdf2binary
gcc -g convbdf.c -o convbdf
MAKE in bitmaps/mono
MAKE in bitmaps/native
gcc -g codepages.c codepage_tables.c -o codepages
AR+RANLIB libbitmapsmono.a
BMP2RB rockboxlogo.320x98x16.bmp
/bin/sh: /home/rockbox/svn/rockbox/tools/bmp2rb: No such file or directory
make[2]: *** [/home/rockbox/svn/build-sim/22/apps/bitmaps/native/rockboxlogo.320x98x16.c] Error 127
gcc -O -ansi -g -c -o scramble.o scramble.c
GENLANG afrikaans.lang
GENLANG bulgarian.lang
GENLANG catala.lang
gcc -O -ansi -g -c -o iriver.o iriver.c
gcc -O -ansi -g -c -o mi4.o mi4.c
gcc -O -ansi -g -c -o gigabeat.o gigabeat.c
gcc -O -ansi -g -c -o gigabeats.o gigabeats.c
gcc -O -ansi -g -c -o telechips.o telechips.c
gcc -DAPPLICATION_NAME=\"bmp2rb\" -g bmp2rb.c -o bmp2rb
---
This task depends upon

Closed by  Björn Stenberg (zagor)
Monday, 03 November 2008, 15:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed independendly. Thanks anyway.
Comment by Rosso Maltese (asettico) - Friday, 22 February 2008, 15:23 GMT
The patch doesn't apply with build 2008-02-21 (16361).
With this very slight modification it does. ;-)

Unfortunately, with today build (16365) the same error reappears! Could you investigate it?
Comment by Akio Idehara (idak) - Saturday, 23 February 2008, 00:53 GMT
I use the above "configure_make-j_v02.patch" and no error appears.
So please check that do your system has "awk" command?

--- trunk/apps/lang/Makefile 2008/02/21 21:01:42 16364
+++ trunk/apps/lang/Makefile 2008/02/21 21:08:00 16365
@@ -37,4 +37,4 @@

$(HEADER): $(OUTP)
$(call PRINTS,Make $(HEADER))
- echo "#define MAX_LANGUAGE_SIZE `du -b $(OBJDIR)/* |sort -n |tail -n 1 |cut -f 1`" > $(HEADER)
+ $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -l $(OBJDIR)/* | awk '{print $$5}' | sort -n | tail -1`" > $(HEADER)
Comment by Rosso Maltese (asettico) - Monday, 25 February 2008, 11:09 GMT
Of course I have, it's gawk.
But I'm not sure about how I'm applying the patch (I did a script that download, patch, compile and install, so I can made some errors).
BTW, but this should be argument for the ml, need the patch to be applied in some order? I'm using a few of them.
Thank you.
Comment by Rosso Maltese (asettico) - Friday, 29 February 2008, 17:53 GMT
I was in wrong.
The patch works great!
Thanks a lot.

Loading...