Summary: | Iptables 1.2.9 emerge fails, ipt_get_target being redefined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | CheatersRealm <cheaterditsh> |
Component: | New packages | Assignee: | Daniel Ahlberg (RETIRED) <aliz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jsaker |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
CheatersRealm
2004-03-09 18:44:42 UTC
What kernel are you using? I am using gentoo-dev-sources 2.6.3-r1 (as seen from emerge info) if you need ssh in (as root), I can provide it (but not over the bugs... maybe through e-mail?) Where does /usr/src/linux point to? cd /usr/src/ ls -l lrwxrwxrwx 1 root root 31 mar 9 21:26 linux -> /usr/src/linux-2.5.3-gentoo-r1/ ....<snipped some other kernels here> drwxr-xr-x 19 root root 968 mar 9 21:01 linux-2.6.3-gentoo-r1 whoops, typo in previous post.. it's not 2.5.3 it's 2.6.3 Hi, the same goes for me: ----snip----- gcc -pipe -fomit-frame-pointer -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 ld -shared -o extensions/libipt_recent.so extensions/libipt_recent_sh.o gcc -pipe -fomit-frame-pointer -Iinclude -Wall -Wunused -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.9\" -DIPT_LIB_DIR=\"/lib/iptables\" -c -o iptables.o iptables.c iptables.c:153: error: redefinition of `ipt_get_target' /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:294: error: `ipt_get_target' previously defined here iptables.c: In function `parse_target': iptables.c:819: warning: int format, different type arg (arg 4) iptables.c: In function `register_match': iptables.c:1027: warning: unsigned int format, different type arg (arg 5) iptables.c: In function `register_target': iptables.c:1057: warning: unsigned int format, different type arg (arg 5) iptables.c: In function `print_num': iptables.c:1080: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1080: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1082: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1082: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1084: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1084: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1086: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1086: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1088: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1088: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1090: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c:1090: warning: long long unsigned int format, u_int64_t arg (arg 2) iptables.c: In function `print_firewall': iptables.c:1278: warning: unsigned int format, different type arg (arg 2) iptables.c: In function `do_command': iptables.c:1990: warning: long long unsigned int format, u_int64_t arg (arg 3) iptables.c:1995: warning: long long unsigned int format, u_int64_t arg (arg 3) make: *** [iptables.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) System: AMD64 Kernel: gentoo-dev-2.6.4 /usr/src/linux points to it hmmm, it works for me now - can hmmm, it works for me now - canĀ“t say what it was, the only thing I did in the meantime was: emerge system && emerge -U world. kernel is still gentoo-dev-2.6.4. thanks, Florian I was having this exact error with the ipt_get_target being redifined and I found this on the iptables bug tracker: https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=82 Seems as though I had turned off optimization (no -O[1-3]) the CFLAGS in make.conf for debugging reasons recently and forgot to turn it back on. I just turned it back on and it compiles fine. Might want to make a patch regardless. Thanks, Jeremy In CVS, thanks! *** Bug 52118 has been marked as a duplicate of this bug. *** |