Hello All, I am trying to port iptables on friendlyarm s3c2440. I am running 2.6.29 kernel. Did anyone previously try to port iptables to s3c2440? Can you please provide the steps for porting. Thanks in advance. Regards, Manohar
iptables on friendlyarm
Get the source (I used 1.4.6) and run (./iptables.sh) this script: iptables.sh ***************** #!/bin/bash export PATH=/usr/local/arm/4.3.2/bin:$PATH # general cross-compile export CROSS_COMPILE=arm-none-linux-gnueabi- export CC=${CROSS_COMPILE}gcc export CFLAGS=-march=armv4t # -mtune=arm920t not a valid identifier # -O0 -msoft-float -D__GCC_FLOAT_NOT_NEEDED export CXX=${CROSS_COMPILE}"g++" export AR=${CROSS_COMPILE}"ar" export AS=${CROSS_COMPILE}"as" export RANLIB=${CROSS_COMPILE}"ranlib" export LD=${CROSS_COMPILE}"ld" export STRIP=${CROSS_COMPILE}"strip" echo " ****************** Configuring iptables ********************* " cd /home/davef/iptables/iptables-1.4.6 ./configure --host=arm-linux --prefix=/home/davef/iptables --enable-shared=yes --enable-static=yes make make install *************** Adjusting for the compiler you use and your directory setup. Put: libip4tc.so.0 libiptc.so.0 and libxtables.so.4 in /lib Good luck.
Hi, I am cross compiling iptables for m68k-linux. I am getting the following error when I give the compiler option as "" . But, I am successful when I give "gcc" Error: libiptc.c:93: error: field `list' has incomplete type. Could you please help me on this. Thank you. Regards, Pandiyaraj