From 57621c6d60b1eb31d0a3071fc362547c88c5d395 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 13 Nov 2014 18:40:44 +0100 Subject: [PATCH] configure.ac: Temporarily disable Java bindings. Those need a bugfix to make them build again: bindings/java/org/sigrok/core/classes/Context.java:92: error: method Context_create_analog_packet in class classesJNI cannot be applied to given types; long cPtr = classesJNI.Context_create_analog_packet(swigCPtr, this, ChannelVector.getCPtr(tempchannels), SWIGTYPE_p_float.getCPtr(data_pointer), num_samples, Quantity.getCPtr(mq), mq, Unit.getCPtr(unit), unit, QuantityFlagVector.getCPtr(mqflags), mqflags); ^ required: long,Context,Vector,long,long,long,Quantity,long,Unit,long,QuantityFlagVector found: long,Context,long,long,long,long,Quantity,long,Unit,long,QuantityFlagVector reason: actual argument long cannot be converted to Vector by method invocation conversion 1 error Makefile:3352: recipe for target 'bindings/java/sigrok-core.jar' failed --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d2830614..2879b279 100644 --- a/configure.ac +++ b/configure.ac @@ -513,6 +513,9 @@ AM_CONDITIONAL(BINDINGS_CXX, test x$BINDINGS_CXX = xyes) AM_CONDITIONAL(BINDINGS_PYTHON, test x$BINDINGS_PYTHON = xyes) +# Temporarily disable Java bindings, they need a bugfix. +BINDINGS_JAVA="no"; java_msg="temporarily disabled, needs a bugfix" + AM_CONDITIONAL(BINDINGS_JAVA, test x$BINDINGS_JAVA = xyes) # Checks for header files.