[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs trunk build failure on OpenBSD 3.6 Sparc64
From: |
Alexander Taler |
Subject: |
cvs trunk build failure on OpenBSD 3.6 Sparc64 |
Date: |
Wed, 16 Nov 2005 12:36:51 -0500 |
Hi, I'm having a build failure for cvs 1.12 (trunk) on OpenBSD
Sparc64. It looks like autoconf is not correctly identifying
stdint.h.
Any ideas?
Alex
Here's the tail of my build:
====================
if gcc -DHAVE_CONFIG_H -I. -I/home/cvstest/cvs-nightly/lib -I.. -Ino/include
-g -O2 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o
/home/cvstest/cvs-nightl
y/lib/md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f
".deps/md5.Tp
o"; exit 1; fi
In file included from /home/cvstest/cvs-nightly/lib/md5.h:25,
from /home/cvstest/cvs-nightly/lib/md5.c:27:
stdint.h:62: warning: redefinition of `int8_t'
/usr/include/machine/int_types.h:53: warning: `int8_t' previously declared here
stdint.h:64: warning: redefinition of `uint8_t'
/usr/include/machine/int_types.h:54: warning: `uint8_t' previously declared here
stdint.h:67: warning: redefinition of `int16_t'
/usr/include/machine/int_types.h:56: warning: `int16_t' previously declared here
stdint.h:69: warning: redefinition of `uint16_t'
/usr/include/machine/int_types.h:57: warning: `uint16_t' previously declared
here
stdint.h:72: warning: redefinition of `int32_t'
/usr/include/machine/int_types.h:59: warning: `int32_t' previously declared here
stdint.h:74: warning: redefinition of `uint32_t'
/usr/include/machine/int_types.h:60: warning: `uint32_t' previously declared
here
stdint.h:78: error: conflicting types for `int64_t'
/usr/include/machine/int_types.h:69: error: previous declaration of `int64_t'
stdint.h:80: error: conflicting types for `uint64_t'
/usr/include/machine/int_types.h:70: error: previous declaration of `uint64_t'
stdint.h:136: warning: useless keyword or type name in empty declaration
stdint.h:136: warning: empty declaration
stdint.h:137: warning: useless keyword or type name in empty declaration
stdint.h:137: warning: empty declaration
In file included from /home/cvstest/cvs-nightly/lib/md5.h:25,
from /home/cvstest/cvs-nightly/lib/md5.c:27:
stdint.h:233:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:45,
from /usr/include/limits.h:88,
from stdint.h:30,
from /home/cvstest/cvs-nightly/lib/md5.h:25,
from /home/cvstest/cvs-nightly/lib/md5.c:27:
/usr/include/machine/limits.h:41:1: warning: this is the location of the
previous
definition
*** Error code 1
Stop in /tmp/cvs-nightly/lib.
*** Error code 1
Stop in /tmp/cvs-nightly/lib (line 354 of Makefile).
*** Error code 1
Stop in /tmp/cvs-nightly (line 418 of Makefile).
*** Error code 1
Stop in /tmp/cvs-nightly (line 326 of Makefile).
====================
Here's a snippet of the configure output:
====================
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
====================
and here's the complete (except the license)
/usr/include/machine/int_types.h, which is included from stddef.h
====================
#ifndef _SPARC64_INT_TYPES_H_
#define _SPARC64_INT_TYPES_H_
/*
* 7.18.1 Integer types
*/
/* 7.18.1.1 Exact-width integer types */
typedef __signed char int8_t;
typedef unsigned char uint8_t;
typedef unsigned char u_int8_t;
typedef short int int16_t;
typedef unsigned short int uint16_t;
typedef unsigned short int u_int16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef unsigned int u_int32_t;
#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__ int64_t;
typedef __COMPILER_UINT64__ uint64_t;
typedef __COMPILER_UINT64__ u_int64_t;
#else
/* 64-bit compiler */
typedef long long int int64_t;
typedef unsigned long long int uint64_t;
typedef unsigned long long int u_int64_t;
#endif /* !__COMPILER_INT64__ */
#define __BIT_TYPES_DEFINED__
/* 7.18.1.4 Integer types capable of holding object pointers */
typedef long int __intptr_t;
typedef unsigned long int __uintptr_t;
#endif /* !_SPARC64_INT_TYPES_H_ */
====================
--
https://savannah.gnu.org/projects/libcvs-spec Access CVS through a library.
PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B
No Prime Minister, a clarification is not to make oneself clear, it is to put
oneself in the clear. -- Sir Humphrey Appleby
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cvs trunk build failure on OpenBSD 3.6 Sparc64,
Alexander Taler <=