[sane-devel] Problem compiling scanbd (unkown type u_int8_t)
sweet_f_a at gmx.de
Sat Feb 4 19:34:57 UTC 2012
On Saturday 04 February 2012, Alexander Tomisch wrote:
> I've tried to compile scanbd on Arch Linux ...
> USE_SCANBUTTOND=yes make -e clean all
> ... and got the following error:
> cc -Wall -Wextra -std=c99 -g -DLinux -I../include -Dsyslog=slog
> -DLOG_INFO=SLOG_INFO -DLOG_WARNING=SLOG_WARN
> -DCFG_DIR=/usr/local/etc/scanbd/scanbuttond/backends -fPIC -shared -o
> mustek.so mustek.c
> In file included from ../include/scanbuttond/libusbi.h:22:0,
> from mustek.c:27:
> /usr/include/usb.h:81:2: Fehler: unbekannter Typname: »u_int8_t«
> It seems that scanbd is compiling well but the old scanbuttond not -
> and I did not found any useful information about this error.
> Any hints?
In mustek.c add
before including libusbi.h
Maybe the libusb people should include that directly within usb.h.
You could report the issue there.
More information about the sane-devel