Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11739 closed defect (fixed)

r32484: package openvpn-devel-polarssl fails to build on ramips target

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

Description

build fails at link phase with following error:

/bin/bash ../../libtool --tag=CC --mode=link mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -L/home/martin/openwrt/trunk/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/usr/lib -L/home/martin/openwrt/trunk/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/lib -L/home/martin/openwrt/trunk/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/martin/openwrt/trunk/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -o openvpn base64.o buffer.o clinat.o crypto.o crypto_openssl.o crypto_polarssl.o dhcp.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o mroute.o mss.o mstats.o mtcp.o mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o pkcs11_polarssl.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o ssl_openssl.o ssl_polarssl.o ssl_verify.o ssl_verify_openssl.o ssl_verify_polarssl.o status.o tun.o win32.o cryptoapi.o ../../src/compat/libcompat.la -lnsl -lresolv -llzo2 -lpolarssl
OpenWrt-libtool: link: mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -o openvpn base64.o buffer.o clinat.o crypto.o crypto_openssl.o crypto_polarssl.o dhcp.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o mroute.o mss.o mstats.o mtcp.o mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o pkcs11_polarssl.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o ssl_openssl.o ssl_polarssl.o ssl_verify.o ssl_verify_openssl.o ssl_verify_polarssl.o status.o tun.o win32.o cryptoapi.o -L/home/martin/openwrt/trunk/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/usr/lib -L/home/martin/openwrt/trunk/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/lib -L/home/martin/openwrt/trunk/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/martin/openwrt/trunk/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib ../../src/compat/.libs/libcompat.a -lnsl -lresolv -llzo2 -lpolarssl
multi.o: In function `pf_c2c_test':
multi.c:(.text+0x100): undefined reference to `pf_cn_test'
multi.c:(.text+0x128): undefined reference to `pf_cn_test'
multi.o: In function `multi_bcast':
multi.c:(.text+0x1960): undefined reference to `pf_addr_test_dowork'
multi.o: In function `multi_process_incoming_tun':
multi.c:(.text+0x338c): undefined reference to `pf_addr_test_dowork'
multi.o: In function `multi_process_incoming_link':
multi.c:(.text+0x3780): undefined reference to `pf_addr_test_dowork'
multi.c:(.text+0x3988): undefined reference to `pf_addr_test_dowork'
init.o: In function `close_instance':
init.c:(.text+0x2780): undefined reference to `pf_destroy_context'
init.o: In function `init_instance':
init.c:(.text+0x39a4): undefined reference to `pf_init_context'
collect2: ld returned 1 exit status
make[7]: * [openvpn] Error 1

I also tried compiling with polarssl-1.14 but it didnt make a difference

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by porter.adam@…

I get the same issue on ARM (at91).

In menuconfig, go into openvpn-devel-polarssl Configuration. Deselect "Enable internal packet filter". It builds successfully now.

comment:2 Changed 6 years ago by mirko

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

Fixed in r32911, was supposed to be fixed in 32382, however according patch got misplaced.. my bad, sorry.

comment:3 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.