linux-atm emake failed [SOLVED]
raskapulk 9 февраля, 2007 - 13:08
почитал http://gentoo-wiki.com/Safe_Cflags
поправил CFLAGS="-march=k8 -O2 -pipe"
в процессе пересборки всей системы наткнулся на ошибку... что делать ума не приложу
*********** creating atmarp gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prot otypes -c atmarpd.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prot otypes -c arp.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prot otypes -c io.c In file included from /usr/include/linux/netdevice.h:29, from /usr/include/linux/if_arp.h:27, from io.c:25: /usr/include/linux/if.h:118: error: redefinition of 'struct ifmap' /usr/include/linux/if.h:154: error: redefinition of 'struct ifreq' /usr/include/linux/if.h:204: error: redefinition of 'struct ifconf' io.c: In function 'accept_new': io.c:281: warning: pointer targets in passing argument 3 of 'accept' differ in signedness io.c:296: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness io.c: In function 'get_local': io.c:618: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness make[3]: *** [io.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/linux-atm-2.4.1-r1/work/linux-atm-2.4.1' make: *** [all-recursive-am] Error 2 !!! ERROR: net-dialup/linux-atm-2.4.1-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 608: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
»
- Для комментирования войдите или зарегистрируйтесь
Регистрируйтесь в оффициальной багзилле и ищите там. Возможно, поможет установка кейворда ~ для этого пакета.
---
Поискал в багзилле. Предлагают костыль, но, видимо, работающий. Вот он: