compile on amd64 error on mex.cc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compile on amd64 error on mex.cc

Dhoto
im using suse9 amd64 with octave-2.1.49 default from suse

this is the error,...

mex.cc: In member function `mxArray* mxArray::field(const std::string&,
int)
    const':
mex.cc:387: error: no matching function for call to
`Octave_map::contents(const
    std::basic_string<char, std::char_traits<char>, std::allocator<char>
>&)'
/usr/include/octave-2.1.49/octave/oct-map.h:92: error: candidates are:
    octave_value_list&
    Octave_map::contents(std::_Rb_tree_iterator<std::pair<const std::string,
    octave_value_list>, const std::pair<const std::string,
octave_value_list>&,
    const std::pair<const std::string, octave_value_list>*>)
/usr/include/octave-2.1.49/octave/oct-map.h:95: error:
    octave_value_list
    Octave_map::contents(std::_Rb_tree_iterator<std::pair<const std::string,
    octave_value_list>, const std::pair<const std::string,
octave_value_list>&,
    const std::pair<const std::string, octave_value_list>*>) const
mex.cc: In member function `void mxArray::field(const std::string&, int,
    mxArray*)':
mex.cc:401: error: invalid use of undefined type `struct Cell'
/usr/include/octave-2.1.49/octave/ov.h:43: error: forward declaration of `
    struct Cell'
mex.cc: In member function `mxArray* mex::make_value(int, int, const
    string_vector&)':
mex.cc:579: error: variable `Cell empty' has initializer but incomplete
type
mex.cc: In function `void mxcopyreal8toptr_(const double*, const int&,
const
    int&)':
mex.cc:1162: warning: cast to pointer from integer of different size
mex.cc: In function `void mxcopyptrtoreal8_(const int&, double*, const
int&)':
mex.cc:1170: warning: cast to pointer from integer of different size
mex.cc: In function `void mxcopycomplex16toptr_(const double*, int&, int&,
    const int&)':
mex.cc:1178: warning: cast to pointer from integer of different size
mex.cc:1179: warning: cast to pointer from integer of different size
mex.cc: In function `void mxcopyptrtocomplex16_(const int&, const int&,
    double*, const int&)':
mex.cc:1187: warning: cast to pointer from integer of different size
mex.cc:1188: warning: cast to pointer from integer of different size
make[2]: *** [mex.o] Error 1
make[2]: Leaving directory
`/home/dhoto/src/octave-forge-2004.02.12/extra/mex'
make[1]: *** [mex/] Error 2
make[1]: Leaving directory `/home/dhoto/src/octave-forge-2004.02.12/extra'
make: *** [extra/] Error 2

thank you

--
Best regard,
Dhoto

--------------------------------------{@
[hidden email]