hi
I am trying to compile the user-space program "iptables" for
linux-2.4.18-rmk3-hh6.
I have downloaded the latest iptables file and : iptables-1.2.8.tar.bz2
And the patch: Patch
against 1.2.7a
I have also tried the patch-o-matic patch-o-matic-20030107.tar.bz2
When i tried to "make" on both the patches, the prompt returned with
"nothing to be done"
When i run a genral make i get the following error:
[root@xxxxx iptables-1.2.8]# make
Extensions found:
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
ld: extensions/libipt_ah_sh.o: Relocations in generic ELF (EM: 40)
extensions/libipt_ah_sh.o: could not read symbols: File in wrong format
make: *** [extensions/libipt_ah.so] Error 1
[root@xxxxx iptables-1.2.8]#
Extensions found:
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
ld: extensions/libipt_ah_sh.o: Relocations in generic ELF (EM: 40)
extensions/libipt_ah_sh.o: could not read symbols: File in wrong format
make: *** [extensions/libipt_ah.so] Error 1
[root@xxxxx iptables-1.2.8]#
I seem to be following the instructions so i dont know where i am going
wrong. (My KERNEL_DIR is the source code directory for the kernel i am
using)
Both 'gcc' and 'arm-linux-gcc' (for the iPaq) give me the same error.
Please could someone help me.
Many thanks in advance for your kind response.
-- tahmid