[sane-devel] Problem compiling scanbd (unkown type u_int8_t) [SOLVED}

Wilhelm wilhelm.meier at fh-kl.de
Tue Feb 7 08:00:23 UTC 2012


Am 04.02.2012 19:44, schrieb Alexander Tomisch:
> Hello,
>
> 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?

There were some problems compiling scanbd on ArchLinux. I just committed 
a new version of scanbd to trunk solving this issue.

Also included is a PKGBUILD in contrib for a new libusb-compat for 
ArchLinux. This solves an issue recognizing the scanners with the old 
scanbuttond-backends.


>
>
> The complete output: http://pastebin.com/2d7ivqg4
>
>
>
> Alex
>


-- 
Wilhelm




More information about the sane-devel mailing list