[Top][All Lists]

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

RE: make error with tar-1.18

From: Zimmerman, Alex (TS)
Subject: RE: make error with tar-1.18
Date: Mon, 16 Jul 2007 11:06:59 -0500

Hello Bruno,
The patch you suggested worked fine.  The make was successful without error and 
the executable seems to be working okay.
Many thanks for your help.
--Alex Z.

-----Original Message-----
From: Bruno Haible [mailto:address@hidden
Sent: Thu 7/12/2007 4:46 PM
To: Zimmerman, Alex (TS); address@hidden
Cc: Noam G. Nudelman
Subject: Re: make error with tar-1.18

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?


--- 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.  */
 # include <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]