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

Re: Problems building subversion client under AIX

From: Steve Greenland <steveg_at_lsli.com>
Date: 2004-09-03 17:33:05 CEST

On Thu, Sep 02, 2004 at 09:59:04AM +0200, Rob Dijkshoorn wrote:
> Hi,
>
> I have problems building subversion 1.0.6 as a client only application on AIX 5.1 ML5. This with both xlc and gcc.
>
> subversion/svnversion/svnversion . /repos/svn/trunk > /usr/local/include/subversion-1/svn-revision.txt
> exec(): 0509-036 Cannot load program lt-svnversion because of the following errors:
> 0509-130 Symbol resolution failed for lt-svnversion because:
> 0509-136 Symbol strcpy (number 180) is not exported from
> dependent module /usr/local/lib/libz.a(shr.o).
> 0509-136 Symbol strcat (number 181) is not exported from
> dependent module /usr/local/lib/libz.a(shr.o).
> 0509-136 Symbol memmove (number 182) is not exported from
> dependent module /usr/local/lib/libz.a(shr.o).
> 0509-136 Symbol bcopy (number 183) is not exported from
> dependent module /usr/local/lib/libz.a(shr.o).
> 0509-192 Examine .loader section symbols with the
> 'dump -Tv' command.
> make: 1254-004 The error code from the last command is 255.

This looks like the kind of stuff you get when mixing objects from gcc
and xlc. I've had problems with configure scrips sometimes picking up
one, other times the other. In particular, you might look at the libz
build as being out-of-sync.

Note that there's no problem with using a shared library created by
xlc in a gcc compiled program, nor vice-versa, but mixing static
objects seems to cause problems, because (I think) of differing inline
optimizations for small common functions like strcat, memmove, etc.,
which is exactly where you are having a problem.

Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 17:34:05 2004

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