John Haxby wrote:
$ ./configure --with-kbuild=/lib/modules/2.6.27.6/build
$ make
...
CC libxt_CHAOS.oo
CCLD libxt_CHAOS.so
libxt_CHAOS.oo: In function `_init':
/home/jch/rpmbuild/BUILD/xtables-addons-1.6/extensions/libxt_CHAOS.c:112:
multiple definition of `_init'
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/crti.o:(.init+0x0):
first defined here
collect2: ld returned 1 exit status
I've submitted a bug report for this:
https://bugzilla.redhat.com/show_bug.cgi?id=472548
Looking through this history of changes, it seems that this was a
well-intentioned fix as part of moving from "ld -shared" to "gcc
-shared" a while back (1.3.4 time) that accidentally got carried forward
even though it wasn't needed due to changes in iptables.
jch
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html