This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/10480] New: Cannot build due to absent /usr/include/stdint.h
- From: "skunk at iskunk dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 4 Aug 2009 22:38:27 -0000
- Subject: [Bug build/10480] New: Cannot build due to absent /usr/include/stdint.h
- Reply-to: sourceware-bugzilla at sourceware dot org
Building GDB 6.8 on this Tru64 system hums along fine until...
gmake[2]: Entering directory `/tmp/gdb-build/libdecnumber'
source='/tmp/gdb-6.8/libdecnumber/decNumber.c' object='decNumber.o' libtool=no
gcc -I/tmp/gdb-6.8/libdecnumber -I. -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long
-I/tmp/gdb-6.8/libdecnumber -I. -c /tmp/gdb-6.8/libdecnumber/decNumber.c
In file included from /tmp/gdb-6.8/libdecnumber/decContext.h:59,
from /tmp/gdb-6.8/libdecnumber/decNumber.h:42,
from /tmp/gdb-6.8/libdecnumber/decNumber.c:174:
/tmp/gdb-6.8/libdecnumber/gstdint.h:7:20: error: stdint.h: No such file or directory
In file included from /tmp/gdb-6.8/libdecnumber/decNumber.h:42,
from /tmp/gdb-6.8/libdecnumber/decNumber.c:174:
/tmp/gdb-6.8/libdecnumber/decContext.h:84: error: expected
specifier-qualifier-list before 'int32_t'
/tmp/gdb-6.8/libdecnumber/decContext.h:94: warning: struct has no members
In file included from /tmp/gdb-6.8/libdecnumber/decNumber.h:42,
from /tmp/gdb-6.8/libdecnumber/decNumber.c:174:
/tmp/gdb-6.8/libdecnumber/decContext.h:242: error: expected declaration
specifiers or '...' before 'uint32_t'
/tmp/gdb-6.8/libdecnumber/decContext.h:243: error: expected declaration
specifiers or '...' before 'int32_t'
/tmp/gdb-6.8/libdecnumber/decContext.h:245: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'decContextGetStatus'
[zillions of errors follow...]
This system does not have the stdint.h system header, and in fact...
% gnu-grep -Rl int32_t /usr/include
/usr/include/net/ppp_defs.h
/usr/include/net/ppp_str.h
/usr/include/db.h
...it's pretty much BYOI :-)
--
Summary: Cannot build due to absent /usr/include/stdint.h
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned at sourceware dot org
ReportedBy: skunk at iskunk dot org
CC: gdb-prs at sourceware dot org
GCC build triplet: alphaev56-dec-osf4.0g
GCC host triplet: alphaev56-dec-osf4.0g
GCC target triplet: alphaev56-dec-osf4.0g
http://sourceware.org/bugzilla/show_bug.cgi?id=10480
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.