Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9020 closed defect (worksforme)

transmission build/link error in trunk (libevent related)

Reported by: the2masters Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: transmission Cc: stefan@…


Since a few weeks transmission doesn't build for me. I think it fails while linking libtransmission to libevent2.

$ grep transmission .config
# CONFIG_PACKAGE_transmission-cli is not set
# CONFIG_PACKAGE_transmission-web is not set

$ grep libevent .config
# CONFIG_PACKAGE_libevent is not set
# CONFIG_PACKAGE_libeventlog is not set

The first lines of the error:

OpenWrt-libtool: link: mips-openwrt-linux-uclibc-gcc -I../third-party/dht -I/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr//include -I/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr//include -I/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr//include -pthread -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -D_GNU_SOURCE -o blocklist-test blocklist-test.o /srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib/  -L/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/srv/devel/openwrt/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/srv/devel/openwrt/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib ./libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/dht/libdht.a -L/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr//lib -lcurl -lssl -lcrypto -ldl -lz -lm -pthread
/srv/devel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib/ warning: gethostbyname is obsolescent, use getnameinfo() instead.
./libtransmission.a(net.o): In function `tr_netCloseSocket':
net.c:(.text+0x2c8): undefined reference to `evutil_closesocket'
./libtransmission.a(net.o): In function `tr_globalIPv6':
net.c:(.text+0x6dc): undefined reference to `evutil_closesocket'
net.c:(.text+0x70c): undefined reference to `evutil_closesocket'
./libtransmission.a(peer-io.o): In function `tr_evbuffer_write':
peer-io.c:(.text+0x36c): undefined reference to `evbuffer_write_atmost'

Attached the full build error and .config

Attachments (2)

transmission build.log (150.5 KB) - added by the2masters 7 years ago.
complete build log
.config (112.9 KB) - added by the2masters 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by the2masters

complete build log

Changed 7 years ago by the2masters


comment:1 Changed 7 years ago by obsy

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

make package/feeds/packages/libevent2/{clean,compile}

comment:2 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

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

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

Note: See TracTickets for help on using tickets.