OpenWRT(realtek) (Не собирается прошивка!!!)

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС для молодых и начинающих системных администраторов.

Модератор: SLEDopit

Ответить
zeitroid
Сообщения: 2

OpenWRT(realtek)

Сообщение zeitroid »

Решил прошить дорогое убожество (upvel-825ac), т.к. родное ПО не смотря на то что умеет все делать визуально, на деле ограничилось визуальностью )))
Остановился на OpenWRT.

нашел прошивку в бинарном виде, которая удачно установилась. Там есть веб морда, и как бы все что для счастья надо - все есть!!! Но вот мне необходимо команда "ip" для добавления в таблицу arp IP c маком FF:FF:FF:FF:FF:FF (для broadcast).
Решил такую интригу разрулить с помощью arp -s но, оказалось любой аргумент в команде ARP игнорируется. Доставить пакет не получилось... адрес (http://downloads.openwrt.org/barrier_breaker/14.07/realtek/rtl819xd/) на который ссылается не существует (ПОЧЕМУ???).

Тогда подумал что можно самому скомпилировать (прошивку / пакеты)
Исходники взял с https://sourceforge.net/projects/rtl819x/files/
Документацию по установки на русском взял с https://www.denisyuriev.ru/linux/openwrt-li...-iz-isxodnikov/

Распаковал архив rtk_openwrtSDK_v2.5.tar.gz.
В стал в корневую директорию и набрал команду
# make prereq
в результате появилось окно где я смог указать платформу. И на этом все. как только захотел скомпилировать сразу же возникла ошибка:
Missing site config for target "rlx-openwrt-linux-uclibc"
И далее полный путь к этому файлу... по которому я его не нашел!!!
У меня такое ощущение что все что связано с realtek повырезали!!!

Помогите мне найти или собрать пакет "ip". Очень нужен!!! Без него я вряд ли смогу разбудить (WOL) свои компьютеры из мира интернета!!!

System-On-Chip: Realtek RTL8197DN - это чудо у upvel-825ac
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 20752
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: OpenWRT(realtek)

Сообщение Bizdelnick »

zeitroid писал(а):
10.11.2016 16:37
У меня такое ощущение что все что связано с realtek повырезали!!!

Оно официально и не поддерживалось. См. https://wiki.openwrt.org/toh/upvel/ur825ac:
Currently OpenWRT for this device is in beta testing. And there is a lot of good results!
Discussions on the OpenWRT forum here
Возможно, по ссылкам с форума что-нибудь и найдёте, хотя они в большинстве битые.
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
zeitroid
Сообщения: 2

Re: OpenWRT(realtek)

Сообщение zeitroid »

Ага, спасибо! какие то репозитории живые. Только исходники не собираются.
Всегда вылетает на сборки glib-1.2.10:
Что можете посоветовать?
Вот лог:

Код: Выделить всё

testglib.c: In function 'g_node_test':
testglib.c:86:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (root) == 1 && g_node_max_height (root) == 1);
   ^
testglib.c:90:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, root->children == node_B);
   ^
testglib.c:98:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, root->children->next == node_F);
   ^
testglib.c:108:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (root) == 1);
   ^
testglib.c:109:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (root) == 4);
   ^
testglib.c:110:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (node_G->children->next) == 4);
   ^
testglib.c:111:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_LEAFS) == 7);
   ^
testglib.c:112:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_NON_LEAFS) == 4);
   ^
testglib.c:113:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_ALL) == 11);
   ^
testglib.c:114:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (node_F) == 3);
   ^
testglib.c:115:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_children (node_G) == 4);
   ^
testglib.c:116:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find_child (root, G_TRAVERSE_ALL, C2P ('F')) == node_F);
   ^
testglib.c:117:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find (root, G_LEVEL_ORDER, G_TRAVERSE_NON_LEAFS, C2P ('I')
   ^
testglib.c:118:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find (root, G_IN_ORDER, G_TRAVERSE_LEAFS, C2P ('J')) == no
   ^
testglib.c:123:7: warning: reading through null pointer (argument 5) [-Wformat=]
       TEST (NULL, P2C (node->data) == ('C' + i));
       ^
testglib.c:127:5: warning: reading through null pointer (argument 5) [-Wformat=]
     TEST (NULL, g_node_child_position (node_G, g_node_nth_child (node_G, i)) ==
     ^
testglib.c:182:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (root) > 100);
   ^
testglib.c:183:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_ALL) == 1 + 2048);
   ^
