[Bug 626] New: Execution and compilation problems
bugzilla-daemon at bugzilla.netfilter.org
bugzilla-daemon at bugzilla.netfilter.org
Sun Dec 13 23:00:25 CET 2009
http://bugzilla.netfilter.org/show_bug.cgi?id=626
Summary: Execution and compilation problems
Product: iptables
Version: unspecified
Platform: arm
OS/Version: Debian GNU/Linux
Status: NEW
Severity: blocker
Priority: P1
Component: iptables
AssignedTo: laforge at netfilter.org
ReportedBy: paul.bussmann at technidata.com
I use version 1.4.6, but it can't be selected in "Version" in this bug report
form...
I was unable to get iptables running on an ARM/Linux machine.
I'm using Debian-based (Ubuntu) for cross-compilation and Debian/GNU-Linux
(ARM) for execution.
When I configure without "--enable-static" everything compiles fine and I
transfer the executable on the target device but it complains about missing
compiler when I start it on the target (!) machine.
root at myhost /tmp
$ ln -s iptables-multi iptables
root at myhost /tmp
$ ./iptables --help
./iptables: line 1: cd: /home/dlmdevelop/arm-src/iptables-1.4.6: No such file
or directory
./iptables: line 1: arm-linux-gcc: command not found
Do I need a compiler on the target (!) device for iptables? I checked the
iptables FAQ but I didn't find anything about that.
I gave it another try with static linking "--enable-static" but this does not
even compile. The error message is:
[...]
arm-linux-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow
-Wstrict-prototypes -Winline -pipe
-DXTABLES_LIBDIR=\"/home/dlmdevelop/arm-target/libexec/xtables\"
-DXTABLES_INTERNAL -I./include -I./include -I
/var/public/kernel/linux-2.6.11-mm2-karo/include -I
/var/public/kernel/linux-2.6.11-mm2-karo/include -DIPTABLES_MULTI
-DALL_INCLUSIVE -g -O2 -MT iptables_multi-xshared.o -MD -MP -MF
.deps/iptables_multi-xshared.Tpo -c -o iptables_multi-xshared.o `test -f
'xshared.c' || echo './'`xshared.c
mv -f .deps/iptables_multi-xshared.Tpo .deps/iptables_multi-xshared.Po
make[1]: *** No rule to make target `extensions/libext4.a', needed by
`iptables-multi'. Stop.
make[1]: Leaving directory `/home/dlmdevelop/arm-src/iptables-1.4.6'
make: *** [install-recursive] Error 1
So I tried to build extensions/libext4.a first without the option
"--enable-static", but it can't be compiled anyway:
dlmdevelop at dlmdevelop ~/arm-src/iptables-1.4.6
$ ./configure --disable-ipv6
--with-kernel=/var/public/kernel/linux-2.6.11-mm2-karo --host=arm-linux
--prefix=/home/dlmdevelop/arm-target && make extensions/libext4.a
[...]
config.status: executing libtool commands
make: *** No rule to make target `extensions/libext4.a'. Stop.
Any help is appreciated!
Best regards
Paul
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the netfilter-buglog
mailing list