[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libhdf5.a problem to build fixed-0.7.2.tar.gz
From: |
Tatsuro MATSUOKA |
Subject: |
Re: libhdf5.a problem to build fixed-0.7.2.tar.gz |
Date: |
Thu, 30 Aug 2007 04:09:31 +0900 (JST) |
Dear Michel and David
I have transfferd the reply to the HDF5 help desk about
the shared library on the cygwin. The shared library
cannot be made on cygwin so I have to consider the patch
for octave-forge source files.
T. Matsuoka
::::::::::::::::::::::::::::::::::::::::::::::::
Thank you Barbara Jones
At that time I read ReadmeCYGWIN.txt in hdf5-1.6.6
but I did not noticed that.
My purpose was to make octave-forge package that use hdf5
library.
(Of course the Octave itself static hdf5 library has no
problem.)
In packaging process, the multiple defention errors
occured
octave>pkg install -local main/fixed-0.7.2.tar.gz
/opt/octave-2.9.13/lib/libhdf5.a(H5T.o):H5T.c:(.text+0x5575):
multiple
definition of `_H5Tcreate'
/opt/octave-2.9.13/lib/octave-2.9.13/liboctinterp.dll.a(d002299.o):(.text+0x0):
first defined here
/opt/octave-2.9.13/lib/libhdf5.a(H5T.o):H5T.c:(.text+0x5bc1):
multiple
definition of `_H5Tclose'
/opt/octave-2.9.13/lib/octave-2.9.13/liboctinterp.dll.a(d002294.o):(.text+0x0):
first defined here
/opt/octave-2.9.13/lib/libhdf5.a(H5.o):H5.c:(.text+0x110b):
multiple definition
of `_H5open'
:
:
I throwed this problem to the octave ML. One of
maintainer suggests
me to use shared library
Anway I cannot build the shared library in HDF5. I have
to make
patches to the source files of the octave-forge packages.
Thanks!
Tatsuro MATSUOKA
2007/8/30, HDF Helpdesk <address@hidden>:
> Hello,
>
> Unfortunately, we do not support building shared
libraries on cygwin, on
> either 1.6 or 1.8 branches. This is mentioned at the
bottom of the
> INSTALL_Cygwin.txt file:
>
> > 7. Known Problems Shared libraries can not be
built on Cygwin In
> >release 1.6.
>
> It does seem obscure and hard to find at the end of the
file-- I think we
> will consider moving it somewhere more noticeable.
>
> -Barbara
>
>
>
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> Barbara Jones
> THG Helpdesk
>
> The HDF Group (THG)
> address@hidden
>
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
>
> > I would like to build shared libraries on cygwin.
> > I was carried out
> >
> > ./configure --prefix=/opt/hdf5-1.6.5 --enable-shared
--disable-static
> > make
> > make install
> >
> > part of config.log
> > lt_cv_prog_cc_can_build_shared=yes
> > lt_cv_prog_cc_no_builtin=
> > lt_cv_prog_cc_pic=' -DDLL_EXPORT'
> >
> >
> >
> >
> > $ ls -l /opt/hdf5-1.6.5/lib
> > total 2392
> > -rw-r--r-- 1 Tatsu none 2372902 Aug 28 06:01 libhdf5.a
> > -rw-r--r-- 1 Tatsu none 734 Aug 28 06:01
libhdf5.la
> > -rw-r--r-- 1 Tatsu none 2098 Aug 28 06:01
libhdf5.settings
> > -rw-r--r-- 1 Tatsu none 58780 Aug 28 06:02
libhdf5_hl.a
> > -rw-r--r-- 1 Tatsu none 743 Aug 28 06:02
libhdf5_hl.la
> >
> > $ ls -l /opt/hdf5-1.6.5/bin
> > total 18108
> > -rwxr-xr-x 1 Tatsu none 1791400 Aug 28 06:01
gif2h5.exe*
> > -rwxr-xr-x 1 Tatsu none 1812544 Aug 28 06:01
h52gif.exe*
> > -rwxr-xr-x 1 Tatsu none 9099 Aug 28 06:01 h5cc*
> > -rwxr-xr-x 1 Tatsu none 1789767 Aug 28 06:01
h5debug.exe*
> > -rwxr-xr-x 1 Tatsu none 1894989 Aug 28 06:01
h5diff.exe*
> > -rwxr-xr-x 1 Tatsu none 1959150 Aug 28 06:01
h5dump.exe*
> > -rwxr-xr-x 1 Tatsu none 1827735 Aug 28 06:01
h5import.exe*
> > -rwxr-xr-x 1 Tatsu none 1789974 Aug 28 06:02
h5jam.exe*
> > -rwxr-xr-x 1 Tatsu none 1885939 Aug 28 06:01 h5ls.exe*
> > -rwxr-xr-x 1 Tatsu none 38438 Aug 28 06:02
h5perf.exe*
> > -rwxr-xr-x 1 Tatsu none 4287 Aug 28 06:01
h5redeploy*
> > -rwxr-xr-x 1 Tatsu none 1869383 Aug 28 06:01
h5repack.exe*
> > -rwxr-xr-x 1 Tatsu none 47166 Aug 28 06:01
h5repart.exe*
> > -rwxr-xr-x 1 Tatsu none 1788871 Aug 28 06:02
h5unjam.exe*
> >
> > How I can get the .dll library?
> >
> >
> >
***********************************************************
> > Dr. Tatsuro MATSUOKA
> > Associate Professor
> >
> > Department of Molecular Design and Engineering
> > Graduate School of Engineering
> > Nagoya University
> > Furo-cho, Chikusa-ku, Nagoya, 464-8603, Japan
> > E-mail address@hidden
> > Tel. +81(Japan)-52-789-3274
> > FAX +81(Japan)-52-789-3273
> >
**********************************************************
> >
>
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/