iptables 1.2.7a and kernel2.4.19
I ran into the same problem and eventually discovered that if you don't select connection mark tracking support it will compile and it appears to work ok.
The problem seems to be in all the patch-o-matics that I could find. None seem to cleanup correctly if this patch fails to apply. It never actually seems to apply correctly.
I even tried patching to 2.4.20-pre7 but it would never apply.