Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru
Партнеры:
otladka.com.ua - г.Киев

Способы оплаты

User Info


Добро пожаловать,
Guest

Регистрация или входРегистрация или вход
Потеряли пароль?Потеряли пароль?

Ник:
Пароль:

ПользователейПользователей:2
Поисковых ботовПоисковых ботов:3
ГостейГостей:1

ОбновитьПодробнееВсегоВсего:6
Форум » starterkit.ru » Embedded Linux
Qtopia4 Build Failed !!
itmicro
Добавлено 08.11.2010 16:17
0
Сообщение: 1
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

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

These packages failed to build:
qtopia-4

Build Failed

Exiting on error or interrupt
user@ubuntu:~/ltib$


How can I fix this issue ? Thanks,

Regards
Спуститься к концу Подняться к началу
Персональная информация
Hermes
Добавлено 08.11.2010 17:17 Редактировалось 08.11.2010 17:18 Сообщение: 2
Hermes
5

Пункты: 3383
Регистрация: 02.04.2010
Код
main.cpp:1:28: error: alsa/asoundlib.h: No such file or directory

Код
ERROR: You requested -sound_system=s but it was disabled.


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...
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 08.11.2010 19:23 Сообщение: 3
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

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]
Код
main.cpp:1:28: error: alsa/asoundlib.h: No such file or directory

Код
ERROR: You requested -sound_system=s but it was disabled.


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]
Спуститься к концу Подняться к началу
Персональная информация
Форум » starterkit.ru » Embedded Linux