Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] openswan 2.4.9 "natt" patch breaks linux build
@ 2007-09-19  5:03 Ulf Samuelsson
  2007-09-19 19:13 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2007-09-19  5:03 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] openswan 2.4.9 "natt" patch breaks linux build
  2007-09-19  5:03 [Buildroot] openswan 2.4.9 "natt" patch breaks linux build Ulf Samuelsson
@ 2007-09-19 19:13 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-09-19 19:13 UTC (permalink / raw)
  To: buildroot

On Wed, Sep 19, 2007 at 07:03:41AM +0200, Ulf Samuelsson wrote:
>Get the following error when I build for x86.

>Clearly up->pcflag should not be removed.

Yes. The patches from openswan.org look like they are against some
ancient version, i don't know. I've fixed the _BH accounting and a few
other bits.

>I will fix this when I update openswan

Sounds great. TIA,
Bernhard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-19 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19  5:03 [Buildroot] openswan 2.4.9 "natt" patch breaks linux build Ulf Samuelsson
2007-09-19 19:13 ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox