[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Failed to build 1.7.0-beta3 on IBM AIX 5.3

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Wed, 17 Aug 2011 08:42:16 -0500

On Tue, Aug 16, 2011 at 8:37 PM, 이수민 <kukgini_at_gmail.com> wrote:
> PLATFORM:
>  IBM AIX 5.3 (PPC 32bit)
>
>  $ uname -a
>  AIX myaixserver 3 5 0005D57A4C00
>
> COMPONENTS:
>  apr-1.4.5
>  apr-iconv-1.2.1
>  apr-util-1.3.12
>  sqlite-amalgamation-3070701
>  zlib-1.2.5
>
> CONFIGURATIONS:
>  ./configure --prefix=/home/citest/target/svn \
>  --enable-all-static \
>  --disable-shared \
>  --disable-nls \
>  --with-apr=/home/citest/target/apr \
>  --with-apr-util=/home/citest/target/apr-util \
>  --without-neon \
>  --without-serf \
>  --without-gssapi \
>  --without-berkeley-db\
>  --with-zlib=/home/citest/target/zlib
>
> RESULT LOG:
> ...
> cd subversion/svn && /bin/sh
> /home/citest/subversion-1.7.0-beta3/libtool --tag=CC --silent
> --mode=link gcc -all-static -static  -g -O2  -g -O2 -pthread
> -Werror=implicit-function-declaration   -rpath
> /home/citest/target/svn/lib  -o svn  add-cmd.lo blame-cmd.lo
> cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cleanup-cmd.lo
> commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo
> diff-cmd.lo export-cmd.lo help-cmd.lo import-cmd.lo info-cmd.lo
> list-cmd.lo lock-cmd.lo log-cmd.lo main.lo merge-cmd.lo
> mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo notify.lo patch-cmd.lo
> propdel-cmd.lo propedit-cmd.lo propget-cmd.lo proplist-cmd.lo props.lo
> propset-cmd.lo relocate-cmd.lo resolve-cmd.lo resolved-cmd.lo
> revert-cmd.lo status-cmd.lo status.lo switch-cmd.lo tree-conflicts.lo
> unlock-cmd.lo update-cmd.lo upgrade-cmd.lo util.lo
> ../../subversion/libsvn_client/libsvn_client-1.la
> ../../subversion/libsvn_wc/libsvn_wc-1.la
> ../../subversion/libsvn_ra/libsvn_ra-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_diff/libsvn_diff-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la
> -L/home/citest/target/apr-util/lib -laprutil-1     -lexpat -liconv
> -L/home/citest/target/apr/lib -lapr-1 -lpthread
> ld: 0711-317 ERROR: Undefined symbol: .compressBound
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.

For some reason, zlib isn't being linked in. The compressBound()
symbol is defined in zlib, and I would expect to see '-lz' in the link
command, but it isn't. I do note you're using a non-standard zlib
location in your configure command, but I don't know if the problem is
released to our configure scripts or something else.

Thanks for the report.

-Hyrum

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
Received on 2011-08-17 15:42:45 CEST

This is an archived mail posted to the Subversion Dev mailing list.