* Compiling iptables for Ipaq
@ 2003-06-04 10:10 Tahmid Quazi
0 siblings, 0 replies; 2+ messages in thread
From: Tahmid Quazi @ 2003-06-04 10:10 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
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@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]#
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
[-- Attachment #2: HTML --]
[-- Type: text/html, Size: 1911 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Compiling iptables for Ipaq
@ 2003-06-04 16:30 Daniel Chemko
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Chemko @ 2003-06-04 16:30 UTC (permalink / raw)
To: Tahmid Quazi, netfilter
[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]
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@nu.ac.za]
Sent: Wednesday, June 04, 2003 3:11 AM
To: netfilter@lists.netfilter.org
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
<http://www.netfilter.org/files/iptables-1.2.8.tar.bz2>
And the patch: Patch against 1.2.7a
<http://www.netfilter.org/files/patch-iptables-1.2.7a-1.2.8.bz2>
I have also tried the patch-o-matic patch-o-matic-20030107.tar.bz2
<http://www.netfilter.org/files/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@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]#
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
[-- Attachment #2: Type: text/html, Size: 8314 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-04 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04 10:10 Compiling iptables for Ipaq Tahmid Quazi
-- strict thread matches above, loose matches on Subject: below --
2003-06-04 16:30 Daniel Chemko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.