You're only partially stripping IPv6 support, e.g. luci-proto-ipv6 should be stripped as well. A more comprehensive list can be found here - no idea if it's exhaustive though.
@tmomas I checked the previous revision, that doesn't contain it either. I might have linked to the wrong page... If I find it I'll give you a heads up.
Im getting this error when trying to compile while removing the IPv6 modules. Any ideas?
make image PROFILE=tl841 PACKAGES="-ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libip6tc -luci-proto-ipv6 -odhcp6c -odhcpd"
make[1]: Entering directory /home/user/source' make[1]: *** No rule to make targetimage'. Stop.
make[1]: Leaving directory `/home/user/source'
make: *** [image] Error 2
That means that something else is turning it on, hit '?' to see what other
modules turn it on via the dependency resolution. Then go and turn them all off
(there may be multiple layers of dependencies here)
My bad, I thought I had to put the name of the config I created. Sorry.
edit getting this now
Ran it both as user and sudo.
For the record I did 'make defconfig', then 'make menuconfig', opened the config I had saved, saved it again then:
make image PROFILE=tplink841v9 PACKAGES="-ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libip6tc -luci-proto-ipv6 -odhcp6c -odhcpd".
When you are using complete build and not the imagebuilder like in the thread Build for TP-Link TL-WR841N(D) [all versions] you need to call make menuconfig and remove IPV6 by hand.
You cand find this option in menuconfig at /Global build settings/Enable IPv6 support in packages.
Check if you removed all IPv6 packages too, like /LuCI/protocols/luci-proto-ipv6.