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

Alexander Tomisch alex at tomisch.de
Sun Feb 5 09:40:18 UTC 2012


Hello,

Thank you, the u_int8_t issue is solved.


Now it complains the PATH_MAX variable:


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:23:0,
                  from mustek.c:27:
/usr/include/usb.h:248:17: Fehler: »PATH_MAX« ist hier nicht deklariert 
(nicht in einer Funktion)
make[2]: *** [mustek.so] Fehler 1
make[2]: Leaving directory `/root/scanbd/trunk/scanbuttond/backends'
make[1]: *** [backends] Fehler 2
make[1]: Leaving directory `/root/scanbd/trunk/scanbuttond'
make: *** [scanbuttond] Fehler 2



If I remove the mustek backend from the makefile same problem in the 
plustek backend.


Alex



More information about the sane-devel mailing list