Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13167 closed defect (worksforme)

iptables not linking

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

Description

Hi, with the newest version of iptables I get the
following error when running *make*:

make[6]: Entering directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18/extensions'
mips-openwrt-linux-uclibc-gcc -Wl,--no-undefined -shared -L/home/ruben/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/ruben/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/ruben/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/ruben/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib  -o libxt_AUDIT.so libxt_AUDIT.oo -L../libxtables/.libs -L../libiptc/.libs -lxtables ;
make[6]: Leaving directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18/extensions'
Making all in iptables
make[6]: Entering directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18/iptables'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18/iptables'
make[6]: Entering directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18'
make[6]: Leaving directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18'
make[5]: Leaving directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18'
make[4]: Leaving directory `/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18'
make[3]: Leaving directory `/home/ruben/openwrt/package/network/utils/iptables'
make[2]: Leaving directory `/home/ruben/openwrt'
make[1]: Leaving directory `/home/ruben/openwrt'
libxt_AUDIT.oo: In function `audit_parse':
libxt_AUDIT.c:(.text+0x28): undefined reference to `xtables_option_parse'
libxt_AUDIT.c:(.text+0x44): undefined reference to `xtables_option_parse'
collect2: ld returned 1 exit status
make[6]: *** [libxt_AUDIT.so] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [/home/ruben/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-lantiq_xway/iptables-1.4.18/.built] Error 2
make[2]: *** [package/network/utils/iptables/compile] Error 2
make[1]: *** [/home/ruben/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make: *** [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by anonymous

I had the same problem. "Make distclean" solved it. Maybe only "target/linux/clean" needed?

comment:2 Changed 5 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

Unclean tree

comment:3 follow-up: Changed 5 years ago by fpga_dsp@…

cp (your target build dir)/iptables-1.4.18/libxtables/.libs/*.so.* to staging_dir/target-XXX/lib/

comment:4 in reply to: ↑ 3 ; follow-up: Changed 5 years ago by ifengchao@…

Replying to fpga_dsp@…:

cp (your target build dir)/iptables-1.4.18/libxtables/.libs/*.so.* to staging_dir/target-XXX/lib/

I tried that,but does not work,still the same error even after make clean.

comment:5 in reply to: ↑ 4 Changed 5 years ago by anonymous

Replying to ifengchao@…:

Replying to fpga_dsp@…:

cp (your target build dir)/iptables-1.4.18/libxtables/.libs/*.so.* to staging_dir/target-XXX/lib/

I tried that,but does not work,still the same error even after make clean.

had the same problem, use 'distclean' which gets the feeds too.

do this :

make distclean
./scripts/feeds update
./scripts/feeds install -a
make menuconfig
make

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.