--- Begin Message ---
- To: eftaxi12@otenet.gr
- Subject: Re: Web Form: Mathgl 1.11 issues for Debian
- From: Alexey Balakin <mathgl.abalakin@gmail.com>
- Date: Tue, 16 Nov 2010 17:54:27 +0300
- Message-id: <1289919267.2068.130.camel@balakin-laptop>
- Reply-to: mathgl.abalakin@gmail.com
- In-reply-to: <437512676089@emailmeform.com>
- References: <437512676089@emailmeform.com>
Dear Dimitrios,
Thank you for the bug and for its solution. I've just added it to SVN
version.
Also a man reported me about bug in using zlib (mostly under Win32). So,
shortly I should release new version. I hope I'll make release tomorrow
-- I wait Dmitry Kulagin who should solve the problem with HDF5-MPI.
About png/ folder -- yes, it is symbolic link to a directory and is not
an actual directory. I did it for including PNG files into TeXinfo
documentation while keeping them in a separate folder.
After yours request I've just changed it in SVN to usual folder, with
copy of PNG files from texinfo/png/ -- it require more disk space but
shouldn't cause problem with archive.
All the best,
Alexey
В Вт., 16/11/2010 в 07:18 -0500, Dimitrios Eftaxiopoulos пишет:
> Your Name*:
> Dimitrios Eftaxiopoulos
> Your Email*:
> eftaxi12@otenet.gr
> Subject*:
> Mathgl 1.11 issues for Debian
> Message*:
> Hello Alexey,
>
> I am one of the maintainers of
> mathgl in Debian. We have the
> following architecture specific
> issue in Debian, where mathgl 1.11
> builds in amd64 and fails in i386.
>
> The error report is:
>
> I tried to build it into a chroot
> and it fails:
> /usr/include/hdf/hdfi.h:1011:
> error: conflicting declaration
> 'typedef
> long int intf'
> /usr/include/zconf.h:340: error:
> 'intf' has a previous declaration
> as
> 'typedef int intf'
> mgl_data_io.cpp: In member function
> 'void mglData::ReadHDF4(const
> char*,
> const char*)':
> mgl_data_io.cpp:914: error: invalid
> conversion from 'int*' to 'int32*'
> mgl_data_io.cpp:914: error:
> initializing argument 2 of 'intn
> SDfileinfo(int32, int32*, int32*)'
>
> and a suggested solution is:
>
> This looks like an
> architecture-specific issue; hdfi.h
> typedefs intf to
> be long on i386 and int on amd64,
> whereas zconf.h uses int
> regardless.
> The types are the same size on
> i386, but still formally distinct,
> hence
> the error. To work around it, you
> may have to use the preprocessor to
> divert one library's definition:
>
> [...]
> #include <zlib.h>
> #ifdef HAVE_HDF5
> #include <hdf5.h>
> #endif
> #ifdef HAVE_HDF4
> #define intf hdf4_intf
> #include <hdf/mfhdf.h>
> #undef intf
> #endif
> [...]
>
> Could you do something about it?
>
> Thanks
> Dimitris
>
>
>
> Powered by EmailMeForm
>
--- End Message ---