2.1.92 compile error

Mike Black (mblack@csihq.com)
Thu, 2 Apr 1998 07:48:18 -0500


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -pipe -fno-strength-reduce -m486 -malig
n-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o aic7xxx.o
aic7xxx.c
In file included from aic7xxx.c:121:
aic7xxx/sequencer.h:43: redefinition of `u_int8_t'
/usr/src/linux/include/linux/types.h:75: `u_int8_t' previously declared here

in aic7xxxx.c:
#if defined(__KERNEL__)
typedef unsigned char u_int8_t;
#endif

in linux/types.h:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__

typedef __u8 u_int8_t;
typedef __s8 int8_t;
typedef __u16 u_int16_t;
typedef __s16 int16_t;
typedef __u32 u_int32_t;
typedef __s32 int32_t;

#endif /* !(__BIT_TYPES_DEFINED__) */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu