On Saturday 04 February 2012, Alexander Tomisch wrote: > 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?
In mustek.c add #include <sys/types.h> before including libusbi.h Maybe the libusb people should include that directly within usb.h. You could report the issue there. cu, Rudi
