реклама на сайте
подробности

 
 
> linphone. ARM., Кросскомпиляция.
jacuba
сообщение Apr 5 2011, 04:57
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 26
Регистрация: 25-03-11
Из: Пермь
Пользователь №: 63 861



Добрый день, возникла следующая проблема:
при попытке скомпилировать linphone на машине с i686 для машины с ARM-архитектурой:
Код
$cd linphone-3.4.3
$sudo ./configure --prefix=/home/user/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --disable-glib --enable-gnome_ui=no --disable-manual --enable-alsa --with-speex=/home/user/speex


Конфигурация проходит успешно, но в конце получаю предупреждение:
Цитата
configure: WARNING: ortp-0.15.0 breaks compatibility with older releases, because value returned by rtp_session_recvm_with_ts() has
changed. See the API documentation in doc/ for further readings.
Linphone build configuration ended.
* GTK interface will be compiled.
* Console interface will be compiled.
Now type 'make' to compile, and then 'make install' as root to install it.


После этого делаю sudo make и получаю ошибку:
Код
CCLD   mediastream
../src/.libs/libmediastreamer.so: undefined reference to `speex_echo_cancellation'
../src/.libs/libmediastreamer.so: undefined reference to `speex_echo_state_init'
../src/.libs/libmediastreamer.so: undefined reference to `speex_preprocess_state_destroy'
../src/.libs/libmediastreamer.so: undefined reference to `speex_preprocess_state_init'
../src/.libs/libmediastreamer.so: undefined reference to `speex_echo_ctl'
../src/.libs/libmediastreamer.so: undefined reference to `speex_echo_state_destroy'
../src/.libs/libmediastreamer.so: undefined reference to `speex_preprocess_ctl'
../src/.libs/libmediastreamer.so: undefined reference to `speex_preprocess_run'
collect2: ld returned 1 exit status
make[4]: *** [mediastream] Ошибка 1
make[4]: Leaving directory `/home/user/linphone-3.4.3/mediastreamer2/tests'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/home/user/linphone-3.4.3/mediastreamer2'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/home/user/linphone-3.4.3/mediastreamer2'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/user/linphone-3.4.3'
make: *** [all] Ошибка 2


Собственно это и вызывает затруднение, откуда такая ошибка и как можно от нее избавиться?
Заранее благодарен.

Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
jacuba
сообщение Apr 11 2011, 09:51
Сообщение #2


Участник
*

Группа: Участник
Сообщений: 26
Регистрация: 25-03-11
Из: Пермь
Пользователь №: 63 861



При конфигурации самого linphon получаю сообщение:
Код
# ./configure --prefix=/root/armbuild --host=arm-linux --disable-static --disable-glib --enable-gnome_ui=no --disable-manual --enable-ipv6 --enable-alsa --with-osip=/armbuild/usr --with-speex=/armbuild/usr

checking for eXosip2/eXosip.h... yes
checking for eXosip_subscribe_remove in -leXosip2... no
configure: error: Could not find eXosip2 library with version >= 3.0.2 !


Начинаю ставить libeXosip2-3.0.3
Прошу меня проверить:
Код
# cd libeXosip2-3.0.3
#  ./configure --host=arm-linux --prefix=/armbuild
...
Entering directory `/home/user/Загрузки/libeXosip2-3.0.3/src'
if /bin/bash ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/armbuild/include  -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -DOSIP_MT -DENABLE_DEBUG -g -DENABLE_TRACE -g   -pthread -g  -MT eXosip.lo -MD -MP -MF ".deps/eXosip.Tpo" -c -o eXosip.lo eXosip.c; \
        then mv -f ".deps/eXosip.Tpo" ".deps/eXosip.Plo"; else rm -f ".deps/eXosip.Tpo"; exit 1; fi
