bugzilla-daemon at bugzilla.netfilter.org
2009-Jan-18 01:33 UTC
[Bug 571] New: Compile of iptables 1.4.2 with testing Linux kernel 2.6.29-rc2 fails - workaround included
http://bugzilla.netfilter.org/show_bug.cgi?id=571
Summary: Compile of iptables 1.4.2 with testing Linux kernel
2.6.29-rc2 fails - workaround included
Product: iptables
Version: unspecified
Platform: i386
OS/Version: Gentoo
Status: NEW
Severity: normal
Priority: P1
Component: iptables
AssignedTo: laforge at netfilter.org
ReportedBy: jrut at spamcop.net
On a Gentoo Linux distribution with gcc version 4.3.2 against testing Linux
kernel 2.6.29-rc2, I have encountered the following message:
---------
make[1]: Entering directory `/usr/src/iptables-1.4.2'
GEN initext4.c
CC initext4.o
AR libext4.a
AR libext4.a
GEN initext6.c
CC initext6.o
AR libext6.a
GEN matches4.man
GEN matches6.man
GEN targets4.man
GEN targets4.man
GEN targets6.man
CC libxt_CLASSIFY.oo
In file included from libxt_CLASSIFY.c:11:
/usr/src/linux/include/linux/pkt_sched.h:516: error: expected
specifier-qualifier-list before ?u32?
make[2]: *** [libxt_CLASSIFY.oo] Error 1
make[2]: Leaving directory `/usr/src/iptables-1.4.2/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/iptables-1.4.2'
make: *** [all] Error 2
-----------
Editing line 516 in linux-2.6.29-rc2/include/linux/pkt_sched.h to change
'u32'
to '__u32' allows the compile to proceed OK to completion. I do not
know if
the problem should be reported to you or to the kernel people.
Thank you very much for your efforts on behalf of iptables.
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2009-Jan-18 01:46 UTC
[Bug 571] Compile of iptables 1.4.2 with testing Linux kernel 2.6.29-rc2 fails - workaround included
http://bugzilla.netfilter.org/show_bug.cgi?id=571 ------- Comment #1 from jrut at spamcop.net 2009-01-18 02:46 ------- Created an attachment (id=294) --> (http://bugzilla.netfilter.org/attachment.cgi?id=294&action=view) patch to original linux-2.6.29-rc2 to workaround the problem - quite possibly not good final solution This patch is a "workaround" since I am not familiar with the linux kernel enough to be able to say whether the change in the 2.6.29 include file is a good change other than that it cures the problem with compiling iptables 1.4.2 with testing kernel 2.6.29-rc2. The patch MIGHT have undesired consequences when the include file is used with other software. -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2009-Feb-11 10:35 UTC
[Bug 571] Compile of iptables 1.4.2 with testing Linux kernel 2.6.29-rc2 fails - workaround included
http://bugzilla.netfilter.org/show_bug.cgi?id=571
laforge at netfilter.org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|laforge at netfilter.org |kaber at trash.net
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.