Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13695 closed defect (fixed)

Can't compile iptables for mpc85xx target after update in trunk

Reported by: st@… Owned by: juhosg
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc: st@…

Description

Can't compile iptables package for mpc85xx target (other targets are not affected) in trunk r36929.
Same error no matter wether IPv6 support is enabled or disabled in the config.

Making all in iptables
make[5]: Entering directory `/home/OpenWRT/trunk/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mpc85xx_generic/iptables-1.4.19.1/iptables'
/bin/sh ../libtool --tag=CC   --mode=link powerpc-openwrt-linux-uclibcspe-gcc -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Winline -pipe -DALL_INCLUSIVE -DENABLE_IPV4  -Os -pipe -fno-caller-saves -mcpu=8540 -fhonour-copts -Wno-error=unused-but-set-variable -I/home/OpenWRT/trunk/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mpc85xx_generic/iptables-1.4.19.1/include -I/home/OpenWRT/trunk/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.8.13/user_headers/include -ffunction-sections -fdata-sections   -L/home/OpenWRT/trunk/staging_dir/target-powerpc_uClibc-0.9.33.2/usr/lib -L/home/OpenWRT/trunk/staging_dir/target-powerpc_uClibc-0.9.33.2/lib -L/home/OpenWRT/trunk/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/OpenWRT/trunk/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/lib -Wl,--gc-sections  -o xtables-multi xtables_multi-xtables-multi.o xtables_multi-iptables-xml.o xtables_multi-iptables-save.o xtables_multi-iptables-restore.o xtables_multi-iptables-standalone.o xtables_multi-iptables.o  xtables_multi-xshared.o ../extensions/libext.a ../libiptc/libip4tc.la ../extensions/libext4.a  ../libxtables/libxtables.la -lm 
OpenWrt-libtool: link: powerpc-openwrt-linux-uclibcspe-gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DALL_INCLUSIVE -DENABLE_IPV4 -Os -pipe -fno-caller-saves -mcpu=8540 -fhonour-copts -Wno-error=unused-but-set-variable -I/home/OpenWRT/trunk/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mpc85xx_generic/iptables-1.4.19.1/include -I/home/OpenWRT/trunk/build_dir/target-powerpc_uClibc-0.9.33.2/linux-mpc85xx_generic/linux-3.8.13/user_headers/include -ffunction-sections -fdata-sections -Wl,--gc-sections -o .libs/xtables-multi xtables_multi-xtables-multi.o xtables_multi-iptables-xml.o xtables_multi-iptables-save.o xtables_multi-iptables-restore.o xtables_multi-iptables-standalone.o xtables_multi-iptables.o xtables_multi-xshared.o  -L/home/OpenWRT/trunk/staging_dir/target-powerpc_uClibc-0.9.33.2/usr/lib -L/home/OpenWRT/trunk/staging_dir/target-powerpc_uClibc-0.9.33.2/lib -L/home/OpenWRT/trunk/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/OpenWRT/trunk/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/lib ../extensions/libext.a ../libiptc/.libs/libip4tc.so ../extensions/libext4.a ../libxtables/.libs/libxtables.so -ldl -lm
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x44): undefined reference to `ip6tables_main'
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x4c): undefined reference to `ip6tables_main'
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x54): undefined reference to `ip6tables_save_main'
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x5c): undefined reference to `ip6tables_save_main'
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x64): undefined reference to `ip6tables_restore_main'
xtables_multi-xtables-multi.o:(.rodata.multi_subcommands+0x6c): undefined reference to `ip6tables_restore_main'
collect2: ld returned 1 exit status
make[5]: *** [xtables-multi] Error 1

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by florian

  • Owner changed from developers to juhosg
  • Status changed from new to assigned

comment:2 follow-up: Changed 5 years ago by anonymous

i am getting the same error, but i have managed to compile an image with ipv6 completely disabled without errors.

this error occurs after i have selected ebtables and ebtables-utils packages.

comment:3 in reply to: ↑ 2 Changed 5 years ago by st@…

Replying to anonymous:

this error occurs after i have selected ebtables and ebtables-utils packages.

Tried with trunk rev 37125 and ebtables disabled: same error appears.

comment:4 Changed 5 years ago by st@…

Just updated to trunk rev 37357: now building the image works without any error. Thanks very much!

comment:5 Changed 5 years ago by jow

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.