im running 2.4.31-hardened, i have extensions in my USE flags. I installed Layer7 fitler, source appeared in kernel tree, source. But when i compile it as module, file do not compile nor complain about something. When i compile source myself, it works and module is there. Reproducible: Always Steps to Reproduce: 1.emerge sys-kernel/hardened-sources-2.4.31 2. link it to /usr/src/linux 3. emerge net-misc/l7-filter 4. go to kernel, menuconfig, chose Layer7 filter (under netfilter) as module 5. make clean, make modules Actual Results: look to the kernel tree netfilter folder, layer7.o isnt there Expected Results: layer7.o should be there among other netfilter modules and it should install when you type make install :) i manage to compile it myself so its just some easy error... gcc -D__KERNEL__ -I/usr/src/linux-2.4.31-hardened/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -O2 -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.31-hardened/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_layer7 -c -o ipt_layer7.o ipt_layer7.c
found the 2.4 patch fails to add: obj-$(CONFIG_IP_NF_MATCH_LAYER7) += ipt_layer7.o to net/ipv4/netfilter/Makefile below a simliar line with CONFIG_IP_NF_MATCH_TCPMSS roughly I added more patching fuzz so l7-filter-1.4 should work now. thanks for the bug report thomas.