[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems compiling Octave 3.0.0 and HDF5 1.8.0
From: |
jdelia |
Subject: |
problems compiling Octave 3.0.0 and HDF5 1.8.0 |
Date: |
Wed, 20 Feb 2008 06:35:57 -0300 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.4) |
I'm trying to compile Octave 3.0.0 with all packages. If the HDF5
1.8.0 one is omitted the compilation and testing is successful but if
this package is included the compilation broken with the error messages:
.........
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/zlib/1.2.1/include
-I/usr/local/szip/2.1/include -I/usr/local/include/suitsparse
-I/usr/local/include/qhull -I/usr/local/include/pcrew
-I/usr/local/hdf5/1.8.0/include -I/usr/local/include/glpk
-I/usr/local/include/fftw -I/usr/local/include/netlib help.cc -o
pic/help.o
help.cc: In function âvoid display_help_text(std::ostream&, const
std::string&)â:
help.cc:825: warning: use of old-style cast
help.cc:825: warning: use of old-style cast
help.cc:829: warning: use of old-style cast
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/zlib/1.2.1/include
-I/usr/local/szip/2.1/include -I/usr/local/include/suitsparse
-I/usr/local/include/qhull -I/usr/local/include/pcrew
-I/usr/local/hdf5/1.8.0/include -I/usr/local/include/glpk
-I/usr/local/include/fftw -I/usr/local/include/netlib input.cc -o
pic/input.o
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib lex.cc -o pic/lex.o
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/zlib/1.2.1/include
-I/usr/local/szip/2.1/include -I/usr/local/include/suitsparse
-I/usr/local/include/qhull -I/usr/local/include/pcrew
-I/usr/local/hdf5/1.8.0/include -I/usr/local/include/glpk
-I/usr/local/include/fftw -I/usr/local/include/netlib load-path.cc -o
pic/load-path.o
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/zlib/1.2.1/include
-I/usr/local/szip/2.1/include -I/usr/local/include/suitsparse
-I/usr/local/include/qhull -I/usr/local/include/pcrew
-I/usr/local/hdf5/1.8.0/include -I/usr/local/include/glpk
-I/usr/local/include/fftw -I/usr/local/include/netlib load-save.cc -o
pic/load-save.o
g++ -c -I/usr/local/zlib/1.2.1/include -I/usr/local/szip/2.1/include
-I/usr/local/include/suitsparse -I/usr/local/include/qhull
-I/usr/local/include/pcrew -I/usr/local/hdf5/1.8.0/include
-I/usr/local/include/glpk -I/usr/local/include/fftw
-I/usr/local/include/netlib -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -I/usr/local/zlib/1.2.1/include
-I/usr/local/szip/2.1/include -I/usr/local/include/suitsparse
-I/usr/local/include/qhull -I/usr/local/include/pcrew
-I/usr/local/hdf5/1.8.0/include -I/usr/local/include/glpk
-I/usr/local/include/fftw -I/usr/local/include/netlib ls-hdf5.cc -o
pic/ls-hdf5.o
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/hdf5/1.8.0/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/hdf5/1.8.0/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/hdf5/1.8.0/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/hdf5/1.8.0/include/H5Gpublic.h: In function âherr_t
hdf5_read_next_data(hid_t, const char*, void*)â:
/usr/local/hdf5/1.8.0/include/H5Gpublic.h:77: 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/hdf5/1.8.0/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/hdf5/1.8.0/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/hdf5/1.8.0/include/H5Gpublic.h: In function âstd::string
read_hdf5_data(std::istream&, const std::string&, bool&,
octave_value&, std::string&)â:
/usr/local/hdf5/1.8.0/include/H5Gpublic.h:77: 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/hdf5/1.8.0/include/H5Apublic.h: In function âherr_t
hdf5_add_attr(hid_t, const char*)â:
/usr/local/hdf5/1.8.0/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/hdf5/1.8.0/include/H5Dpublic.h: In function âint
save_hdf5_empty(hid_t, const char*, dim_vector)â:
/usr/local/hdf5/1.8.0/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/hdf5/1.8.0/include/H5Dpublic.h: In function âint
load_hdf5_empty(hid_t, const char*, dim_vector&)â:
/usr/local/hdf5/1.8.0/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/hdf5/1.8.0/include/H5Gpublic.h: In function âbool
add_hdf5_data(hid_t, const octave_value&, const std::string&, const
std::string&, bool, bool)â:
/usr/local/hdf5/1.8.0/include/H5Gpublic.h:75: 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/hdf5/1.8.0/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]: *** [pic/ls-hdf5.o] Error 1
make[2]: Leaving directory `/usr/local/paquetes/octave-install/3.0.0/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/local/paquetes/octave-install/3.0.0'
make: *** [all] Error 2
In my previous request "Octave 3.0.0 and HDF5 1.8.0 compilation error"
I have attached the configuration.log and make.log files.
Thanks for any helpful suggestions.
Jorge.
--
Centro Internacional de Metodos Computacionales
en Ingenieria - CIMEC (INTEC/CONICET-UNL)
INTEC, Guemes 3450 - 3000 Santa Fe, Argentina
Tel/Fax: +54-342-451.15.94
e-mail: jdelia at intec.unl.edu.ar
http://www.cimec.org.ar/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
- problems compiling Octave 3.0.0 and HDF5 1.8.0,
jdelia <=