ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: ender@altlinux.org
Subject: Re: [devel] Портирование smcroute на 4.0 branch
Date: Tue, 4 May 2010 20:31:43 +0300
Message-ID: <g2qcc557aab1005041031vc7fbe5cfzf663e316566808f3@mail.gmail.com> (raw)
In-Reply-To: <201005041917.46292.cas@altlinux.ru>

2010/5/4 Андрей Черепанов <cas@altlinux.ru>:
> Пытаюсь для static multiroute портировать smcroute на 4.0 branch. Не выходит.
> Как отрубить /usr/include/netinet/in.h (явно в коде нигде не вызывается)?
>
> In file included from /usr/include/linux/mroute.h:5,
>                 from mclab.h:51,
>                 from smcroute.c:38:
> /usr/include/linux/in.h:26: error: redeclaration of enumerator 'IPPROTO_IP'
> /usr/include/netinet/in.h:33: error: previous definition of 'IPPROTO_IP' was
> here

В 4.0 слишком старые glibc-kernheaders. Как workaround -- вставить
#define _LINUX_IN_H перед включением <linux/mroute.h>

      reply	other threads:[~2010-05-04 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 15:17 Андрей Черепанов
2010-05-04 17:31 ` Kirill A. Shutemov [this message]

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=g2qcc557aab1005041031vc7fbe5cfzf663e316566808f3@mail.gmail.com \
    --to=kirill@shutemov.name \
    --cc=devel@lists.altlinux.org \
    --cc=ender@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