While investigating bug 229641:
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -Werror -ggdb3
-D_FORTIFY_SOURCE=2 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/hal -I/usr/include/libgtop-2.0 -I/usr/include/libxml2 -g
-O2 -MT hal-ipod-info.o -MD -MP -MF ".deps/hal-ipod-info.Tpo" -c -o
hal-ipod-info.o hal-ipod-info.c; \
then mv -f ".deps/hal-ipod-info.Tpo" ".deps/hal-ipod-info.Po"; else rm
-f ".deps/hal-ipod-info.Tpo"; exit 1; fi
In file included from /usr/include/scsi/sg_cmds.h:17,
from hal-ipod-info.c:9:
/usr/include/scsi/sg_cmds_basic.h:123: error: expected declaration specifiers
or ‘...’ before ‘uint64_t’
In file included from /usr/include/scsi/sg_cmds.h:18,
from hal-ipod-info.c:9:
/usr/include/scsi/sg_cmds_extra.h:128: error: expected declaration specifiers
or ‘...’ before ‘uint64_t’
/usr/include/scsi/sg_cmds_extra.h:244: error: expected declaration specifiers
or ‘...’ before ‘uint64_t’
make[2]: *** [hal-ipod-info.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3'
make: *** [all] Error 2
For uint64_t to be available, <stdint.h> must be included:
http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html