From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tahmid Quazi" Subject: Compiling iptables for Ipaq Date: Wed, 04 Jun 2003 12:10:44 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_F6A918B8.6908E8A2" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_F6A918B8.6908E8A2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable hi =20 I am trying to compile the user-space program "iptables" for linux-2.4.18-r= mk3-hh6. I have downloaded the latest iptables file and : iptables-1.2.8.tar.bz2=20 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" =20 When i run a genral make i get the following error: =20 [root@manet 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@manet iptables-1.2.8]# =20 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. =20 Please could someone help me. Many thanks in advance for your kind response. =20 -- tahmid --=_F6A918B8.6908E8A2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML
hi
 
I am trying to compile the user-space program = "iptables" for=20 linux-2.4.18-rmk3-hh6.
I have downloaded the latest iptables file and : iptables-1.2= .8.tar.bz2=20
And the patch: Pat= ch=20 against 1.2.7a
I have also tried the patch-o-matic patc= h-o-matic-20030107.tar.bz2
When i tried to "make" on both the patches, the prompt returned = with=20 "nothing to be done"
 
When i run a genral make i get the following error:
 
[root@manet iptables-1.2.8]# make
Extensions found:
ld -shared = -o=20 extensions/libipt_ah.so extensions/libipt_ah_sh.o
ld:=20 extensions/libipt_ah_sh.o: Relocations in generic ELF (EM:=20 40)
extensions/libipt_ah_sh.o: could not read symbols: File in wrong=20 format
make: *** [extensions/libipt_ah.so] Error 1
[root@manet=20 iptables-1.2.8]#
 
I seem to be following the instructions so i dont know where i am = going=20 wrong. (My KERNEL_DIR is the source code directory for the kernel i am=20 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
--=_F6A918B8.6908E8A2--