When I try to build Qtopia4 using ltib for imx23evk I get error output as below :
*******************************************************************************
Qt (host) is configured
*******************************************************************************
Testing for qmake behaviors:
Project MESSAGE: QMAKE_BEHAVIORS: quote_is_escape_expand
QUOTE_IS_ESCAPE_EXPAND
Testing for ALSA:
Running config test alsa
filter_system /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/qtopiacore/host/bin/qmake -spec /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/devices/mxc/mkspecs/qws/linux-mxc-g++ -o /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/config.tests/alsa/Makefile /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/config.tests/alsa/alsa.pro 2>&1
filter_system /usr/bin/make clean >/dev/null 2>&1
filter_system /usr/bin/make 2>&1
main.cpp:1:28: error: alsa/asoundlib.h: No such file or directory
main.cpp:2: warning: ISO C++ forbids declaration of 'main' with no type
main.cpp: In function 'int main()':
main.cpp:4: error: 'snd_seq_t' was not declared in this scope
main.cpp:4: error: 'seq_handle' was not declared in this scope
main.cpp:5: error: 'SND_SEQ_OPEN_INPUT' was not declared in this scope
main.cpp:5: error: 'snd_seq_open' was not declared in this scope
make[1]: *** [main.o] Error 1
make exited with value 2 at /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/src/build/bin/configure line 3250
eval {...} called at /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/src/build/bin/configure line 3225
main::configtest('alsa', 'host_qmake') called at /home/user/ltib/rpm/BUILD/qtopia-opensource-4.3.0/src/build/bin/configure line 2213
FAIL
ERROR: You requested -sound_system=s but it was disabled.
make: *** [src/build/mkconf/configure] Error 25
error: Bad exit status from /home/user/ltib/tmp/rpm-tmp.49970 (%build)
RPM build errors:
Bad exit status from /home/user/ltib/tmp/rpm-tmp.49970 (%build)
Build time for qtopia-4: 129 seconds
Failed building qtopia-4
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Mon Nov 8 15:08:28 2010
Ended: Mon Nov 8 15:14:16 2010
Elapsed: 348 seconds
I am using Ubuntu9.10 and I have already installed ALSA on my computer. What else may cause this issue ? Do you have any idea ? Why may it be not able to recognise ALSA ? Regards,
[quote]
Qt swears there is no alsa. Since you are building Qt for x86 try to install the alsa packages for x86.
try install alsa-dev...[/quote]