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

Re: 1.4-rc4 fails to build on solaris 10 (update 1)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2006-07-21 15:25:22 CEST

Kurt Lidl <kurt.lidl@cello.com> writes:

> I thought I would attempt to build the latest and greatest release candidate
> on a sparc running Solaris 10 (update 1).
>
> Configured thusly:
> ./configure --with-berkeley-db --prefix=/usr/local/svn-1.4rc4
>
> It fails: (after spitting out hundreds of lines of errors in the link
> command)
>
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target
> `subversion/libsvn_ra_dav/libsvn_ra
> _dav-1.la'

A quick google indicates that this is caused by attempting to link
some non-PIC code into a shared library -- you have trimmed the error
message so that it's not possible to see exactly which non-PIC code is
involved.

You might be able to fix it by doing one of:
- install a shared version of whichever library is providing the
  non-PIC code
- configure Subversion to not build shared libraries
- if using gcc you could try linking with -mimpure-text

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 21 15:25:58 2006

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