Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > Linux для начинающих

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 20.08.2014, 23:02   #11
nikolya344
Junior Member
 
Регистрация: 20.08.2014
Сообщений: 2
Вес репутации: 0
nikolya344 is an unknown quantity at this point
По умолчанию Re: Кросс компиляция прошивки OpenWRT и пакетов на Ubuntu

Здравствуйте.

Скомпилировал attitude adjustment для dir-320 с необходимыми пакетами в репозитории, но там нет chan_dongle для asterisk. По примеру из шапки закинул исходники в папку ./packege/ распакованую папку с исходниками, после make clean в make menuconfig отметил этот пакет как модуль и в результате запуска компиляции одного пакета получил пару ошибок:

In file included from /home/mykola/openwrt/dir-320v1/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.6.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/bits/types.h:31:0,
from /home/mykola/openwrt/dir-320v1/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.6.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/unistd.h:188,
from /home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/compat.h:37,
from /home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk.h:27,
from app.c:17:
/home/mykola/openwrt/dir-320v1/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.6.3/include/stddef.h:212:23: : duplicerrorate 'unsigned'
/home/mykola/openwrt/dir-320v1/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.6.3/include/stddef.h:212:23: error: two or more data types in declaration specifiers
In file included from /home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/compat.h:37:0,
from /home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk.h:27,
from app.c:17:
/home/mykola/openwrt/dir-320v1/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.6.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/unistd.h:191:19: error: two or more data types in declaration specifiers
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/chan_dongle-1.1.r10'
make[2]: *** [/home/mykola/openwrt/dir-320v1/build_dir/target-mipsel_uClibc-0.9.33.2/chan_dongle-1.1.r10/.built] Error 2
make[2]: Leaving directory `/home/mykola/openwrt/dir-320v1/package/chan_dongle-1.1.r14/contrib/openwrt/asterisk18-chan-dongle'
make[1]: *** [package/chan_dongle-1.1.r14/contrib/openwrt/asterisk18-chan-dongle/compile] Error 2
make[1]: Leaving directory `/home/mykola/openwrt/dir-320v1'
make: *** [package/chan_dongle-1.1.r14/contrib/openwrt/asterisk18-chan-dongle/compile] Ошибка 2

В makefile я подправил версию asterisk под которую нужно скомпилировать модуль. Я в английском не силен, но помоему что-то лишнее (что-то повторяется). Может кто-то подсказать в чем может быть проблема?
nikolya344 вне форума   Ответить с цитированием
 


Здесь присутствуют: 2 (пользователей: 0 , гостей: 2)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 09:04. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика