Modify

Opened 5 years ago

Last modified 5 years ago

#12600 new defect

R34599 aria2 cannot be compiled

Reported by: raf.szczesny@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

Making all in src
make[6]: Entering directory `/home/mike/openwrt/wndr3700/build_dir/target-mips_r2_uClibc-0.9.33.2/aria2-1.16.0/src'
/bin/bash ../libtool --tag=CXX --mode=link mips-openwrt-linux-uclibc-g++ -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/mike/openwrt/wndr3700/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/wndr3700/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -o aria2c main.o option_processing.o version_usage.o libaria2c.a ../deps/wslay/lib/libwslay.la -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -lssl -lcrypto -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -lxml2 -lm -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib
libtool: link: mips-openwrt-linux-uclibc-g++ -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -o aria2c main.o option_processing.o version_usage.o -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/wndr3700/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/mike/openwrt/wndr3700/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/mike/openwrt/wndr3700/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib libaria2c.a ../deps/wslay/lib/.libs/libwslay.a -lssl -lcrypto -lxml2 -lm
libaria2c.a(GZipDecodingStreamFilter.o): In function `aria2::GZipDecodingStreamFilter::release()':
GZipDecodingStreamFilter.cc:(.text+0x28): undefined reference to `inflateEnd'
libaria2c.a(GZipDecodingStreamFilter.o): In function `aria2::GZipDecodingStreamFilter::init()':
GZipDecodingStreamFilter.cc:(.text+0xc4): undefined reference to `inflateInit2_'
libaria2c.a(GZipDecodingStreamFilter.o): In function `aria2::GZipDecodingStreamFilter::transform(aria2::SharedHandle<aria2::BinaryStream> const&, aria2::SharedHandle<aria2::Segment> const&, unsigned char const*, unsigned int)':
GZipDecodingStreamFilter.cc:(.text+0x360): undefined reference to `inflate'
libaria2c.a(GZipEncoder.o): In function `aria2::GZipEncoder::release()':
GZipEncoder.cc:(.text+0x30): undefined reference to `deflateEnd'
libaria2c.a(GZipEncoder.o): In function `aria2::GZipEncoder::init()':
GZipEncoder.cc:(.text+0xdc): undefined reference to `deflateInit2_'
libaria2c.a(GZipEncoder.o): In function `aria2::GZipEncoder::encode(unsigned char const*, unsigned int, int)':
GZipEncoder.cc:(.text+0x228): undefined reference to `deflate'
collect2: ld returned 1 exit status

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by raf.szczesny@…

The fix is following:
ZLIB_LIBS="-L$(STAGING_DIR)/usr/lib -lz"

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.