[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
use <sys/int_types.h> instead of <stdint.h> on Solaris (build fail also
From: |
anirkko |
Subject: |
use <sys/int_types.h> instead of <stdint.h> on Solaris (build fail also on newest CVS snapshot binutils-2.17.50) |
Date: |
Sat, 21 Apr 2007 00:30:23 +0200 (MET DST) |
Hi
Already reported for distribution binutils-2.17,
but build also fails with todays CVS snapshot binutils-2.17.50:
When using "configure --enable-targets=all"
then compiling opcodes/m32c-asm.c fails in cgen-types.h
because no file stdint.h can be found anywhere on Solaris.
(neither 2.6 nor Solaris 8)
Workaround: on Solaris, use
#include <sys/int_types.h>
instead of <stdint.h>
Greets,
Arto
---------------------------------------------------------------
...
gcc -DHAVE_CONFIG_H -I.
-I/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes -I. -D_GNU_SOURCE -I.
-I/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes -I../bfd
-I/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/../include
-I/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/../bfd -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -O3 -mcpu=supersparc
-mno-app-regs -c
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/m32c-asm.c -o m32c-asm.o
In file included from
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/m32c-opc.h:31,
from
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/m32c-asm.c:35:
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/cgen-types.h:26:20:
error: stdint.h: No such file or directory
In file included from
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/m32c-opc.h:31,
from
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/m32c-asm.c:35:
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/cgen-types.h:28: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'QI'
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/cgen-types.h:29: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'UQI'
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/cgen-types.h:30: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'HI'
/_mnt/hd32/package/build/snap/binutils-2.17.50/opcodes/cgen-types.h:31: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'UHI'
...
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- use <sys/int_types.h> instead of <stdint.h> on Solaris (build fail also on newest CVS snapshot binutils-2.17.50),
anirkko <=