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

Re: Trouble building JavaHL - ...ConflictDescriptor_Action.h not found

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 02 Dec 2009 15:41:54 +0000

On Wed, 2009-12-02 at 06:42 -0800, Mark Phippard wrote:
> I am guessing that you are not using the Sun JDK? You pretty much
> need to have that. The open-source JDK's just do not cut it.

Thanks. I'll try that.

- Julian

> I think the problem is that there are inner classes in that class, and
> the command that is used to generate the header files (javah) does not
> support those (but does when using the version from Sun).
>
> Mark
>
>
> On Wed, Dec 2, 2009 at 6:29 AM, Julian Foad <julian.foad_at_wandisco.com> wrote:
> > A javahl build issue. (This is the first time I've got this far with
> > building javahl.)
> >
> > To compile EnumMapper.cpp it first needs header files including
> > "org_tigris_subversion_javahl_ConflictDescriptor_Action.h".
> >
> > In directory obj-dir/subversion/bindings/javahl/include/ it has created
> > most of the header files it needs, but
> > not ..._ConflictDescriptor_{Reason,Action,Kind}.h.
> >
> > I see that some classes are listed in
> > <subversion/bindings/javahl/build/build.xml> to generate such headers,
> > but I tried adding ".../ConflictDescriptor_Reason" etc there, and
> > re-building (from autogen onwards), and it seems to have no effect: it
> > didn't create that header file.
> >
> > It compiles all the other files OK.
> >
> > Any idea how I tell it to generate those three (new?) headers?
> >
> >
> > Build log:
> > [[[
> > $ (cd obj-dir && make -k javahl)
> > make: *** No rule to make target
> > `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'.
> > make: *** No rule to make target
> > `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Kind.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'.
> > make: *** No rule to make target
> > `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Reason.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'.
> > /usr/share/apr-1.0/build/libtool --tag=CXX --silent --mode=compile g++
> > -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> > -Wpointer-arith -Wwrite-strings -Wshadow -g -DSVN_DEBUG -DAP_DEBUG
> > -I/home/julianfoad/src/subversion-a/subversion/include -I./subversion
> > -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/dbus-1.0
> > -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/gnome-keyring-1
> > -I/usr/include/neon -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
> > -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
> > -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include/linux
> > -I/home/julianfoad/build/subversion-a/subversion/bindings/javahl/include
> > -o subversion/bindings/javahl/native/InfoCallback.lo
> > -c /home/julianfoad/src/subversion-a/subversion/bindings/javahl/native/InfoCallback.cpp
> > libtool: ignoring unknown tag CXX
> > /usr/share/apr-1.0/build/libtool --tag=CXX --silent --mode=compile g++
> > -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> > -Wpointer-arith -Wwrite-strings -Wshadow -g -DSVN_DEBUG -DAP_DEBUG
> > -I/home/julianfoad/src/subversion-a/subversion/include -I./subversion
> > -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/dbus-1.0
> > -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/gnome-keyring-1
> > -I/usr/include/neon -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
> > -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
> > -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include/linux
> > -I/home/julianfoad/build/subversion-a/subversion/bindings/javahl/include
> > -o subversion/bindings/javahl/native/Inputer.lo
> > -c /home/julianfoad/src/subversion-a/subversion/bindings/javahl/native/Inputer.cpp
> > libtool: ignoring unknown tag CXX
> > [...]
> > ]]]
> >
> > - Julian
> >
> >
> >
>
>
>
Received on 2009-12-02 17:42:17 CET

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.