Displaying 4 results from an estimated 4 matches for "__bit_types_defined__".
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t'
/klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here
The copy in stdint.h is not protected by:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#endif /* !(__BIT_TYPES_DEFINED__) */
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
2004 Feb 27
0
__BIT_TYPES_DEFINED__ patch for 3.8p1 on Tru64
...on my Tru64 V4.0G boxes with Heimdal 0.6.
The problem is that Heimdal defines the intXX_t types in <krb5-types.h>
and these then clash with OpenSSH's own definitions in "defines.h".
The patch should be harmless on other platforms (at least if they are
sane and don't define __BIT_TYPES_DEFINED__ without also declaring the
corresponding datatypes).
--- orig/defines.h
+++ mod/defines.h
@@ -143,6 +143,7 @@
typedef unsigned int u_int;
#endif
+#ifndef __BIT_TYPES_DEFINED__
#ifndef HAVE_INTXX_T
# if (SIZEOF_CHAR == 1)
typedef char int8_t;
@@ -211,6 +212,7 @@
# endif
#define __BIT_TYPES...
2001 Mar 06
0
Problem compiling openssh on Solaris 2.6 with AFS-krb4 (fwd)
...efines.h:144: `u_int32_t' previously declared here
--- openssh-SNAP-20001016.orig/defines.h Fri Sep 29 14:01:36 2000
+++ openssh-SNAP-20001016.patched/defines.h Thu Oct 19 11:17:57 2000
@@ -160,6 +160,7 @@
# error "32 bit int type not found."
# endif
# endif
+#define __BIT_TYPES_DEFINED__
#endif
/* 64-bit types */
MM> sshconnect1.c: In function `send_afs_tokens':
MM> sshconnect1.c:543: warning: implicit declaration of function `_IOW'
MM> sshconnect1.c:543: parse error before `struct'
MM> make: *** [sshconnect1.o] Error 1
--- kafs.h~ Tue Dec 12 15:53:...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
.../defines.h:185:5: #error "32 bit int type not found."
../defines.h:201:5: #error "8 bit int type not found."
../defines.h:213:6: #error "16 bit int type not found."
../defines.h:222:6: #error "32 bit int type not found."
../defines.h:226:1: warning: "__BIT_TYPES_DEFINED__" redefined
In file included from /usr/include/sys/types.h:372,
from /usr/include/stdio.h:46,
from ../includes.h:27,
from bsd-arc4random.c:17:
The source in defines.h has the following:
#ifndef HAVE_INTXX_T
# if (SIZEOF_CHAR == 1)
type...