On Thu, Dec 06, 2012 at 01:39:38PM +0100, Tim Sander wrote:
> I just tested the ptxdist2012.11.0 release with a distrokit derived 
> installation with beaglebone. 
> 
> It seems as if iptables does not compile. I didn't dig deeper into this...
> also on downloading new files it gives an error that the magic file is not 
> beeing found?

Hu? Can you send the exact error message?

[...]
> ------------------------
> target: iptables.compile
> ------------------------
> 
> make[1]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
> make  all-recursive
> make[2]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
> Making all in libiptc
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libiptc'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/libiptc'
> Making all in libxtables
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libxtables'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/libxtables'
> Making all in include
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/include'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/include'
> Making all in extensions
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/extensions'
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_HMARK.so 
> libxt_HMARK.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_addrtype.so 
> libxt_addrtype.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_cluster.so 
> libxt_cluster.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_comment.so 
> libxt_comment.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_connbytes.so libxt_connbytes.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_connlimit.so libxt_connlimit.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_connmark.so 
> libxt_connmark.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_conntrack.so libxt_conntrack.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_cpu.so 
> libxt_cpu.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dccp.so 
> libxt_dccp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_devgroup.so 
> libxt_devgroup.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dscp.so 
> libxt_dscp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ecn.so 
> libxt_ecn.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_esp.so 
> libxt_esp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_hashlimit.so libxt_hashlimit.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_helper.so 
> libxt_helper.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_iprange.so 
> libxt_iprange.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ipvs.so 
> libxt_ipvs.oo -L../libxtables/.libs -lxtables ;
> libxt_HMARK.oo: In function `HMARK_ip6_save':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:395: undefined reference to 
> `xtables_ip6mask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:391: undefined reference to 
> `xtables_ip6mask_to_cidr'
> libxt_HMARK.oo: In function `HMARK_ip4_save':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:412: undefined reference to 
> `xtables_ipmask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:408: undefined reference to 
> `xtables_ipmask_to_cidr'
> libxt_HMARK.oo: In function `HMARK_ip4_print':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:348: undefined reference to 
> `xtables_ipmask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:345: undefined reference to 
> `xtables_ipmask_to_cidr'
> collect2: ld returned 1 exit status
> make[3]: *** [libxt_HMARK.so] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/extensions'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2'
> make: *** [/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/state/iptables.compile] Error 2

Is this with a clean build? I think I saw an error like this, because the
linker used an older libxtables from sysroot-target/usr/lib.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to