please provide a patch :-)On Tue, Sep 17, 2013 at 09:18:02AM +0200, Claudio Bley wrote:
> At Tue, 17 Sep 2013 10:18:52 +0800,
> Daniel Veillard wrote:
> > > Any ideas with this build issue for FreeBSD update of libvirt-java? I do
> > > have jna (jna-3.2.7_1) installed.
> Your JNA version is too old. Before version 3.3.0 JNA lacked a
> function to free malloc'd memory.
> > > build:
> > > [javac] Compiling 64 source files to
> > > /usr/home/helfman/workspace/ports/devel/libvirt-java/work/libvirt-java-0.5.0/target/classes
> > > [javac]
> > > /usr/home/helfman/workspace/ports/devel/libvirt-java/work/libvirt-java-0.5.0/src/main/java/org/libvirt/Library.java:41:
> > > cannot find symbol
> > > [javac] symbol : method free(long)
> > > [javac] location: class com.sun.jna.Native
> > > [javac] Native.free(Pointer.nativeValue(ptr));
> > Wido said the requirement for jna had to be bumped to 3.5.0 that
> > might be the reason !
> The code still only requires at least JNA 3.3.0 - although I'd
> recommend using a more recent version.
> We could even express this in the POM using a version range, like