Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13102 - 1.4 RC2 stage3 athlon-xp doesn't compile iptables
Summary: 1.4 RC2 stage3 athlon-xp doesn't compile iptables
Status: RESOLVED DUPLICATE of bug 10424
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-02 10:28 UTC by Axel Gneiting
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Gneiting 2003-01-02 10:28:08 UTC
The compile process terminates because there is a redefinition in iptables.c

iptables.c:147: redefinition of `ipt_get_target'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:294: `ipt_get_target'
previously defined here
make: *** [iptables.o] Error 1

In the source the failure happens here:

#ifndef __OPTIMIZE__
struct ipt_entry_target *
ipt_get_target(struct ipt_entry *e)
{
        return (void *)e + e->target_offset;
}
#endif

The compile doesn't work with the default settings because no -Ox is defined

CFLAGS="athlon-xp -O3 -pipe" fixes the problem, but I think it should work
without too
Comment 1 SpanKY gentoo-dev 2003-01-02 21:15:20 UTC
*** This bug has been marked as a duplicate of 10424 ***