RE: Compiling iptables for Ipaq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My most obvious suggestion would be:

 

- clean out the object files with a make distclean

- Hard code CC as arm-linux-gcc or gcc if you aren’t cross compiling

- Make sure you `make config` on the kernel set to the arm platform you are going to run it on. Not sure if this makes a difference, but I can see that it might.

 

 

Ack, it has been so long since doing this stuff! Maybe after I wrangle that free PDA out of the evil empire’s hands, I will `Linify` it!

 

 

 

-----Original Message-----
From: Tahmid Quazi [mailto:quazit@xxxxxxxx]
Sent: Wednesday, June 04, 2003 3:11 AM
To: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: Compiling iptables for Ipaq

 

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.28.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]#

 

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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux