[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-rc2 on IBM AIX 5.3

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 02 Sep 2011 09:53:14 +0100

渥諯 <kukgini_at_gmail.com> writes:

> $ make EXTRA_LDFLAGS=-lz
> cd subversion/svn && /bin/sh
> /home/citest/subversion-1.7.0-rc2/libtool --tag=CC --silent
> --mode=link gcc -all-static -static -g -O2 -g -O2 -pthread
> -Werror=implicit-function-declaration -lz -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.

Run the link command manually but change --silent to --verbose:

(cd subversion/svn && /bin/sh /home/citest/subversion-1.7.0-rc2/libtool --tag=CC --verbose --mode=link gcc -all-static -static -g -O2 -g -O2 -pthread -Werror=implicit-function-declaration -lz -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)

The line starting "libtool: link:" is the real link command. What does
that show? Does it include -lz?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-09-02 10:53:56 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.