You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Urbat <st...@apastron.lb.shuttle.de> on 2004/03/23 15:26:41 UTC

compilation issues on AIX 4.3.3 and strange behaviour on Solaris 9

Meanwhile I have managed to make the subversion client 1.0.1 run on
several platforms (including Solaris 8, AIX 5.2L and HP-UX 11, aside from
the "trivial" directly supported systems GNU/Linux, Mac OS X and MS
Windows). But two issues remain at now:

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?

And on Solaris 9 the client builds as on Solaris 8, but only the svnserve
method works to check out, any HTTP access trial fails opposed to Solaris
8. This is just for your information; I may overcome this obstacle by
porting the Solaris 8 compiled files to the Solaris 9 machine, have not
tried yet, but think it will work.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Dimitri Papadopoulos-Orfanos <pa...@shfj.cea.fr>.
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