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

Solaris compilation problem [apr_generate_random_bytes]

From: Dr. Chris Schleiermacher <junk_at_schleiermachers.de>
Date: 2003-11-28 09:56:33 CET

hi,
subversion 0.33.1 won't compile on solaris 9/gcc 3.3.1.

this is basically what i did:

#install db-4.1.25
cd /var/tmp/db-4.1.25
cd build_unix
CC=gcc ../dist/configure --enable-java=no --prefix=/tools/bdb
make install

#install apache2.0.48
cd /var/tmp/httpd-2.0.48
./buildconf
./configure --enable-dav --enable-so --enable-maintainer-mode
--with-berkeley-db=/tools/bdb --prefix=/tools/apache2.0.48
make
make install

#install subversion
cd /var/tmp/subversion-0.33.1
rm -r apr/ apr-util/
cp -var /var/tmp/httpd-2.0.48/srclib/apr .
cp -var /var/tmp/httpd-2.0.48/srclib/apr-util .

./configure --prefix=/tools/subversion --with-berkeley-db=/tools/bdb
--with-apxs=/tools/apache2.0.48/bin/apxs
make

make[1]: Leaving directory `/var/tmp/subversion-0.33.1/neon'
------ completed all in neon
cd subversion/clients/cmdline && /bin/bash
/var/tmp/subversion-0.33.1/libtool --silent --mode=link gcc -g -O2 -g
-O2 -pthreads -DNEON_ZLIB -L/tools/bdb/lib -R/tools/bdb/lib
-L/tools/bdb/lib -L/var/tmp/subversion-0.33.1/apr-util/xml/expat/lib
-rpath /tools/subversion/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
/var/tmp/subversion-0.33.1/apr-util/libaprutil-0.la -ldb-4.1
/var/tmp/subversion-0.33.1/apr-util/xml/expat/lib/libexpat.la
/var/tmp/subversion-0.33.1/apr/libapr-0.la -lrt -lm -lsocket -lnsl
-lresolv -ldl /var/tmp/subversion-0.33.1/neon/src/libneon.la
-L/tools/bdb/lib -R/tools/bdb/lib -L/tools/subversion/lib -lnsl
-lsocket -lz -lsocket
ld: warning: file ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so:
linked to
/var/tmp/subversion-0.33.1/subversion/libsvn_wc/.libs/libsvn_wc-1.so:
attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so:
linked to
/var/tmp/subversion-0.33.1/subversion/libsvn_ra/.libs/libsvn_ra-1.so:
attempted multiple inclusion of file
ld: warning: file
../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to
/var/tmp/subversion-0.33.1/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
attempted multiple inclusion of file
ld: warning: file
../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to
/var/tmp/subversion-0.33.1/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
Undefined first referenced
  symbol in file
apr_generate_random_bytes
/var/tmp/subversion-0.33.1/subversion/libsvn_ra_svn/.libs/libsvn_ra_svn-1.so
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1

thanks in advance for your help

cheers

chris

-- 
---------------------------------------------------------------------
Dr. Chris Schleiermacher                      Bioinformatics Research
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 28 10:04:35 2003

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.