Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: slangdaddy on June 22, 2009, 12:59:51 PM

Title: rbutil compile error
Post by: slangdaddy on June 22, 2009, 12:59:51 PM
Hi,

so i follow the instructions on http://www.rockbox.org/twiki/bin/view/Main/RockboxUtilityDevelopment, checked out the whole rockbox tree, cd'ed into the rbutil subfolder and issued qmake. Then I executed make and got the following:

Code: [Select]
cd rbutilqt/ && make -f Makefile
make[1]: Entering directory `/tmp/rockbox/rbutil/rbutilqt'
make[2]: Entering directory `/tmp/rockbox/tools/rbspeex'
/bin/sh: line 10: build/dep-speex: No such file or directory
CC
gcc: no input files
make[2]: *** [build/bits.o] Error 1
make[2]: Leaving directory `/tmp/rockbox/tools/rbspeex'
make[1]: *** [rbspeex] Error 2
make[1]: Leaving directory `/tmp/rockbox/rbutil/rbutilqt'
make: *** [sub-rbutilqt-make_default] Error 2

Code: [Select]
ls /tmp/rockbox/tools/rbspeex
Makefile  rbspeex.c  rbspeexdec.c  rbspeexenc.c  rbspeex.h

Do I need to compile rbspeex manually ?

QT version is 4.5.1 and qmake -v says:
Code: [Select]
QMake version 2.01a
Using Qt version 4.5.1 in /usr/lib64/qt4
Title: Re: rbutil compile error
Post by: Domonoky on June 22, 2009, 03:23:08 PM
hi,

unfortunatly there is some bug in the make files.
Create a "build" directory in tools/rbspeex before building, and it should work.
Title: Re: rbutil compile error
Post by: slangdaddy on June 22, 2009, 03:56:34 PM
Thanks for your quick answer - it solved my problem, but will this bug be fixed ?
Title: Re: rbutil compile error
Post by: GodEater on June 23, 2009, 02:23:33 AM
Of course it will - just give the guys some time!
Title: Re: rbutil compile error
Post by: bluebrother on June 23, 2009, 03:25:04 PM
I already would have fixed this issue - if i'd had my laptop around and usable internet connection. But as I'm currently on a business trip and writing using my phone ... Though I'm somewhat surprised about this issue. I'm pretty sure I've build on a clean tree several times without any problems.