[devel] x86_64 build host
Sergey Vlasov
vsu на altlinux.ru
Ср Мар 8 21:43:30 MSK 2006
On Wed, Mar 08, 2006 at 10:30:08PM +0400, Sergey Y. Afonin wrote:
> Кто-то как-то тут упоминал, что может шел дать на x86_64.
> Нарвался на багу со сборкой, надо бы понять, в чём дело...
> Или, может, кто так подскажет ?
>
> x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -DMULTIPATH_NUM=32 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/include/net-snmp -I/usr/include/net-snmp/library -pipe -Wall -O2 -c irdp_packet.c
> x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -DMULTIPATH_NUM=32 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/include/net-snmp -I/usr/include/net-snmp/library -pipe -Wall -O2 -c router-id.c
> x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -DMULTIPATH_NUM=32 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/include/net-snmp -I/usr/include/net-snmp/library -pipe -Wall -O2 -c ioctl.c
> ioctl.c: In function `if_ioctl':
> ioctl.c:51: warning: 'err' might be used uninitialized in this function
> ioctl.c: In function `if_ioctl_ipv6':
> ioctl.c:84: warning: 'err' might be used uninitialized in this function
> x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -DMULTIPATH_NUM=32 -I. -I. -I.. -I.. -I.. -I../lib -I/usr/include/net-snmp -I/usr/include/net-snmp/library -pipe -Wall -O2 -c ipforward_sysctl.c
> ipforward_sysctl.c:43: error: `IPCTL_FORWARDING' undeclared here (not in a function)
> ipforward_sysctl.c:43: error: initializer element is not constant
> ipforward_sysctl.c:43: error: (near initialization for `mib[3]')
> ipforward_sysctl.c:116: error: `IP6CTL_FORWARDING' undeclared here (not in a function)
> ipforward_sysctl.c:116: error: initializer element is not constant
> ipforward_sysctl.c:116: error: (near initialization for `mib_ipv6[3]')
Насколько я понимаю, для Linux этот файл вообще не должен был
компилироваться - вместо него должен был использоваться
ipforward_proc.c. Похоже, проблему нужно искать в районе configure,
который хочет видеть /proc/net/snmp.
В пакете стоит BuildRequires: /proc ? В сборочнице для x86_64
разрешено использование /proc при сборке пакетов?
----------- следущая часть -----------
j e┴ф╜┼┴Ъ╕
l┼ з╤ЙчвоT╝Xm╤÷Ъ√+-╠╘m√)Нф┼ЮЧ≤╘z╧ ┼_щzВ╔Щ╚miхfz{lЪm4КMТСЖ╤o╫<o_з╤ж°├g╖╣╦╖
Подробная информация о списке рассылки Devel