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

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

[Octave-bug-tracker] [bug #63922] [octave forge] (parallel) no member na


From: anonymous
Subject: [Octave-bug-tracker] [bug #63922] [octave forge] (parallel) no member named 'cdef_object' in namespace 'octave'
Date: Mon, 17 Apr 2023 19:20:39 -0400 (EDT)

Follow-up Comment #5, bug #63922 (project octave):

When I make the modifications your recommend, I get this error:

make[2]: *** No rule to make target `am--refresh'.  Stop.
make[1]: *** [../aclocal.m4] Error 2
make: *** [gnulib] Error 2
make: *** Waiting for unfinished jobs....
rm pconnect.cc.docstrings select_sockets.bin MFDOCSTRINGS fsave.bin
parcellfun_set_nproc.bin fload.bin __exit__.bin network_set.bin
select_sockets.cc.docstrings __parcellfun_get_next_result__.bin precv.bin
network_get_info.bin __rfeval_slave__.bin reval.bin
network_get_info.cc.docstrings psend.bin __parcellfun_initialize_job__.bin
parallel_generate_srp_data.bin __parcellfun_send_next_args__.bin select.bin
sclose.bin fsave.o fload.o __parcellfun_set_nproc_used__.bin pconnect.bin
__exit__.o

error: pkg: error running 'make' for the parallel package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 619 column 9

exert of the configure.ac file:
...
[dnl
  [symbol_table::assign],
  [octave::interpreter::the_interpreter () -> assign],
  [[octave::interpreter::the_interpreter () ->
assign("socket",octave_value(0));]],
  [OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN],
  [[#include <octave/symtab.h>]],
  []
],

...

[comment #3 comment #3:]
> I'm still getting this error regarding cdef_object:
> 
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:67: error:
'cdef_object' is not a member of 'octave'
>    38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API
Array<octave::cdef_object>;
>       |                                                                  
^~~~~~~~~~~
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template
argument 1 is invalid
>    38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API
Array<octave::cdef_object>;
>       |                                                                     
        ^
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template
argument 2 is invalid
> make: *** [Makefile:192: p-connection.o] Error 1
> 
> 
> This was my patch for the configure test:
> 
> diff --git a/src/configure.ac b/src/configure.ac
> index 69f3aba..bc1c85a 100644
> --- a/src/configure.ac
> +++ b/src/configure.ac
> @@ -244,9 +244,9 @@ dnl  separate test
>  ],
> 
>  [dnl
> -  [symbol_table::assign],
>    [octave::interpreter::the_interpreter () -> get_symbol_table ().assign],
> -  [[octave::interpreter::the_interpreter () -> get_symbol_table ();]],
> +  [octave::interpreter::the_interpreter () -> assign],
> +  [[octave::interpreter::the_interpreter () ->
assign("socket",octave_value(0));]],
>    [OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN],
>    [[#include <octave/symtab.h>]],
>    []
> diff --git a/src/error-helpers.h b/src/error-helpers.h


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63922>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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