Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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
Attached to Project: Rockbox
Opened by Akio Idehara - 2008-02-18
Last edited by Björn Stenberg - 2008-11-03

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

Closed by  Björn Stenberg
2008-11-03 15:19
Reason for closing:  Fixed
Additional comments about closing:  

Fixed independendly. Thanks anyway.

Rosso Maltese commented on 2008-02-22 15:23

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?

Akio Idehara commented on 2008-02-23 00:53

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)

Rosso Maltese commented on 2008-02-25 11:09

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.

Rosso Maltese commented on 2008-02-29 17:53

I was in wrong.
The patch works great!
Thanks a lot.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing