- Status Closed
- Percent Complete
- Task Type Patches
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#8619 - make with multi-process
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
—
2008-11-03 15:19
Reason for closing: Fixed
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Fixed independendly. Thanks anyway.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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?
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)
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.
I was in wrong.
The patch works great!
Thanks a lot.