Difference between revisions of "Iptables"
From CBLFS
Jump to navigationJump to search (→64Bit) |
|||
Line 25: | Line 25: | ||
We Build the Kernel in MultiLib with 64bit. Iptables link to the kernel, and therefor cannot be compiled in 32bit. As Far as i know... | We Build the Kernel in MultiLib with 64bit. Iptables link to the kernel, and therefor cannot be compiled in 32bit. As Far as i know... | ||
− | === | + | === M32 === |
− | + | Compile the package: | |
+ | |||
+ | make CC="gcc ${BUILDN32}" PREFIX=/usr LIBDIR=/lib32 BINDIR=/sbin | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make PREFIX=/usr LIBDIR=/lib32 BINDIR=/sbin install | ||
=== 64Bit === | === 64Bit === |
Revision as of 20:57, 4 September 2006
Download Source: | http://www.netfilter.org/projects/iptables/files/iptables-1.3.5.tar.bz2 |
---|
Dependencies
Non-Multilib
Compile the package:
make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin
Install the package
make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin install
Multilib
32Bit
We Build the Kernel in MultiLib with 64bit. Iptables link to the kernel, and therefor cannot be compiled in 32bit. As Far as i know...
M32
Compile the package:
make CC="gcc ${BUILDN32}" PREFIX=/usr LIBDIR=/lib32 BINDIR=/sbin
Install the package
make PREFIX=/usr LIBDIR=/lib32 BINDIR=/sbin install
64Bit
Compile the package:
make CC="gcc ${BUILD64}" PREFIX=/usr LIBDIR=/lib64 BINDIR=/sbin
Install the package
make PREFIX=/usr LIBDIR=/lib64 BINDIR=/sbin install