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

trouble compiling javahl with gcj

From: Tim Olsen <tolsen718_at_gmail.com>
Date: 2004-11-20 19:45:25 CET

Has anyone had any success compiling javahl with gcj?

I am getting build errors with subversion 1.1.1.
My configure line is:

./configure --enable-javahl --with-jdk=/usr --with-jikes=/usr/bin/gcj-3.4

I then modify the Makefile to give JAVAC_FLAGS a value of "-C"

and I "mkdir subversion/bindings/java/javahl/classes" to get around issue 2032.

then when I go to "make javahl", I get:

tim@computadora:/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1$
make javahl
/usr/bin/gcj-3.4 -g -C -d subversion/bindings/java/javahl/classes
-classpath subversion/bindings/java/javahl/classes:/usr/jre/lib:/usr/jre/lib/*.jar
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/DirEntry.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/ScheduleKind.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNInputStream.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/NotifyAction.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNOutputStream.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/PromptUserPassword2.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Status.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/PromptUserPassword3.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/NotifyStatus.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/CommitItemStateFlags.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/JNIError.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/ClientException.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Notify.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/CommitItem.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/PromptUserPassword.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNAdmin.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/NodeKind.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/RevisionKind.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Info.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/LogMessage.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/StatusKind.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Revision.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/PropertyData.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/OutputInterface.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientLogLevel.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/ChangePath.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/InputInterface.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/BlameCallback.java
/var/tmp/source/subversion-1.1.1/build-tree/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/CommitMessage.java
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/DirEntry.java:28:
error: unrecognized character in input stream.
    * @author C\uffffdric Chabanois
                               ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/DirEntry.java:29:
error: unrecognized character in input stream.
    * <a href="mailto:cchabanois@ifrance.com">cchabanois@ifrance.com</a>
                                                                      
         ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Status.java:27:
error: unrecognized character in input stream.
    * @author C\uffffdric Chabanois
                              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/Status.java:28:
error: unrecognized character in input stream.
    * <a href="mailto:cchabanois@ifrance.com">cchabanois@ifrance.com</a>
                                                                      
         ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java:45:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       Status[]status(String path, boolean descend, boolean onServer,
       ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java:57:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       Status[]status(String path, boolean descend, boolean onServer,
       ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java:66:
error: Type `DirEntry' not found in the declaration of the return type
of method `list'.
       DirEntry[]list(String url, Revision revision, boolean recurse)
       ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientInterface.java:75:
error: Type `Status' not found in the declaration of the return type
of method `singleStatus'.
       Status singleStatus(String path, boolean onServer) throws
ClientException;
       ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java:72:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       public Status[] status(String path, boolean descend, boolean onServer,
              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java:90:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       public Status[] status(String path, boolean descend, boolean onServer,
              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java:106:
error: Type `DirEntry' not found in the declaration of the return type
of method `list'.
       public DirEntry[] list(String url, Revision revision, boolean recurse)
              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClientSynchronized.java:121:
error: Type `Status' not found in the declaration of the return type
of method `singleStatus'.
       public Status singleStatus(String path, boolean onServer)
              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java:93:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       public Status[]status(String path, boolean descend, boolean onServer,
              ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java:108:
error: Type `Status' not found in the declaration of the return type
of method `status'.
       public native Status[] status(String path, boolean descend,
                     ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java:119:
error: Type `DirEntry' not found in the declaration of the return type
of method `list'.
       public native DirEntry[]list(String url, Revision revision,
boolean recurse)
                     ^
/var/tmp/subversion-1.1.1/subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java:129:
error: Type `Status' not found in the declaration of the return type
of method `singleStatus'.
       public native Status singleStatus(String path, boolean onServer)
                     ^
16 errors
make: *** [javahl-java] Error 1

I can compile it using javac, but I'm trying to use gcj so I can give
a patch for building javahl to the Debian subversion maintainer

thanks for your help.

-Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 20 19:47:37 2004

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