bugzilla-daemon at bugzilla.netfilter.org
2009-Dec-13 22:00 UTC
[Bug 626] New: Execution and compilation problems
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.
bugzilla-daemon at bugzilla.netfilter.org
2009-Dec-14 08:25 UTC
[Bug 626] Execution and compilation problems
http://bugzilla.netfilter.org/show_bug.cgi?id=626 ------- Comment #1 from paul.bussmann at technidata.com 2009-12-14 09:25 ------- Some stuff resolved: 1) First time, I copied the wrong "iptables-multi". It still contained the "relink_command". 2) The compilation did not succeed, because the compilation command "make" was skipped. It seems that there is no prerequisite for "make install" given that there first needs something to be generated before it can be installed. ;-) Finally I can execute it on the target and all module stuff could be solved but it seems that the configured chains do not work... -- 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.
bugzilla-daemon at bugzilla.netfilter.org
2009-Dec-16 19:24 UTC
[Bug 626] Execution and compilation problems
http://bugzilla.netfilter.org/show_bug.cgi?id=626 kernel at linuxace.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from kernel at linuxace.com 2009-12-16 20:24 ------- Yes, running make is a prerequisite before "make install".> Finally I can execute it on the target and all module stuff could be solved butit seems that the configured chains do not work... Please ask questions about rules on the iptables-user mailing list. -- 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.
Possibly Parallel Threads
- [Bug 1231] New: libxt_bpf.c:69:6: error: 'union bpf_attr' has no member named 'pathname'
- [Bug 571] New: Compile of iptables 1.4.2 with testing Linux kernel 2.6.29-rc2 fails - workaround included
- [Bug 569] New: in6addr_any undeclared
- Dovecot on FreeBSD
- [ANNOUNCE] iptables 1.6.2 release