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

1.5.0-rc9 build failure: javahl using gcj (gcc 4.2, 4.3)

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 6 Jun 2008 01:26:42 -0500

'make javahl' now fails with the default JDK in Debian, gcc 4.2 or 4.3.
(I tested both.) The trouble seems to stem from the behavior of the
gcc implementation of 'javah'. While Sun JDK 6 javah produces files
like

    org_tigris_subversion_javahl_ConflictDescriptor_Action.h

...which Subversion expects, gcc javah instead produces

    org_tigris_subversion_javahl_ConflictDescriptor$Action.h

This was not a problem in Subversion 1.4 as nobody was using nested
classes like that.

Can anyone fix the Java bindings to work with the gcc 4.3 JDK? I'll
try to do what I can, but I am not a Java developer. If anyone needs a
build log I can produce one, but of course they grow quite large.

Thanks,

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Received on 2008-06-06 08:27:11 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.