* [devel] Портирование smcroute на 4.0 branch
@ 2010-05-04 15:17 Андрей Черепанов
2010-05-04 17:31 ` Kirill A. Shutemov
0 siblings, 1 reply; 2+ messages in thread
From: Андрей Черепанов @ 2010-05-04 15:17 UTC (permalink / raw)
To: ALT Linux Team development discussions; +Cc: ender
Пытаюсь для 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
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] Портирование smcroute на 4.0 branch
2010-05-04 15:17 [devel] Портирование smcroute на 4.0 branch Андрей Черепанов
@ 2010-05-04 17:31 ` Kirill A. Shutemov
0 siblings, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2010-05-04 17:31 UTC (permalink / raw)
To: ALT Linux Team development discussions; +Cc: ender
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-04 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-04 15:17 [devel] Портирование smcroute на 4.0 branch Андрей Черепанов
2010-05-04 17:31 ` Kirill A. Shutemov
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