Re: 2.99.4 release

Jan-Ake Larsson <[email protected]> Wed, 1 Dec 2004 17:08:29 +0100
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Harald Koenig wrote:
> on SUSE 9.1 on amd64 (x86_64) dvipng doesn't compile:
> 
> 	In file included from dvipng.c:42:
> 	dvipng.h:51: error: conflicting types for `int64_t'
> 	/usr/include/stdint.h:41: error: previous declaration of `int64_t'
> 	dvipng.h:52: error: conflicting types for `uint64_t'
> 	/usr/include/stdint.h:56: error: previous declaration of `uint64_t'
> 
> 
> in dvipng.h this code is bracketed with
> 
> 	#  ifndef HAVE_INT64_T
> 
> but in dvipng/configure I can't  find any test int64_t to set HAVE_INT64_T :-(

Thomas uses autoconf 2.13; I use 2.59. In 2.13 AC_CHECK_TYPES does not
exist. The (now deprecated) macro AC_CHECK_TYPE does exist. So I'd
suggest either a) switching to 2.5x or b) taking a deep breath,
reading
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_154.html#IDX875
and stating

  AC_CHECK_TYPE(int64_t, long long)

And compile with -DHAVE_INT64_T (or do AC_DEFINE(HAVE_INT64_T) if that
is possible in autoconf 2.13)

/JÅ

(Sorry about the double messages, Harald)


-- 
Unix, MS-DOS, and Windows NT 
(also known as the Good, the Bad, and the Ugly).