bug-gnulib
[Top][All Lists]
Advanced

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

Re: make error with tar-1.18


From: Bruno Haible
Subject: Re: make error with tar-1.18
Date: Fri, 13 Jul 2007 00:46:27 +0200
User-agent: KMail/1.5.4

Hello,

Alex Zimmerman reported:
> compiler info:
> jade> gcc -v
> Using built-in specs.
> Target: mips-sgi-irix6.5
> Configured with: /jade1/GNU/gcc-4.1.2/configure --with-gnu-as --with-gnu-ld 
> --enable-version-specific-runtime-libs
> Thread model: single
> gcc version 4.1.2
> 
> error encountered:
> if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/jade1/GNU/tar-1.18/lib -I..     -g 
> -O2 -MT xstrtoumax.o -MD -MP -MF ".deps/xstrtoumax.Tpo" -c -o xstrtoumax.o 
> /jade1/GNU/tar-1.18/lib/xstrtoumax.c; \
> then mv -f ".deps/xstrtoumax.Tpo" ".deps/xstrtoumax.Po"; else rm -f 
> ".deps/xstrtoumax.Tpo"; exit 1; fi
> In file included from ./stdint.h:71,
>                  from /usr/include/inttypes.h:242,
>                  from ./inttypes.h:31,
>                  from /jade1/GNU/tar-1.18/lib/xstrtol.h:25,
>                  from /jade1/GNU/tar-1.18/lib/xstrtol.c:32,
>                  from /jade1/GNU/tar-1.18/lib/xstrtoumax.c:6:
> ./inttypes.h:44:3: error: #error "This file assumes that 'int' has exactly 32 
> bits. Please report your platform and compiler to <address@hidden>."

Can you please try this patch? Just modify lib/stdint_.h as indicated
(with "patch lib/stdint_.h < this-mail"), then "make". Does the error
go away?

Bruno


--- lib/stdint_.h       21 Jun 2007 04:39:10 -0000      1.43
+++ lib/stdint_.h       12 Jul 2007 22:41:42 -0000
@@ -66,9 +66,9 @@
   /* In OpenBSD 3.8, <inttypes.h> includes <machine/types.h>, which defines
      int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__.
      <inttypes.h> also defines intptr_t and uintptr_t.  */
-# define _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H
+# define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
 # include <inttypes.h>
-# undef _GL_JUST_INCLUDE_ABSOLUTE_INTTYPES_H
+# undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
 #elif @HAVE_SYS_INTTYPES_H@
   /* Solaris 7 <sys/inttypes.h> has the types except the *_fast*_t types, and
      the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX.  */





reply via email to

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