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

Bug#49434: gcc doesn't get <linux/types.h> right



Thanks! As a workaround, please rename the file

	/usr/lib/gcc-lib/i386-linux/2.95.2/include/asm/posix_types.h

to something else. Will see, why this has changed and this file is
installed on i386 archs.

Nathan P. Straz writes:
 > On Tue, Nov 09, 1999 at 05:41:41PM +0100, Matthias Klose wrote:
 > > Next questioon: please run the compiler with -H and send the output.
 > 
 > There is a difference.  With 0pre3:
 > 
 > 
 > root@taz:~# gcc -H check.c
 > /usr/include/linux/types.h
 >  /usr/include/linux/posix_types.h
 >   /usr/include/asm/posix_types.h
 >  /usr/include/asm/types.h
 > 
 > With 2:
 > straznp@acmpc ~$ gcc -H check.c
 > /usr/include/linux/types.h
 >  /usr/include/linux/posix_types.h
 >   /usr/lib/gcc-lib/i386-linux/2.95.2/include/asm/posix_types.h
 >    /usr/include/features.h
 >     /usr/include/sys/cdefs.h
 >     /usr/include/gnu/stubs.h
 >    /usr/include/asm/posix_types.h
 >  /usr/include/asm/types.h
 > check.c: In function `main':
 > check.c:5: `int8_t' undeclared (first use in this function)
 > check.c:5: (Each undeclared identifier is reported only once
 > check.c:5: for each function it appears in.)
 > check.c:5: parse error before `x'


Reply to: