changing the PREFIX: in the main Makefile does not compile correctly, as there is another definition in the file iptables.c, line 43:
IPT_LIB_DIR which is not defined in the main Makefile. The definition in the Makefile is similar and this seems to be a bug: IPT_LIBDIR compiling with a changed PREFIX generates binaries that still search the modules in /usr/local/iptables. ----------- Another issue is that the compiler (or some subordinated program) complains about syntax in /extensions/owner.c, line 23, a macro cannot be used inside a printf function. ----------- compiler: gcc 3.0.4, on Linux libc 2.2.2, Kernel 2.4.18