Rockbox Development > Starting Development and Compiling

error compiling rbutil 1.2.5

(1/2) > >>

said:
hi all! i always compile rbutil by myself but with the last version there is this error;

--- Code: ---/tmp/rbutil/src/rbutil_1.2.5/rbutil/rbutilqt/build//librbspeex.a(rbspeex.o): In function `encode_file':                                                     
rbspeex.c:(.text+0x38c): undefined reference to `speex_wb_mode'                                                                                             
rbspeex.c:(.text+0x391): undefined reference to `speex_encoder_init'                                                                                       
rbspeex.c:(.text+0x3bc): undefined reference to `speex_bits_init'                                                                                           
rbspeex.c:(.text+0x3e2): undefined reference to `speex_encoder_ctl'                                                                                         
rbspeex.c:(.text+0x3fd): undefined reference to `speex_encoder_ctl'                                                                                         
rbspeex.c:(.text+0x418): undefined reference to `speex_encoder_ctl'                                                                                         
rbspeex.c:(.text+0x433): undefined reference to `speex_encoder_ctl'                                                                                         
rbspeex.c:(.text+0x44e): undefined reference to `speex_encoder_ctl'                                                                                         
rbspeex.c:(.text+0x4dc): undefined reference to `speex_encoder_destroy'                                                                                     
rbspeex.c:(.text+0x4e4): undefined reference to `speex_bits_destroy'                                                                                       
rbspeex.c:(.text+0x4f8): undefined reference to `speex_resampler_destroy'                                                                                   
rbspeex.c:(.text+0x563): undefined reference to `speex_nb_mode'
rbspeex.c:(.text+0x568): undefined reference to `speex_encoder_init'
rbspeex.c:(.text+0x61d): undefined reference to `speex_resampler_init'
rbspeex.c:(.text+0x629): undefined reference to `speex_resampler_skip_zeros'
rbspeex.c:(.text+0x6db): undefined reference to `speex_resampler_process_int'
rbspeex.c:(.text+0x72a): undefined reference to `speex_encode_int'
rbspeex.c:(.text+0x74d): undefined reference to `speex_bits_write_whole_bytes'
rbspeex.c:(.text+0x833): undefined reference to `speex_bits_write'
collect2: ld returned 1 exit status

--- End code ---

bluebrother:
A bit more information would be helpful -- what OS are you on (some Linux I assume?), what version of gcc and Qt do you have installed, can you name a revision that compiled fine for you, how did you obtain the source code (the release source tarball?), did you make any changes to your OS (updated distribution), do you have libspeex installed and its development headers?

said:
I use arch linux (up do date) and  the previous version of rbutil (1.2.4) hasn't problems (and other former versions too). I downloaded the tarball from the rockbox website. Other infos:
gcc 4.4.3
qt 4.6.2
speex 1.2rc1

bluebrother:
Ok, that's somewhat strange: there is almost no difference between 1.2.4 and 1.2.5 -- there aren't much more changes than fixing an issue on Windows. Do you have a libspeexdsp.so in your system?

said:
yes I have these files inside /usr/lib:

--- Code: ---libspeex.a
libspeexdsp.a
libspeexdsp.so -> libspeexdsp.so.1.5.0
libspeexdsp.so.1 -> libspeexdsp.so.1.5.0
libspeexdsp.so.1.5.0
libspeex.so -> libspeex.so.1.5.0
libspeex.so.1 -> libspeex.so.1.5.0
libspeex.so.1.5.0

--- End code ---
the only big change on my system between 1.2.4 and 1.2.5 was the major qt update from 4.5 to 4.6.
I don't know if could be useful but at the beginning of compilation there is this warning

--- Code: ---RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_cs.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_de.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_fi.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_fr.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_gr.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_he.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_it.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_ja.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_nl.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_pl.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_pt.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_pt_BR.qm'                                                                             
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_ru.qm'                                                                               
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_zh_CN.qm'                                                                             
RCC: Error in 'rbutilqt-lang.qrc': Cannot find file 'lang/rbutil_zh_TW.qm'                                                                             
RCC: Warning: No resources in 'rbutilqt-lang.qrc'.   

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version