octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45693] [MXE] cross-building recent dev versio


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #45693] [MXE] cross-building recent dev version breaks on compiling ov-java.h
Date: Tue, 04 Aug 2015 15:52:18 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1

URL:
  <http://savannah.gnu.org/bugs/?45693>

                 Summary: [MXE] cross-building recent dev version breaks on
compiling ov-java.h
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 04 Aug 2015 05:52:18 PM CEST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: phiilpnienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Other

    _______________________________________________________

Details:

(Cross-)building a recent Octave dev tip () using a recent mxe-octave tip
(3a38544f2a8f - default-octave: update cur current dev branch build) breaks in
ov-java.h:

:
In file included from
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/oct
ave-4.1.0+/libinterp/octave-value/ov-class.cc:50:0:
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/o
ctave-value/ov-java.h:36:26: error: expected ')' before '*' token
   java_local_ref (JNIEnv *_env)
                          ^
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/o
ctave-value/ov-java.h:39:26: error: expected ')' before '*' token
   java_local_ref (JNIEnv *_env, T obj)
                          ^
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/octave-value/ov-java.h:74:3:
error: 'JNIEnv' does not name a type
   JNIEnv *env;
   ^
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/octave-value/ov-java.h:
In member function 'void java_local_ref<T>::release()':
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/octave-value/ov-java.h:61:9:
error: 'env' was not declared in this scope
     if (env && jobj && ! detached)
         ^
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/octave-value/ov-java.h:
In constructor 'java_local_ref<T>::java_local_ref()':
/home/philip/devel/octdev/mxe/mxe_w64_20150803/tmp-octave/octave-4.1.0+/libinterp/octave-value/ov-java.h:68:35:
error: class 'java_local_ref<T>' does not have any field named 'env'
     : jobj (0), detached (false), env (0)
                                   ^
:
-verbatim

Two hours earlier that same Octave tip built fine on Linux (natively of
course) to be able to make a dist target (make all dist) for mxe.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45693>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]