[sane-devel] .configure warning in 1.0.14-pre1

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 18 Apr 2004 10:55:18 +0200


On Sat, Apr 17, 2004 at 11:54:21PM +0200, Eichi Onizuka wrote:
> Yes, the system is OS X 10.3.3
> uname -a
> Darwin XS206.local 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar  5
> 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC  Power
> Macintosh powerpc
> Ok, I'll attach config.log to this message...

configure:3922: checking mach-o/dyld.h usability
configure:3934: gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual
-Wmissing-declarations -Wmissing-prototypIn file included from
                 from /usr/include/architecture/byte_order.h:34,
                 from /usr/include/mach-o/loader.h:47,
                 from /usr/include/mach-o/dyld.h:34,
                 from conftest.c:59:
/usr/include/libkern/ppc/OSByteOrder.h:42: error: syntax error before "uint16_t"
/usr/include/libkern/ppc/OSByteOrder.h:57: error: syntax error before "uint32_t"

Same with sys/select.h.

Looks like an OS bug. The header uses uint16_t but does not include
the header that defines it.

Can anyone on MacOS X look at the manpage of a function in
mach-o/dyld.h and tell us which header needs to be included before