On Tue, Jan 23, 2007 at 10:47:41AM -0500, Colin Dean wrote: > The oddity here is in the second line of the actual gcc command. The > include path for modules shouldn't be > > -I"/lib/modules/2.6.18.3vojisto-base/build"/include > > and should be > > -I"/lib/modules/2.6.19.2vojisto-base/build"/include > > I guess a simple sed on the Makefile would fix that?
The iptables Makefile looks in /lib/modules/`uname -r`/build for the kernel source tree. If this isn't right for your system, you need to set KERNEL_DIR in the make command; for instance: make <whatever> KERNEL_DIR=/lib/modules/2.6.19.2vojisto-base/build sounds like it'd work in your case. (Looks like iptables by default likes to be compiled for the currently running kernel, not some other kernel version.)
pgpwj3L7WGYb7.pgp
Description: PGP signature
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
