Skip to contentSkip to conversation

nfsim configure

PATCH New Michael Leow 1 participant 1 message Mar 4, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsim configure

Greetings from the 7th Asia OSS Code Fest!

Hit the following problem while compiling using the following
environment:- Linux 2.6.15.5 source and nfsim-20060303. Due to a missing x_tables.c; the Makefile is not created. Here is a simple patch for your consideration.

leow@xen:~/broken-nfsim/nfsim-fix$ diff -rN -u ../nfsim-20060303/configure configure
--- ../nfsim-20060303/configure 2006-01-09 04:55:34.000000000 +0800
+++ configure   2006-03-04 15:55:47.000000000 +0800
@@ -107,6 +107,9 @@
           echo "import: netfilter/gen/$f" >> Makefile.import
       done
       cat $KERNELDIR/net/netfilter/Makefile | grep -v 
'^obj-$(CONFIG_NETFILTER)' | grep -v '^netfilter-objs' > netfilter/gen/Makefile
+    else
+       # Empty ... :(
+       touch netfilter/gen/Makefile
    fi
fi

Regards,

Michael Leow
HighTraffic.com
(A Division of WebWork-Solutions Sdn Bhd)