Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55501 - gentoo-dev-sources-2.6.7-r6 patch which solves iptables build problem
Summary: gentoo-dev-sources-2.6.7-r6 patch which solves iptables build problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.netfilter.org/cgi-bi...
Whiteboard:
Keywords:
Depends on:
Blocks: 55489
  Show dependency tree
 
Reported: 2004-06-28 22:32 UTC by Alin Năstac (RETIRED)
Modified: 2004-06-30 15:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch which solves iptables build problem (08_linux-2.6.7-user_attr.patch,2.52 KB, patch)
2004-06-28 22:33 UTC, Alin Năstac (RETIRED)
Details | Diff
another patch which seems to be accepted in mainstream (iptables-headers.patch,1.98 KB, patch)
2004-06-28 23:57 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2004-06-28 22:32:12 UTC
all iptables builds fails to be builded unless a proper patch is applied to gentoo-dev-sources

Reproducible: Always
Steps to Reproduce:
emerge iptables
Actual Results:  
...
gcc -O3 -march=athlon-tbird -mcpu=athlon-tbird -pipe -fomit-frame-pointer
-fno-stack-protector -Iinclude -Wall -Wunused -I/usr/src/linux/include 
-DIPTABLES_VERSION=\"1.2.9\"  -fPIC -o extensions/libipt_recent_sh.o -c
extensions/libipt_recent.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_recent.c:8:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no
semicolon at end of struct or union
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax error
before '*' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax error
before '}' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type
defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter
names (without types) in function declaration
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
`DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_recent_sh.o] Error 1
...
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-06-28 22:33:32 UTC
Created attachment 34385 [details, diff]
patch which solves iptables build problem
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-28 23:09:59 UTC
Yes, but this isn't the final version of the patch that eventually made it into
Linus's tree, right?  Care to post that patch?
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-06-28 23:57:06 UTC
Created attachment 34391 [details, diff]
another patch which seems to be accepted in mainstream

There you go. I assume you are reffering to the patch posted in message
http://marc.theaimsgroup.com/?l=linux-kernel&m=108757933919370&w=2. In reply
http://marc.theaimsgroup.com/?l=linux-kernel&m=108767177813516&w=2 seems to be
accepted by kernel maintainers.
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-30 15:31:05 UTC
patch added to 2.6.7-r7 release