ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] x86_64 build host
Date: Wed, 8 Mar 2006 21:43:30 +0300
Message-ID: <20060308184330.GE9555@procyon.home> (raw)
In-Reply-To: <200603082230.08910.asy@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 2116 bytes --]

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 при сборке пакетов?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-03-08 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 18:30 Sergey Y. Afonin
2006-03-08 18:43 ` Sergey Vlasov [this message]
2006-03-09  6:22   ` Sergey Y. Afonin
2006-03-09 11:07     ` Sergey Vlasov
2006-03-09 11:12       ` Sergey Y. Afonin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060308184330.GE9555@procyon.home \
    --to=vsu@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git