On Thursday 2010-02-18 08:01, Jonas Berlin wrote: >> Well after all, libxtables_LIBS is currently never used. (Oh well it is used) >> (Extension modules don't link to it.) >> So I cannot imagine linking problems, but that's the point >> where you have to provide logs. > >Please find compilation output attached, the essential part being: > >make -f ../Makefile.iptrules all; >make[3]: Entering directory `/discs/11/backup/home/xkr47/kernel/router/linux-2.6.30-2/xtables-addons/src/extensions' > CC libxt_CHAOS.oo > CCLD libxt_CHAOS.so >/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lxtables >collect2: ld returned 1 exit status >make[3]: *** [libxt_CHAOS.so] Error 1 > >Seems to be this rule from Makefile.iptrules.in that is used: > >lib%.so: lib%.oo > ${AM_V_CCLD}${CCLD} ${AM_LDFLAGS} -shared ${LDFLAGS} -o $@ $< ${libxtables_LIBS} ${LDLIBS}; And you are able to make it link by overriding said libxtables_LIBS to your liking either at make time or (preferably) at configure time, as shown in the updated (in git) INSTALL file. -- 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