testglib.c: In function 'main':
testglib.c:359:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint8) == 1);
   ^
testglib.c:361:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint16) == 2);
   ^
testglib.c:363:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint32) == 4);
   ^
testglib.c:366:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint64) == 8);
   ^
testglib.c:904:3: warning: format not a string literal and no format arguments [-Wformat-security]
   g_print (string);
   ^
mv -f .deps/testglib.Tpo .deps/testglib.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc  -O2 -I/home/user/Загрузки/OpeWRT/staging_dir/host/include -Wall  -D_REENTRANT  -L/home/user/Загрузки/OpeWRT/staging_dir/host/lib  -o testglib testglib.o libglib.la
libtool: link: gcc -O2 -I/home/user/Загрузки/OpeWRT/staging_dir/host/include -Wall -D_REENTRANT -o testglib testglib.o  -L/home/user/Загрузки/OpeWRT/staging_dir/host/lib ./.libs/libglib.a
./.libs/libglib.a(garray.o): In function `g_bit_nth_lsf':
garray.c:(.text+0x130): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(garray.o): In function `g_bit_nth_msf':
garray.c:(.text+0x160): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(garray.o): In function `g_bit_storage':
garray.c:(.text+0x1a0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_nth_lsf':
ghash.c:(.text+0x230): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_nth_msf':
ghash.c:(.text+0x260): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_storage':
ghash.c:(.text+0x2a0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_nth_lsf':
glist.c:(.text+0x1a0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_nth_msf':
glist.c:(.text+0x1d0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_storage':
glist.c:(.text+0x210): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_nth_lsf':
gmem.c:(.text+0x50): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_nth_msf':
gmem.c:(.text+0x80): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_storage':
gmem.c:(.text+0xc0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_nth_lsf':
gmessages.c:(.text+0x690): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_nth_msf':
gmessages.c:(.text+0x6c0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_storage':
gmessages.c:(.text+0x700): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_nth_lsf':
gmutex.c:(.text+0x70): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_nth_msf':
gmutex.c:(.text+0xa0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_storage':
gmutex.c:(.text+0xe0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_nth_lsf':
gnode.c:(.text+0x860): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_nth_msf':
gnode.c:(.text+0x890): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_storage':
gnode.c:(.text+0x8d0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_nth_lsf':
gprimes.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_nth_msf':
gprimes.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_storage':
gprimes.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_nth_lsf':
grel.c:(.text+0x290): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_nth_msf':
grel.c:(.text+0x2c0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_storage':
grel.c:(.text+0x300): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_nth_lsf':
gslist.c:(.text+0xf0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_nth_msf':
gslist.c:(.text+0x120): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_storage':
gslist.c:(.text+0x160): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_nth_lsf':
gstrfuncs.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_nth_msf':
gstrfuncs.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_storage':
gstrfuncs.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_nth_lsf':
gstring.c:(.text+0xa0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_nth_msf':
gstring.c:(.text+0xd0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_storage':
gstring.c:(.text+0x110): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_nth_lsf':
gtimer.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_nth_msf':
gtimer.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_storage':
gtimer.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_nth_lsf':
gtree.c:(.text+0x960): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_nth_msf':
gtree.c:(.text+0x990): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_storage':
gtree.c:(.text+0x9d0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_lsf':
gutils.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_storage':
gutils.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
collect2: error: ld returned 1 exit status
Makefile:456: recipe for target 'testglib' failed
make[8]: *** [testglib] Error 1
make[8]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:531: recipe for target 'all-recursive' failed
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:364: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:536: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25'
Makefile:309: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25'
Makefile:34: recipe for target '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/.built' failed
make[3]: *** [/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/.built] Error 2
make[3]: Leaving directory '/home/user/Загрузки/OpeWRT/tools/pkg-config'
tools/Makefile:149: recipe for target 'tools/pkg-config/compile' failed
make[2]: *** [tools/pkg-config/compile] Error 2
make[2]: Leaving directory '/home/user/Загрузки/OpeWRT'
tools/Makefile:148: recipe for target '/home/user/Загрузки/OpeWRT/staging_dir/target-mips_uClibc-0.9.33.2_lexra/stamp/.tools_install_nnnnn' failed
make[1]: *** [/home/user/Загрузки/OpeWRT/staging_dir/target-mips_uClibc-0.9.33.2_lexra/stamp/.tools_install_nnnnn] Error 2
make[1]: Leaving directory '/home/user/Загрузки/OpeWRT'
/home/user/Загрузки/OpeWRT/include/toplevel.mk:152: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2
Спасибо сказали:
petrojoker
Сообщения: 1

Re: OpenWRT(realtek)

Сообщение petrojoker »

zeitroid писал(а):
11.11.2016 13:51
Ага, спасибо! какие то репозитории живые. Только исходники не собираются.
Всегда вылетает на сборки glib-1.2.10:
Что можете посоветовать?
Вот лог:

Код: Выделить всё

testglib.c: In function 'g_node_test':
testglib.c:86:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (root) == 1 && g_node_max_height (root) == 1);
   ^
testglib.c:90:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, root->children == node_B);
   ^
testglib.c:98:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, root->children->next == node_F);
   ^
testglib.c:108:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (root) == 1);
   ^
testglib.c:109:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (root) == 4);
   ^
testglib.c:110:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_depth (node_G->children->next) == 4);
   ^
testglib.c:111:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_LEAFS) == 7);
   ^
testglib.c:112:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_NON_LEAFS) == 4);
   ^
testglib.c:113:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_ALL) == 11);
   ^
testglib.c:114:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (node_F) == 3);
   ^
testglib.c:115:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_children (node_G) == 4);
   ^
testglib.c:116:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find_child (root, G_TRAVERSE_ALL, C2P ('F')) == node_F);
   ^
testglib.c:117:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find (root, G_LEVEL_ORDER, G_TRAVERSE_NON_LEAFS, C2P ('I')
   ^
testglib.c:118:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_find (root, G_IN_ORDER, G_TRAVERSE_LEAFS, C2P ('J')) == no
   ^
testglib.c:123:7: warning: reading through null pointer (argument 5) [-Wformat=]
       TEST (NULL, P2C (node->data) == ('C' + i));
       ^
testglib.c:127:5: warning: reading through null pointer (argument 5) [-Wformat=]
     TEST (NULL, g_node_child_position (node_G, g_node_nth_child (node_G, i)) ==
     ^
testglib.c:182:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_max_height (root) > 100);
   ^
testglib.c:183:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, g_node_n_nodes (root, G_TRAVERSE_ALL) == 1 + 2048);
   ^
testglib.c: In function 'main':
testglib.c:359:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint8) == 1);
   ^
testglib.c:361:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint16) == 2);
   ^
testglib.c:363:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint32) == 4);
   ^
testglib.c:366:3: warning: reading through null pointer (argument 5) [-Wformat=]
   TEST (NULL, sizeof (gint64) == 8);
   ^
testglib.c:904:3: warning: format not a string literal and no format arguments [-Wformat-security]
   g_print (string);
   ^
mv -f .deps/testglib.Tpo .deps/testglib.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc  -O2 -I/home/user/Загрузки/OpeWRT/staging_dir/host/include -Wall  -D_REENTRANT  -L/home/user/Загрузки/OpeWRT/staging_dir/host/lib  -o testglib testglib.o libglib.la
libtool: link: gcc -O2 -I/home/user/Загрузки/OpeWRT/staging_dir/host/include -Wall -D_REENTRANT -o testglib testglib.o  -L/home/user/Загрузки/OpeWRT/staging_dir/host/lib ./.libs/libglib.a
./.libs/libglib.a(garray.o): In function `g_bit_nth_lsf':
garray.c:(.text+0x130): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(garray.o): In function `g_bit_nth_msf':
garray.c:(.text+0x160): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(garray.o): In function `g_bit_storage':
garray.c:(.text+0x1a0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_nth_lsf':
ghash.c:(.text+0x230): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_nth_msf':
ghash.c:(.text+0x260): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(ghash.o): In function `g_bit_storage':
ghash.c:(.text+0x2a0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_nth_lsf':
glist.c:(.text+0x1a0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_nth_msf':
glist.c:(.text+0x1d0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(glist.o): In function `g_bit_storage':
glist.c:(.text+0x210): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_nth_lsf':
gmem.c:(.text+0x50): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_nth_msf':
gmem.c:(.text+0x80): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmem.o): In function `g_bit_storage':
gmem.c:(.text+0xc0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_nth_lsf':
gmessages.c:(.text+0x690): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_nth_msf':
gmessages.c:(.text+0x6c0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmessages.o): In function `g_bit_storage':
gmessages.c:(.text+0x700): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_nth_lsf':
gmutex.c:(.text+0x70): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_nth_msf':
gmutex.c:(.text+0xa0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gmutex.o): In function `g_bit_storage':
gmutex.c:(.text+0xe0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_nth_lsf':
gnode.c:(.text+0x860): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_nth_msf':
gnode.c:(.text+0x890): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gnode.o): In function `g_bit_storage':
gnode.c:(.text+0x8d0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_nth_lsf':
gprimes.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_nth_msf':
gprimes.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gprimes.o): In function `g_bit_storage':
gprimes.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_nth_lsf':
grel.c:(.text+0x290): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_nth_msf':
grel.c:(.text+0x2c0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(grel.o): In function `g_bit_storage':
grel.c:(.text+0x300): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_nth_lsf':
gslist.c:(.text+0xf0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_nth_msf':
gslist.c:(.text+0x120): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gslist.o): In function `g_bit_storage':
gslist.c:(.text+0x160): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_nth_lsf':
gstrfuncs.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_nth_msf':
gstrfuncs.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gstrfuncs.o): In function `g_bit_storage':
gstrfuncs.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_nth_lsf':
gstring.c:(.text+0xa0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_nth_msf':
gstring.c:(.text+0xd0): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gstring.o): In function `g_bit_storage':
gstring.c:(.text+0x110): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_nth_lsf':
gtimer.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_nth_msf':
gtimer.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gtimer.o): In function `g_bit_storage':
gtimer.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_nth_lsf':
gtree.c:(.text+0x960): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_nth_msf':
gtree.c:(.text+0x990): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gtree.o): In function `g_bit_storage':
gtree.c:(.text+0x9d0): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_lsf':
gutils.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_storage':
gutils.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
collect2: error: ld returned 1 exit status
Makefile:456: recipe for target 'testglib' failed
make[8]: *** [testglib] Error 1
make[8]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:531: recipe for target 'all-recursive' failed
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:364: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:536: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25'
Makefile:309: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25'
Makefile:34: recipe for target '/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/.built' failed
make[3]: *** [/home/user/Загрузки/OpeWRT/build_dir/host/pkg-config-0.25/.built] Error 2
make[3]: Leaving directory '/home/user/Загрузки/OpeWRT/tools/pkg-config'
tools/Makefile:149: recipe for target 'tools/pkg-config/compile' failed
make[2]: *** [tools/pkg-config/compile] Error 2
make[2]: Leaving directory '/home/user/Загрузки/OpeWRT'
tools/Makefile:148: recipe for target '/home/user/Загрузки/OpeWRT/staging_dir/target-mips_uClibc-0.9.33.2_lexra/stamp/.tools_install_nnnnn' failed
make[1]: *** [/home/user/Загрузки/OpeWRT/staging_dir/target-mips_uClibc-0.9.33.2_lexra/stamp/.tools_install_nnnnn] Error 2
make[1]: Leaving directory '/home/user/Загрузки/OpeWRT'
/home/user/Загрузки/OpeWRT/include/toplevel.mk:152: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2

Объяснить почему не могу, но лично мне помогла смена диструбутива. На mint 16 сыпал такую ​​же ошибку, на лубунту 14 данный этап сборки успешно прошел
P.S Сейчас борюсь со сборкой ядра.
P.P.S Лубунту x86
Спасибо сказали:
Ответить