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

Re: compilation issues on AIX 4.3.3 and strange behaviour on Solaris 9

From: Dimitri Papadopoulos-Orfanos <papadopo_at_shfj.cea.fr>
Date: 2004-03-23 18:01:58 CET

Hi,

> On AIX 4.3.3 the compilation aborts with messages
>
> ld: 0711-317 ERROR: Undefined symbol:
> .svn_cmdline_path_local_style_from_utf8 ld: 0711-317 ERROR: Undefined
> symbol: .svn_error_wrap_apr ld: 0711-317 ERROR: Undefined symbol:
> .__eprintf ld: 0711-317 ERROR: Undefined symbol: .svn_sort__hash ld:
> 0711-317 ERROR: Undefined symbol: .__divdi3 ld: 0711-317 ERROR: Undefined
> symbol: .svn_io_temp_dir ld: 0711-317 ERROR: Undefined symbol:
> .svn_config_set_bool ld: 0711-317 ERROR: Undefined symbol:
> .svn_config_get_bool
>
> opposed to v5.2, where it compiles, links and runs fine. (I tried both gcc
> 2.95 and 3.2 and even xlc 5) Maybe a header issue or the like?

A quick search with Google seems to indicate this may be related to gcc.
Some of the the missing symbols seem to be be defined in libgcc and this
may be enough to fix the problem:
        -L/usr/lib/gcc-lib/... -lgcc
See for example:
        http://www.mysql.com/doc/en/Perl_support_problems.html

This may explain at least part of the problems when compiling with gcc.
It doesn't necessarily explain the problems when compiling with xlc though.

One possibility is that some package Subversion depends on has been
compiled with gcc (for example OpenSSL or something like that). In that
case the same trick should apply:
        -L/usr/lib/gcc-lib/... -lgcc
I'd recommend building everything with xlc though.

Another possibility is that some package Subversion depends on has been
compiled on another version of AIX, or moved from a machine running
another version of AIX, such as AIX 5.2. For example, what is the output of:
        touch foo.c
        gcc -v foo.c

The above could explain the __divdi3 issue. It doesn't explain the
problems with svn_cmdline_path_local_style_from_utf8 and the rest. If
possible, I'd suggest playing around with command 'nm' to find where
these symbols are missing from.

A complete build log would help here. The error message you've sent
doesn't show at what point the build fails exactly.

--
Dimitri
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 23 18:02:44 2004

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.