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

Compiling Subversion on AIX

From: Robert Cooper <robert.cooper.us_at_gmail.com>
Date: Thu, 22 Apr 2010 09:44:44 -0400

Hello,

I'm trying to compile subversion 1.6.11 source on AIX 6.1 TL3 using gcc
4.2.0-3.
I have already compiled apache httpd 2.2.15 and have it working. (with ldap,
dav, and authnz)

My end goal is to have subversion running on AIX with apache and LDAP
authentication to a Tivoli Directory Server.

I have tried following these procedures with no success:
http://www.tek-tips.com/viewthread.cfm?qid=1372779&page=8

Here is what I used for configure:
CC="gcc" ./configure -C --prefix=/usr/local/svn --with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr-util
--with-apache-libexecdir=/usr/local/apache2/modules

My problem is that subversion fails during the make process.

Here is the error that I get:
 /usr/local/apr/build-1/libtool --silent --mode=link gcc -Wl,-brtl
-L/opt/IBM/ldap/V6.1/lib -rpath /usr/local/svn/lib -o libserf-0.la
/usr/local/apr-util/lib/libaprutil-1.la -libmldapn -lexpat -liconv
/usr/local/apr/lib/libapr-1.la -lpthread -lm -lz -lssl -lcrypto
Usage: nm [-ACfhlprTv] [-B|-P] [-e|-g|-u] [-d|-o|-x|{-t [d|x|o]}]
                [-X{32|64|32_64|d64|any}] [--] File ...
        /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2
-pthread -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I.
-I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1
-I/opt/IBM/ldap/V6.1/include -c -o test/serf_get.lo test/serf_get.c &&
touch test/serf_get.lo
        /usr/local/apr/build-1/libtool --silent --mode=link gcc -Wl,-brtl
-L/opt/IBM/ldap/V6.1/lib -static -o test/serf_get /usr/local/apr-util/lib/
libaprutil-1.la -libmldapn -lexpat -liconv /usr/local/apr/lib/
libapr-1.la -lpthread -lm -lz -lssl -lcrypto
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.

Stop.
make: The error code from the last command is 1.

Stop.

I'm thinking there might be an issue with openssl but I'm not sure where the
error is and any help or direction would be greatly appreciated.

Thanks,
Robert
Received on 2010-04-22 16:26:21 CEST

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

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