From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] openswan 2.4.9 "natt" patch breaks linux build
Date: Wed, 19 Sep 2007 07:03:41 +0200 [thread overview]
Message-ID: <1190178221.4516.59.camel@aeglos.sweden.atmel.com> (raw)
Get the following error when I build for x86.
net/ipv4/udp.c:1100:43: error: macro "UDP_INC_STATS_BH" requires 2
arguments, but only 1 given
net/ipv4/udp.c: In function ?udp_queue_rcv_skb?:
net/ipv4/udp.c:1100: error: ?UDP_INC_STATS_BH? undeclared (first use in
this function)
net/ipv4/udp.c:1100: error: (Each undeclared identifier is reported only
once
net/ipv4/udp.c:1100: error: for each function it appears in.)
net/ipv4/udp.c:1102:40: error: macro "UDP_INC_STATS_BH" requires 2
arguments, but only 1 given
make[3]: *** [net/ipv4/udp.o] Fel 1
make[2]: *** [net/ipv4] Fel 2
make[1]: *** [net] Fel 2
diff on different "natt" patches show:
2.4.7/openswan-2.4.7.kernel-2.6-natt.patch:-
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag);
2.4.7/openswan-2.4.7.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag);
2.4.7/openswan-2.4.7.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INERRORS, up->pcflag);
2.4.8/openswan-2.4.8.kernel-2.6-natt.patch:-
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag);
2.4.8/openswan-2.4.8.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag);
2.4.8/openswan-2.4.8.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INERRORS, up->pcflag);
2.4.9/openswan-2.4.9.kernel-2.6-natt.patch:-
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag);
2.4.9/openswan-2.4.9.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS);
2.4.9/openswan-2.4.9.kernel-2.6-natt.patch:+
UDP_INC_STATS_BH(UDP_MIB_INERRORS);
Clearly up->pcflag should not be removed.
I will fix this when I update openswan
--
Best Regards,
Ulf Samuelsson mail: ulf at atmel.com
Atmel Nordic AB
Box 2033, 174 52 Sundbyberg
Kavalleriv?gen 24, 174 58 Sundbyberg
Sweden
Tel: +46 8 441 54 22 GSM: +46 706 224457
next reply other threads:[~2007-09-19 5:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 5:03 Ulf Samuelsson [this message]
2007-09-19 19:13 ` [Buildroot] openswan 2.4.9 "natt" patch breaks linux build Bernhard Fischer
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=1190178221.4516.59.camel@aeglos.sweden.atmel.com \
--to=ulf@atmel.com \
--cc=buildroot@busybox.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox