Пока могу сказать только что удалось запустить freeswitch.
Однако потребовалось скопировать библиотеки libcrypto.so.1.0.0, libssl.so.1.0.0, libz.so из /usr/lib в /opt/lib (прошивка tomato dual-wan)
А также доустановить библиотеки libpq, libuuid, libiconv-full.
Эхо тест работает. Продолжаю ковыряться)
RT-N16 + Entware repo
Моего опыта не достаточно для того, чтобы с ходу разобраться что изменилось в правилах декларирования структур (?) в GCC.
При обновлении в тулчейне GCC c 4.4.6 на 4.5.3 перстал собираться GoGoClient 6.0.1:
Здесь можно посмотреть на код md5.c и md5.h.Code:mipsel-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -I/staging_dir/target-mipsel-linux-gnu/opt/include -I/staging_dir/target-mipsel-linux-gnu/include -I/opt/brcm/hndtools-mipsel-uclibc/include -O2 -Wall -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/platform/linux -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/include -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/../gw6c-pal/out_inc -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/../gw6c-pal/defs -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/../gw6c-config -I/build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/../gw6c-messaging -D_REENTRANT -c md5c.c -o /build_dir/target-mipsel-linux-gnu/gw6c-6_0_1/tspc-advanced/objs/md5c.o md5c.c:138:18: error: expected ')' before '*' token md5c.c:157:20: error: expected ')' before '*' token md5c.c:196:17: error: expected ')' before '*' token md5c.c:219:37: error: expected declaration specifiers or '...' before 'MD5_CTX' md5c.c: In function 'MD5Final': md5c.c:222:2: warning: implicit declaration of function 'MD5Pad' md5c.c:222:10: error: 'context' undeclared (first use in this function) md5c.c:222:10: note: each undeclared identifier is reported only once for each function it appears in
Ч.д? Перелопачивать changelog GCC c 4.4.6 по 4.5.3?
Last edited by ryzhov_al; 12-04-2012 at 08:32.
Ничего не изменилось, у тебя где-то пересечение по include-файлам. Несмотря на то, что в GoGoClient безумная лапша в Makefile, у меня он собрался. Правда, с -DNO_OPENSSL
Это совершенно другой вариант(по записи, а не алгоритму), отличающийся от GoGoClient.Здесь можно посмотреть на код md5.c и md5.h.
Last edited by AlexeyS; 12-04-2012 at 09:16.
Да, знаю. Но использование этого вариант приводило к идентичной ошибке.Верно, спасибо. Поправил, надеюсь по указанному в патче относительному пути не окажется в будущем ещё один md5.h.
Как сделать это ещё более безопасным способом - не знаю.
Last edited by ryzhov_al; 12-04-2012 at 11:12.
Last edited by lly; 12-04-2012 at 11:26.
Конечно! Почему бы не выложить?!
ЗЫ пятьсот ревизий, юбилейчик.
Last edited by ryzhov_al; 12-04-2012 at 12:15.
Доброго времени суток. Случайно наткнулся на хорррошую весчь - клиент dc.http://dev.yorhel.nl/ncdc
попробовап его на роутере скомпилить... процесс configure дошел почти до конца и выдал
Подскажите плиз,куда копать... или на старых прошивках (не rtn) сие чудо в принципе не будет работать?Code:checking for GLIB... no configure: error: in `/tmp/mnt/disc0_3/ftp_pub/ncdc': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details
Last edited by Omega; 14-04-2012 at 23:01. Reason: а что мешает прошиться на новую -rtn ? :) тем более, что ncdc 9.04 уже был добавлен в репозиторий entware ... ;)
RT-N66U Tomato Firmware 1.28.0000 MIPSR2-109 K26 USB AIO-64K
WL-500W: 1.9.2.7-d-r2624 + huawei 353 - дачный интернет
прошивать мой старенький и идеально работающий wl-500w на rtn счас, наверное. уже поздно, все равно вроде как собрался его менять на rt-n66u. a если еще учесть,что у меня мнооого чего установлено и все это пашет как из ружья, то может даже и новый роутер брать не буду.... это ж столько всего опять ставить, настраивать... легче застрелиться, особенно если учесть, что это линукс с его паутиной настроек....
Last edited by skuwakin; 15-04-2012 at 09:32.
RT-N66U Tomato Firmware 1.28.0000 MIPSR2-109 K26 USB AIO-64K
WL-500W: 1.9.2.7-d-r2624 + huawei 353 - дачный интернет
Доброе время суток! Поставил Ubuntu 11.04, toolchain (как описано здесь с небольшими дополнениями с этого форума).
Для проверски сделал make mc-ipk. Сборка прошла, пакет сформировался (т.е. предположительно все работает).
Приступил к сборе php. И возникла следующая ошибка:
всё! Гуглил и задавал вопросы яндексу - ничего не помогло! Перерыл php.mk и configurate - все без толку! Помогите проблему - это желательнее всего. Ну или может кто поможет собрать php из optware со стандартным набором ключей + --with-iconfCode:./configure: 11818: 5: Bad file descriptor ./configure: 11818: :: checking for __dn_skipname in -lbind: not found ./configure: 11818: 6: Bad file descriptor ./configure: 11818: checking for __dn_skipname in -lbind... : not found ./configure: 11818: ac_fn_c_try_link: not found ./configure: 11818: 5: Bad file descriptor ./configure: 11818: :: result: no: not found ./configure: 11818: 6: Bad file descriptor ./configure: 11818: no: not found ./configure: 11823: 5: Bad file descriptor ./configure: 11823: :: checking for ANSI C header files: not found ./configure: 11823: 6: Bad file descriptor ./configure: 11823: checking for ANSI C header files... : not found ./configure: 11922: ac_fn_c_try_compile: not found ./configure: 11924: 5: Bad file descriptor ./configure: 11924: :: result: no: not found ./configure: 11924: 6: Bad file descriptor ./configure: 11924: no: not found ./configure: 11971: ac_cv_header_dirent_dirent.h: not found ./configure: 11971: 5: Bad file descriptor ./configure: 11971: :: checking for dirent.h that defines DIR: not found ./configure: 11971: 6: Bad file descriptor ./configure: 11971: checking for dirent.h that defines DIR... : not found eval: 1: Bad substitution make: *** [/root/optware/oleg/builds/php/.configured] Ошибка 2
Помогите пожалуйста, скомпилировать сабж. Первое:
таким скриптом вызываю конфигур в исходниках
Code:$ cat /opt/configure_hnd #!/bin/sh AR=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-ar \ AS=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-as \ LD=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-ld \ NM=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-nm \ CC=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-gcc \ CPP="/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-gcc -E" \ GCC=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-gcc \ CXX=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-g++ \ RANLIB=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-ranlib \ STRIP=/opt/hndtools-mipsel-uclibc-4.6.3-K26/bin/mipsel-uclibc-strip \ LDFLAGS="-Wl,-rpath,/opt/lib-oleg " \ ./configure \ --build=i386-pc-linux-gnu \ --host=mipsel-linux \ --target=mipsel-linux \ $*не знаю, как победить ошибку:Code:~/asus_router/usbb2k-api$ /opt/configure_hnd --prefix=/opt/router/пробовал скачать и собрать библиотеку либюсб из исходников http://sourceforge.net/projects/libu...-1.0.9.tar.bz2, конфигурировал и инсталлировал так:Code:checking for usb_init in -lusb... no Error! You need to have libusb around.
ошибок не былоCode:/opt/configure_hnd --prefix=/opt/hndtools-mipsel-uclibc-4.6.3-K26 && make && make install
Аналогично компилировал необходимые библиотеки для linphone, но на библиотеке libavcodec затык у меня.
Входит она в состав ffmpeg, а как ее там собрать - не знаю , там в подкаталоне ffmpeg есть libavcodec, но нет ни конфиг-скрипта, ни мейкфайла...Code:PKG_CONFIG_PATH=/opt/hndtools-mipsel-uclibc-4.6.3-K26/lib/pkgconfig/ /opt/configure_hnd --disable-x11 --enable-console_ui=yes --enable-gtk_ui=no --enable-alsa --prefix=/opt/router/