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

Re: Problem building Subversion on RHEL-5

From: Blair Zajac <blair_at_orcaware.com>
Date: Thu, 23 Oct 2008 17:12:50 -0700

Jerry wrote:
> Hello Subversion users,
> I hope you can point me in a positive direction.
> I am having trouble building subversion with Neon.
> The error portion of the build is as follows.
> I have put in the blank lines between each line just to be more readable.
> It obviously dies trying to find something during a load, and seems to
> complain about mixing a 'shared' with a 'local' object.
> It says something about recompiling with '-fPIC' -- where would that
> go and why doesn't it figure that out? I have done really standard
> things including using the neon in the subversion-deps-1.5.3 file that
> goes along with the latest subversion-1.5.3 tar file and put it in
> the subversion source directory. It seems to find that OK. Is
> something else missing?
> I just wouldn't expect to need an extra compiler flag that isn't
> put there by the configure unless something is wrong.
> So, any help and advice will be appreciated.
> Thanks,
> ////jerry
> /bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/home/vusrc/src/subversion/subversion-1.5.3/neon/src -I/home/vusrc/src/subversion/include/neon -I/home/vusrc/src/apache/include -I/home/vusrc/src/apache/include -I./serf -I/usr/local/include -o subversion/libsvn_ra_neon/session.lo -c subversion/libsvn_ra_neon/session.c
> /bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=compile gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/home/vusrc/src/subversion/subversion-1.5.3/neon/src -I/home/vusrc/src/subversion/include/neon -I/home/vusrc/src/apache/include -I/home/vusrc/src/apache/include -I./serf -I/usr/local/include -o subversion/libsvn_ra_neon/util.lo -c subversion/libsvn_ra_neon/util.c
> cd subversion/libsvn_ra_neon && /bin/sh /home/vusrc/src/subversion/subversion-1.5.3/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -L/usr/local/lib -rpath /home/vusrc/src/subversion/lib -o libsvn_ra_neon-1.la commit.lo fetch.lo file_revs.lo get_dated_rev.lo get_location_segments.lo get_locations.lo get_locks.lo lock.lo log.lo merge.lo mergeinfo.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /home/vusrc/src/apache/lib/libaprutil-1.la -lexpat /home/vusrc/src/apache/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /home/vusrc/src/subversion/subversion-1.5.3/neon/src/libneon.la
> /usr/bin/ld: /home/vusrc/src/subversion/subversion-1.5.3/neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> /home/vusrc/src/subversion/subversion-1.5.3/neon/src/.libs/libneon.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_ra_neon/libsvn_ra_neon-1.la] Error 1

A quick Google would have found the answer, just search for R_X86_64_32:



To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-24 02:13:28 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.