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

AIX-5.2 Compile Problems with 1.1.3

From: Kaleb Pederson <kpederson_at_ewu.edu>
Date: 2005-03-09 18:29:36 CET

Hello! Subversion-1.1.3 won't compile on AIX-5.2. I used the following
configure line:

LDFLAGS="-L/usr/local/lib" CC="`which cc`" ./configure --enable-all-static
--without-berkeley-db --without-apache --without-jdk --without-swig
--enable-shared=no

When I compile using 'cc', the IBM compiler -- "C for AIX Compiler, Version
6." it fails. Using the exact same commandline, with the exception of
CC="`which gcc`", everything works fine (I was really hoping not to have to
install it...)

The error message is as follows:

        cd subversion/clients/cmdline
&& /bin/sh /home/kpederso/builds/subversion-1.1.3/libtool --silent
--mode=link /usr/bin/cc -all-static -g -g -qHALT=E -L/usr/local/lib
-Wl,-brtl -L/home/kpederso/builds/subversion-1.1.3/apr-util/xml/expat/lib
-rpath /usr/local/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o
cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o
mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o
propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o
revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o
util.o ../../../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_subr/libsvn_subr-1.la /home/kpederso/builds/subversion-1.1.3/apr-util/libaprutil-0.la /home/kpederso/builds/subversion-1.1.3/apr-util/xml/expat/lib/libexpat.la
-liconv /home/kpederso/builds/subversion-1.1.3/apr/libapr-0.la -lm -lnsl
-lpthread /home/kpederso/builds/subversion-1.1.3/neon/src/libneon.la
-L/usr/local/lib -L/usr/local/lib
ld: 0711-317 ERROR: Undefined symbol: t_open
ld: 0711-317 ERROR: Undefined symbol: t_close
ld: 0711-317 ERROR: Undefined symbol: t_getstate
ld: 0711-317 ERROR: Undefined symbol: t_unbind
ld: 0711-317 ERROR: Undefined symbol: t_sync
ld: 0711-317 ERROR: Undefined symbol: t_bind
ld: 0711-317 ERROR: Undefined symbol: t_getinfo
ld: 0711-317 ERROR: Undefined symbol: _terrno
ld: 0711-317 ERROR: Undefined symbol: t_alloc
ld: 0711-317 ERROR: Undefined symbol: t_connect
ld: 0711-317 ERROR: Undefined symbol: t_rcvconnect
ld: 0711-317 ERROR: Undefined symbol: t_free
ld: 0711-317 ERROR: Undefined symbol: t_rcv
ld: 0711-317 ERROR: Undefined symbol: t_look
ld: 0711-317 ERROR: Undefined symbol: t_rcvrel
ld: 0711-317 ERROR: Undefined symbol: t_sndrel
ld: 0711-317 ERROR: Undefined symbol: t_rcvdis
ld: 0711-317 ERROR: Undefined symbol: t_snddis
ld: 0711-317 ERROR: Undefined symbol: t_snd
ld: 0711-317 ERROR: Undefined symbol: t_optmgmt
ld: 0711-317 ERROR: Undefined symbol: t_sndudata
ld: 0711-317 ERROR: Undefined symbol: t_rcvudata
ld: 0711-317 ERROR: Undefined symbol: t_rcvuderr
ld: 0711-317 ERROR: Undefined symbol: t_errlist
ld: 0711-317 ERROR: Undefined symbol: t_nerr
ld: 0711-317 ERROR: Undefined symbol: t_listen
ld: 0711-317 ERROR: Undefined symbol: t_accept
ld: 0711-317 ERROR: Undefined symbol: crypt_r
ld: 0711-317 ERROR: Undefined symbol: getpass_auto
ld: 0711-317 ERROR: Undefined symbol: max_pw_passlen
ld: 0711-317 ERROR: Undefined symbol: salt_len
ld: 0711-317 ERROR: Undefined symbol: encrypted_pw_passlen
ld: 0711-317 ERROR: Undefined symbol: max_history_size
ld: 0711-317 ERROR: Undefined symbol: _valid_crypted
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Stop.

On another note, all the symbols above are defined in /usr/lib/libnsl.a. As
an example:

# nm -B /usr/lib/libnsl.a | grep -i "t_opt"
    175840 t .set_option(char*,char*)
    112612 T .t_optmgmt
    112612 t .t_optmgmt
         - U t_optmgmt
     63452 d t_optmgmt

Any ideas?

Thanks.

--Kaleb

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 18:33:58 2005

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