getting iptables into embedded kernel
Quoted 8 lines · Klaus Wacker
Yes, did that and then I try to run it but it only says "cannot execute binary file"
What machine were you using to compile the iptables binary?You mentioned, your target machine is a PPC, if you compile iptables on an x86 machine without cross compiling option for PPC, you will end up with an Intel binary that will not run on Power-PC architecture.
Quoted 6 lines
Frank
I compile on a PC linux box, my target is a PPC 85xx. I use a denx distro.
First I thought this goes into the kernel and theKERNEL_DIRtakes care of that.
I did have set myCROSS_COMPILEto my target and did set the PATH as well. I've just tried again with ARCH=ppc and CROSS_COMPILE=ppc_85xx- ;this doesn't work either.
Klaus
My tool chain does not work. I used "readelf" and it does tell me the file is been compiled for a 80386 So I will dig more into that direction. Cheers
Klaus
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066