--- Makefile 2006-09-27 12:03:41.000000000 +0200 +++ Makefilenico 2008-04-16 16:21:01.000000000 +0200 @@ -29,7 +29,7 @@ ifndef $(IPTABLES_SRC) IPTVER = \ $(shell $(IPTABLES_BIN) --version | $(SED) -e 's/^iptables v//') -IPTABLES_SRC = $(wildcard /usr/src/iptables-$(IPTVER)) +IPTABLES_SRC = /usr/src/iptables-1.4.0 endif ifeq ($(IPTABLES_SRC),) @@ -64,7 +64,9 @@ libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC -c libipt_ipp2p.c - ld -shared -o libipt_ipp2p.so libipt_ipp2p.o + @# ld -shared -o libipt_ipp2p.so libipt_ipp2p.o + $(CC) -shared -o libipt_ipp2p.so libipt_ipp2p.o + clean: -rm -f *.o *.so *.ko .*.cmd *.mod.c