mkdir .libs
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/armbuild/include -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -DOSIP_MT -DENABLE_DEBUG -g -DENABLE_TRACE -g -pthread -g -MT eXosip.lo -MD -MP -MF .deps/eXosip.Tpo -c eXosip.c  -fPIC -DPIC -o .libs/eXosip.o
In file included from eXosip.c:25:
eXosip2.h:56:24: osip2/osip.h: No such file or directory
eXosip2.h:57:31: osip2/osip_dialog.h: No such file or directory


osip2/osip.h лежал в /armbuild/include, на всякий случай я скопировал всю папку osip2 в /usr/include
Правильно ли я сделал?
по прежнему получаю кучу сообщений типа:
Код
eXosip.c: In function `_eXosip_transaction_init':
eXosip.c:83: warning: implicit declaration of function `osip_transaction_init'
eXosip.c:83: error: `transaction' undeclared (first use in this function)
eXosip.c:83: error: (Each undeclared identifier is reported only once
eXosip.c:83: error: for each function it appears in.)
eXosip.c:83: error: `ctx_type' undeclared (first use in this function)
eXosip.c:83: error: `osip' undeclared (first use in this function)
eXosip.c:83: error: `message' undeclared (first use in this function)
eXosip.c: At top level:
eXosip.c:101: error: parse error before "osip_transaction_t"
eXosip.c:102: warning: no previous prototype for `eXosip_transaction_find'
eXosip.c: In function `eXosip_transaction_find':
eXosip.c:105: error: `transaction' undeclared (first use in this function)
eXosip.c:106: warning: implicit declaration of function `osip_list_eol'
eXosip.c:106: error: invalid use of incomplete typedef `eXosip_t'
eXosip.c:108: error: `osip_transaction_t' undeclared (first use in this function)
eXosip.c:108: error: `tr' undeclared (first use in this function)
eXosip.c:110: error: parse error before ')' token
eXosip.c: At top level:
eXosip.c:124: error: parse error before "osip_transaction_t"
eXosip.c: In function `_eXosip_retry_with_auth':
eXosip.c:127: error: `osip_transaction_t' undeclared (first use in this function)
eXosip.c:127: error: `out_tr' undeclared (first use in this function)
eXosip.c:128: error: `tr' undeclared (first use in this function)
eXosip.c:129: error: `osip_message_t' undeclared (first use in this function)
eXosip.c:129: error: `msg' undeclared (first use in this function)
eXosip.c:130: error: `osip_event_t' undeclared (first use in this function)
eXosip.c:130: error: `sipevent' undeclared (first use in this function)
eXosip.c:134: error: `osip_via_t' undeclared (first use in this function)
eXosip.c:134: error: `via' undeclared (first use in this function)
eXosip.c:137: error: `ptr' undeclared (first use in this function)
eXosip.c:140: error: `jd' undeclared (first use in this function)
eXosip.c:152: error: `retry' undeclared (first use in this function)
eXosip.c:155: warning: implicit declaration of function `osip_message_clone'
eXosip.c:158: warning: implicit declaration of function `OSIP_TRACE'
...
eXosip.c:474: error: `osip_transaction_t' undeclared (first use in this function)
eXosip.c:474: error: `out_tr' undeclared (first use in this function)
eXosip.c:476: warning: implicit declaration of function `osip_list_get'
eXosip.c:476: error: dereferencing pointer to incomplete type
eXosip.c:478: error: dereferencing pointer to incomplete type
eXosip.c:480: error: dereferencing pointer to incomplete type
eXosip.c:482: error: dereferencing pointer to incomplete type
eXosip.c:492: error: `OSIP_ERROR' undeclared (first use in this function)
eXosip.c:500: error: invalid use of incomplete typedef `eXosip_t'
eXosip.c:500: error: dereferencing pointer to incomplete type
...
eXosip.c:1138: error: dereferencing pointer to incomplete type
eXosip.c:1143: error: dereferencing pointer to incomplete type
eXosip.c:1144: error: dereferencing pointer to incomplete type
eXosip.c:1164: warning: implicit declaration of function `osip_message_get_www_authenticate'
eXosip.c:1165: warning: implicit declaration of function `osip_message_get_proxy_authenticate'
eXosip.c:1218: error: `osip_generic_param_t' undeclared (first use in this function)
eXosip.c:1218: error: `to_tag' undeclared (first use in this function)
eXosip.c:1219: warning: implicit declaration of function `osip_from_param_get_byname'
eXosip.c:1248: error: `OSIP_INFO1' undeclared (first use in this function)
eXosip.c: At top level:
eXosip.c:1297: error: parse error before '*' token
eXosip.c:1298: warning: no previous prototype for `eXosip_update_top_via'
eXosip.c: In function `eXosip_update_top_via':
eXosip.c:1301: error: `osip_generic_param_t' undeclared (first use in this function)
eXosip.c:1301: error: `br' undeclared (first use in this function)
eXosip.c:1302: error: `osip_via_t' undeclared (first use in this function)
eXosip.c:1302: error: `via' undeclared (first use in this function)
eXosip.c:1302: error: parse error before ')' token
eXosip.c:1307: error: `OSIP_ERROR' undeclared (first use in this function)
eXosip.c:1312: warning: implicit declaration of function `osip_via_param_get_byname'
eXosip.c:1323: warning: implicit declaration of function `osip_build_random_number'
eXosip.c:1326: warning: implicit declaration of function `osip_strdup'


Сообщение отредактировал jacuba - Apr 11 2011, 09:55
Go to the top of the page
 
+Quote Post

Сообщений в этой теме
- jacuba   linphone. ARM.   Apr 5 2011, 04:57
- - Petka   Цитата(jacuba @ Apr 5 2011, 08:57) Добрый...   Apr 5 2011, 06:44
- - jacuba   Petka, спасибо за ответ, ранее я скачивал speex от...   Apr 5 2011, 08:22
- - jacuba   появилась еще одна проблема: при компиляции speex ...   Apr 6 2011, 11:27
|- - Petka   Цитата(jacuba @ Apr 6 2011, 15:27) ... /u...   Apr 6 2011, 11:50
- - jacuba   Проблема решилась путем установки компилятора в /u...   Apr 7 2011, 06:01
|- - Petka   Цитата(jacuba @ Apr 7 2011, 10:01) Пробле...   Apr 7 2011, 06:41
- - jacuba   кхм... Наверно вот здесь и таится ошибка. Но я вс...   Apr 7 2011, 07:32
|- - Petka   Цитата(jacuba @ Apr 7 2011, 11:32) кхм......   Apr 7 2011, 08:05
|- - Petka   Цитата(jacuba @ Apr 11 2011, 13:51) .... ...   Apr 11 2011, 12:05
- - jacuba   Да, armbuild лежит прямо в корне. Только что пров...   Apr 12 2011, 04:47
- - jacuba   Я добился того, что linphone сконфигурировался и т...   Apr 12 2011, 06:25
|- - Petka   Цитата(jacuba @ Apr 12 2011, 10:25) Я доб...   Apr 12 2011, 08:39
- - jacuba   Я открыл файл b64.c и закоментировал строки 209-21...   Apr 12 2011, 11:02
- - jacuba   Задам еще вопрос. Компилирую linphone, получаю оши...   Apr 13 2011, 04:42
|- - Petka   Цитата(jacuba @ Apr 13 2011, 08:42) Задам...   Apr 13 2011, 06:38
- - jacuba   в поисках решения забрел на один китайский блог Go...   Apr 13 2011, 06:44
- - kurtis   Попробуйте воспользоваться openembedded. Там в зак...   Apr 13 2011, 07:58
- - jacuba   kurtis, спасибо за ответ. к сожалению Ваш linphone...   Apr 13 2011, 09:12
- - jacuba   кхм, может я плохо искал, но ничего на openembedde...   Apr 13 2011, 11:10
- - uriy   jacuba, удалось вам запустить linphone? Я тоже с н...   Dec 21 2011, 11:46


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 23rd July 2025 - 05:48
Рейтинг@Mail.ru


Страница сгенерированна за 0.0139 секунд с 7
ELECTRONIX ©2004-2016