help-octave
[Top][All Lists]
Advanced

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

Installation/compilation error


From: SAMRAT RAO
Subject: Installation/compilation error
Date: Mon, 22 Dec 2008 08:23:22 +0530

Hi,
   I am trying to compile octave 3.0.3 from source in my openSUSE 11.0. I am stuck with the following error:

ls-hdf5.cc: In function 'bool hdf5_check_attr(hid_t, const char*)':
ls-hdf5.cc:146: error: invalid conversion from 'herr_t (**)(hid_t, void*)' to 'hid_t'
ls-hdf5.cc:146: error: invalid conversion from 'void**' to 'herr_t (**)(hid_t, void*)'
/usr/local/hdf_5-1.8.2/include/H5Epublic.h:173: error: too few arguments to function 'herr_t H5Eget_auto2(hid_t, herr_t (**)(hid_t, void*), void**)'
ls-hdf5.cc:146: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Epublic.h:174: error: too few arguments to function 'herr_t H5Eset_auto2(hid_t, herr_t (*)(hid_t, void*), void*)'
ls-hdf5.cc:147: error: at this point in file
ls-hdf5.cc:159: error: invalid conversion from 'herr_t (*)(hid_t, void*)' to 'hid_t'
ls-hdf5.cc:159: error: invalid conversion from 'void*' to 'herr_t (*)(hid_t, void*)'
/usr/local/hdf_5-1.8.2/include/H5Epublic.h:174: error: too few arguments to function 'herr_t H5Eset_auto2(hid_t, herr_t (*)(hid_t, void*), void*)'
ls-hdf5.cc:159: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h: In function 'herr_t hdf5_read_next_data(hid_t, const char*, void*)':
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h:78: error: too few arguments to function 'hid_t H5Gopen2(hid_t, const char*, hid_t)'
ls-hdf5.cc:225: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h:98: error: too few arguments to function 'hid_t H5Dopen2(hid_t, const char*, hid_t)'
ls-hdf5.cc:235: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h:98: error: too few arguments to function 'hid_t H5Dopen2(hid_t, const char*, hid_t)'
ls-hdf5.cc:307: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h: In function 'std::string read_hdf5_data(std::istream&, const std::string&, bool&, octave_value&, std::string&)':
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h:78: error: too few arguments to function 'hid_t H5Gopen2(hid_t, const char*, hid_t)'
ls-hdf5.cc:550: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Apublic.h: In function 'herr_t hdf5_add_attr(hid_t, const char*)':
/usr/local/hdf_5-1.8.2/include/H5Apublic.h:45: error: too few arguments to function 'hid_t H5Acreate2(hid_t, const char*, hid_t, hid_t, hid_t, hid_t)'
ls-hdf5.cc:597: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h: In function 'int save_hdf5_empty(hid_t, const char*, dim_vector)':
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h:95: error: too few arguments to function 'hid_t H5Dcreate2(hid_t, const char*, hid_t, hid_t, hid_t, hid_t, hid_t)'
ls-hdf5.cc:644: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h: In function 'int load_hdf5_empty(hid_t, const char*, dim_vector&)':
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h:98: error: too few arguments to function 'hid_t H5Dopen2(hid_t, const char*, hid_t)'
ls-hdf5.cc:674: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h: In function 'bool add_hdf5_data(hid_t, const octave_value&, const std::string&, const std::string&, bool, bool)':
/usr/local/hdf_5-1.8.2/include/H5Gpublic.h:76: error: too few arguments to function 'hid_t H5Gcreate2(hid_t, const char*, hid_t, hid_t, hid_t)'
ls-hdf5.cc:752: error: at this point in file
/usr/local/hdf_5-1.8.2/include/H5Dpublic.h:95: error: too few arguments to function 'hid_t H5Dcreate2(hid_t, const char*, hid_t, hid_t, hid_t, hid_t, hid_t)'
ls-hdf5.cc:766: error: at this point in file
make[2]: *** [ls-hdf5.o] Error 1
make[2]: Leaving directory `/media/work/softwares/octave/octave-3.0.3/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/media/work/softwares/octave/octave-3.0.3'
make: *** [all] Error 2

I compiled hdf5-1.8.2 from source too. Is there a problem with my compilation of hdf5-1.8.2?

Thanks,
Samrat.

reply via email to

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