Cook: brscan 0.2.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libusb-1.0.22-i486 Installing (pkg/local): libusb-compat-0.1.5-i486 Installing (pkg/local): eudev-dev-3.2.9-any Installing (pkg/local): libusb-compat-dev-0.1.5-any Extracting source archive "brscan-src-0.2.4.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking whether i486-slitaz-linux-gcc needs -traditional... no checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for strerror in -lcposix... no checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking os2.h usability... no checking os2.h presence... no checking for os2.h... no using CFLAGS=-march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/dsreq.h usability... no checking sys/dsreq.h presence... no checking for sys/dsreq.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/scanio.h usability... no checking sys/scanio.h presence... no checking for sys/scanio.h... no checking scsi.h usability... no checking scsi.h presence... no checking for scsi.h... no checking sys/scsi.h usability... no checking sys/scsi.h presence... no checking for sys/scsi.h... no checking sys/scsicmd.h usability... no checking sys/scsicmd.h presence... no checking for sys/scsicmd.h... no checking sys/scsiio.h usability... no checking sys/scsiio.h presence... no checking for sys/scsiio.h... no checking bsd/dev/scsireg.h usability... no checking bsd/dev/scsireg.h presence... no checking for bsd/dev/scsireg.h... no checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking /usr/src/linux/include/scsi/sg.h usability... no checking /usr/src/linux/include/scsi/sg.h presence... no checking for /usr/src/linux/include/scsi/sg.h... no checking io/cam/cam.h usability... no checking io/cam/cam.h presence... no checking for io/cam/cam.h... no checking camlib.h usability... no checking camlib.h presence... no checking for camlib.h... no checking for os2.h... (cached) no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking asm/io.h usability... no checking asm/io.h presence... no checking for asm/io.h... no checking gscdds.h usability... no checking gscdds.h presence... no checking for gscdds.h... no checking sys/hw.h usability... no checking sys/hw.h presence... no checking for sys/hw.h... no checking for sys/types.h... (cached) yes checking sys/scsi/scsi.h usability... no checking sys/scsi/scsi.h presence... no checking for sys/scsi/scsi.h... no checking sys/scsi/sgdefs.h usability... no checking sys/scsi/sgdefs.h presence... no checking for sys/scsi/sgdefs.h... no checking sys/scsi/targets/scgio.h usability... no checking sys/scsi/targets/scgio.h presence... no checking for sys/scsi/targets/scgio.h... no checking apollo/scsi.h usability... no checking apollo/scsi.h presence... no checking for apollo/scsi.h... no checking sys/sdi_comm.h usability... no checking sys/sdi_comm.h presence... no checking for sys/sdi_comm.h... no checking sys/passthrudef.h usability... no checking sys/passthrudef.h presence... no checking for sys/passthrudef.h... no checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_int8_t only in sys/bitypes.h... no, also in standard headers checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for struct flock in fcntl.h... yes checking for socklen_t in ... yes checking for union semun in ... no checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for dlopen... yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for sqrt in -lm... yes checking for scsireq_enter in -lscsi... no checking for cam_open_device in -lcam... no checking for usb_open in -lusb... yes checking for jpeg_start_decompress in -ljpeg... no checking for gethostbyaddr in -lnsl... no checking for socket in -lsocket... no checking for syslog in -lsyslog... no checking ptal.h usability... no checking ptal.h presence... no checking for ptal.h... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for ioperm... yes checking for mkdir... yes checking for scsireq_enter... no checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for cfmakeraw... yes checking for tcsendbreak... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for _portaccess... no checking for getenv... yes checking for isfdtype... yes checking for vsyslog... yes checking for inet_ntop... yes checking linker parameter to set runtime link path... -Wl,-rpath, checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking host system type... i486-pc-linux-gnu checking for object suffix... o checking for executable suffix... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.lo... yes checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions ... no checking if i486-slitaz-linux-gcc static flag -static works... none checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool disabling DC210/DC240 backends (failed to find JPEG library) disabling GPHOTO2 backend (not requested, or failed to find gphoto2-config or JPEG lib) disabling PINT backend enabling QuickCam backend disabling Video4Linux backend enabling NET backend enabling SM3600 backend enabling SnapScan backend scsi buffersize: 131072 checking for sane-config... no checking for sane_init in -lsane... no configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating sanei/Makefile config.status: creating backend_brscan/Makefile config.status: creating backend_brscan2/Makefile config.status: creating include/Makefile config.status: creating po/Makefile config.status: creating include/sane/config.h **************************************************************** * Please be sure to read file PROBLEMS in this directory * * BEFORE running any of the SANE applications. Some devices * * may be damaged by inproper operation, so please do heed this * * advice. * **************************************************************** (cd backend_brscan && make brscan) make[1]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan' sh mk_backend release make libsane-brother make[2]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan' mkdir .libs i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/usr/lib/sane sane_strstatus.c -fPIC -DPIC -o .libs/sane_strstatus.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/usr/lib/sane sane_strstatus.c -o sane_strstatus.o >/dev/null 2>&1 mv -f .libs/sane_strstatus.lo sane_strstatus.lo rm -f .libs/brother.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=brother -DLIBDIR=/usr/lib/sane brother.c -fPIC -DPIC -o .libs/brother.lo In file included from brother.c:68: brother.h:307: warning: "MAX_PATH" redefined #define MAX_PATH 256 In file included from brother.h:59, from brother.c:68: brother_dtype.h:48: note: this is the location of the previous definition #define MAX_PATH 260 In file included from brother.c:86: brother_cmatch.c: In function 'LoadGrayTable': brother_cmatch.c:377:12: warning: variable 'lFilePtr' set but not used [-Wunused-but-set-variable] LONG lFilePtr; ^~~~~~~~ In file included from brother.c:87: brother_devaccs.c: In function 'OpenDevice': brother_devaccs.c:345:7: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:354:9: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother.c:87: brother_mfccmd.h:43:30: warning: pointer targets in passing argument 2 of 'WriteDeviceData' differ in signedness [-Wpointer-sign] #define MFCMD_QUERYDEVINFO "\x1BQ\n\x80" ^~~~~~~~~~~~~ brother_devaccs.c:372:32: note: in expansion of macro 'MFCMD_QUERYDEVINFO' WriteDeviceData( hScanner, MFCMD_QUERYDEVINFO, strlen( MFCMD_QUERYDEVINFO ), seriesNo ); ^~~~~~~~~~~~~~~~~~ In file included from brother.c:70: brother_devaccs.h:83:9: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' int WriteDeviceData( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo ); ^~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c: In function 'ReadDeviceData': brother_devaccs.c:565:11: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpRxBuffer, ^~~~~~~~~~ In file included from brother.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:573:6: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpRxBuffer, ^~~~~~~~~~ In file included from brother.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c: In function 'WriteDeviceData': brother_devaccs.c:858:7: warning: pointer targets in passing argument 2 of 'write_device_net' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother.c:64: brother_netdev.h:87:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int write_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:896:10: warning: pointer targets in passing argument 3 of 'usb_bulk_write' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother.c:40: /usr/include/usb.h:301:5: note: expected 'const char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int usb_bulk_write(usb_dev_handle *dev, int ep, const char *bytes, int size, ^~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c: In function 'WriteDeviceCommand': brother_devaccs.c:940:7: warning: pointer targets in passing argument 2 of 'write_device_net' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother.c:64: brother_netdev.h:87:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int write_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c: In function 'ERRPRINT': brother_devaccs.c:1066:26: warning: unused parameter 'format' [-Wunused-parameter] int ERRPRINT(const char *format,...){return 0;} ~~~~~~~~~~~~^~~~~~ brother_devaccs.c: In function 'DBGPRINT': brother_devaccs.c:1067:26: warning: unused parameter 'format' [-Wunused-parameter] int DBGPRINT(const char *format,...){return 0;} ~~~~~~~~~~~~^~~~~~ brother_devaccs.c: In function 'get_semkey': brother_devaccs.c:1097:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if((n_read >0) && (n_read < (sizeof(buffer)-1))){ ^ In file included from brother_devaccs.c:50, from brother.c:87: brother_devinfo.c: In function 'QCommandProc': brother_mfccmd.h:43:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_QUERYDEVINFO "\x1BQ\n\x80" ^~~~~~~~~~~~~ brother_devinfo.c:306:38: note: in expansion of macro 'MFCMD_QUERYDEVINFO' WriteDeviceCommand( this->hScanner, MFCMD_QUERYDEVINFO, strlen( MFCMD_QUERYDEVINFO ),this->modelInf.seriesNo ); ^~~~~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother.c:88: brother_devinfo.c:319:40: warning: pointer targets in passing argument 2 of 'ReadNonFixedData' differ in signedness [-Wpointer-sign] if (ReadNonFixedData( this->hScanner, pReadBuf, nReadSize + 0x100, dwQcmdTimeOut,this->modelInf.seriesNo )){ ^~~~~~~~ In file included from brother.c:87: brother_devaccs.c:631:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ReadNonFixedData( usb_dev_handle *hScanner, LPBYTE lpBuffer, WORD wReadSize, DWORD dwTimeOutMsec ,int seriesNo) ^~~~~~~~~~~~~~~~ In file included from brother.c:88: brother_devinfo.c: In function 'QueryScanInfoProc': brother_devinfo.c:385:38: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] WriteDeviceCommand( this->hScanner, szCmdStr, CmdLength, this->modelInf.seriesNo ); ^~~~~~~~ In file included from brother.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother.c:88: brother_devinfo.c:398:52: warning: pointer targets in passing argument 2 of 'ReadNonFixedData' differ in signedness [-Wpointer-sign] nRealReadSize = ReadNonFixedData( this->hScanner, pReadBuf, nReadSize + 0x100, dwQcmdTimeOut, this->modelInf.seriesNo ); ^~~~~~~~ In file included from brother.c:87: brother_devaccs.c:631:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ReadNonFixedData( usb_dev_handle *hScanner, LPBYTE lpBuffer, WORD wReadSize, DWORD dwTimeOutMsec ,int seriesNo) ^~~~~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother.c:87: brother_mfccmd.c: In function 'SendCancelCommand': brother_mfccmd.h:49:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_CANCELSCAN "\x1BR" ^~~~~~~ brother_mfccmd.c:82:34: note: in expansion of macro 'MFCMD_CANCELSCAN' WriteDeviceCommand( hScanner, MFCMD_CANCELSCAN, strlen( MFCMD_CANCELSCAN ), seriesNo ); ^~~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother.c:74: brother_modelinf.c: In function 'init_model_info': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother_modelinf.c:222:5: note: in expansion of macro 'FREE' FREE(model->modelTypeName); ^~~~ In file included from brother.c:91: brother_modelinf.c:221:4: note: some parts of macro expansion are not guarded by this 'if' clause if(res == FALSE && NULL != (model->modelTypeName)) ^~ brother_modelinf.c: In function 'ReadInitFileString': brother_modelinf.c:1590:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpAppName == NULL_C) /* if lpAppName is NULL */ ^~ brother_modelinf.c:1590:8: note: did you mean to dereference the pointer? if(lpAppName == NULL_C) /* if lpAppName is NULL */ ^ brother_modelinf.c:1611:19: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpKeyName == NULL_C) ^~ brother_modelinf.c:1611:9: note: did you mean to dereference the pointer? if(lpKeyName == NULL_C) ^ brother_modelinf.c: In function 'ReadModelInfoSize': brother_modelinf.c:1852:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpKeyName == NULL_C) ^~ brother_modelinf.c:1852:8: note: did you mean to dereference the pointer? if(lpKeyName == NULL_C) ^ In file included from brother.c:92: brother_scanner.c: In function 'ScanStart': brother_scanner.c:217:11: warning: variable 'errornum' set but not used [-Wunused-but-set-variable] int rc,errornum; ^~~~~~~~ brother_scanner.c: In function 'PageScanStart': brother_scanner.c:509:44: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] if (WriteDeviceCommand( this->hScanner, szCmdStr, nCmdStrLen, this->modelInf.seriesNo )) ^~~~~~~~ In file included from brother.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother.c:87: brother_mfccmd.h:48:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_SCANNEXTPAGE "\x1BX\n\x80" ^~~~~~~~~~~~~ brother_scanner.c:520:43: note: in expansion of macro 'MFCMD_SCANNEXTPAGE' if (WriteDeviceCommand( this->hScanner, MFCMD_SCANNEXTPAGE, strlen( MFCMD_SCANNEXTPAGE ), this->modelInf.seriesNo)) ^~~~~~~~~~~~~~~~~~ In file included from brother.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother.c:92: brother_scanner.c: In function 'StatusChk': brother_scanner.c:552:14: warning: pointer targets in initialization of 'LPBYTE' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] LPBYTE pt = lpBuff; ^~~~~~ brother_scanner.c: In function 'PageScan': brother_scanner.c:1215:19: warning: pointer targets in passing argument 1 of 'StatusChk' differ in signedness [-Wpointer-sign] if (StatusChk(lpRxBuff, wData)) { // ステータスコードを受信したかチェックする。 ^~~~~~~~ brother_scanner.c:549:1: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} StatusChk(char *lpBuff, int nDataSize) ^~~~~~~~~ brother_scanner.c:1296:64: warning: pointer targets in passing argument 4 of 'ProcessMain' differ in signedness [-Wpointer-sign] nAnswer = ProcessMain( this, wData, wDataLineCnt, lpFwTempBuff+FwTempBuffLength, &FwTempBuffLength, &wProcessSize ); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from brother.c:73: brother_scanner.h:50:8: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int ProcessMain(Brother_Scanner *this, WORD wByte, WORD wDataLineCnt, char * lpFwBuf, int *lpFwBufcnt, WORD *lpProcessSize); ^~~~~~~~~~~ In file included from brother.c:92: brother_scanner.c: In function 'ReadTrash': brother_scanner.c:1562:12: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother.c:92: brother_scanner.c:1571:7: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother.c:92: brother_scanner.c: In function 'ScanEnd': brother_scanner.c:1638:8: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] BOOL bResult; ^~~~~~~ In file included from brother.c:92: brother_scanner.c: In function 'ProcessMain': brother_scanner.c:2087:37: warning: pointer targets in assignment from 'char *' to 'BYTE *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] ImgLineProcInfo.pWriteBuff = lpFwBuf; ^ brother_scanner.c:2124:38: warning: pointer targets in passing argument 2 of 'ExecColorMatchingFunc' differ in signedness [-Wpointer-sign] ExecColorMatchingFunc( this, lpFwBuf, this->scanInfo.ScanAreaByte.lWidth, 1 ); ^~~~~~~ In file included from brother.c:86: brother_cmatch.c:313:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ExecColorMatchingFunc( Brother_Scanner *this, LPBYTE lpRgbData, long lRgbDataLen, long lLineCount ) ^~~~~~~~~~~~~~~~~~~~~ In file included from brother.c:92: brother_scanner.c:2009:9: warning: variable 'lpHosei' set but not used [-Wunused-but-set-variable] LPBYTE lpHosei; ^~~~~~~ In file included from brother.c:94: brother_log.c: In function 'WriteLogFileString': brother_log.c:146:28: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] "%02d:%02d:%02d.%03d %s\n", ~~~^ %03ld brother_log.c:150:9: (ltime%1000), ~~~~~~~~~~~~ brother_log.c: In function 'WriteLogScanCmd': brother_log.c:287:42: warning: comparison is always true due to limited range of data type [-Wtype-limits] }else if( ' ' <= *lpszCmd && *lpszCmd < 0x80 ){ ^ In file included from brother.c:96: brother_netdev.c: In function 'get_device_id': brother_netdev.c:388:7: warning: variable 'find' set but not used [-Wunused-but-set-variable] int find = 0; ^~~~ In file included from brother.c:74: brother.c: In function 'sane_brother_exit': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother.c:581:16: note: in expansion of macro 'FREE' if (devlist) FREE(devlist); ^~~~ brother.c:581:3: note: some parts of macro expansion are not guarded by this 'if' clause if (devlist) FREE(devlist); ^~ In file included from brother.c:74: brother.c: In function 'sane_brother_get_devices': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother.c:602:16: note: in expansion of macro 'FREE' if (devlist) FREE (devlist); ^~~~ brother.c:602:3: note: some parts of macro expansion are not guarded by this 'if' clause if (devlist) FREE (devlist); ^~ In file included from brother.c:57: brother.c:593:15: warning: parameter 'local_only' set but not used [-Wunused-but-set-parameter] SANE_Bool local_only) ~~~~~~~~~~^~~~~~~~~~ ../include/sane/sanei_backend.h:100:63: note: in definition of macro 'sane_get_devices' #define sane_get_devices(a,b) ENTRY(get_devices) (a,b) ^ brother.c: In function 'sane_brother_open': brother.c:625:7: warning: variable 'errornum' set but not used [-Wunused-but-set-variable] int errornum; ^~~~~~~~ In file included from brother.c:74: brother.c: In function 'sane_brother_close': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother.c:849:5: note: in expansion of macro 'FREE' FREE(scanModeList); ^~~~ brother.c:848:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanModeList) ^~ In file included from brother.c:74: brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother.c:852:5: note: in expansion of macro 'FREE' FREE(scanResoList); ^~~~ brother.c:851:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanResoList) ^~ In file included from brother.c:74: brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother.c:855:5: note: in expansion of macro 'FREE' FREE(scanSrcList); ^~~~ brother.c:854:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanSrcList) ^~ brother.c: In function 'sane_brother_read': brother.c:1132:22: warning: pointer targets in passing argument 2 of 'PageScan' differ in signedness [-Wpointer-sign] rc=PageScan(this,buf,maxlen,len); ^~~ In file included from brother.c:92: brother_scanner.c:1115:1: note: expected 'char *' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} PageScan( Brother_Scanner *this, char *lpFwBuf, int nMaxLen, int *lpFwLen ) ^~~~~~~~ brother.c:1135:25: warning: pointer targets in passing argument 2 of 'PageScan' differ in signedness [-Wpointer-sign] rc =PageScan(this,buf,maxlen,len); ^~~ In file included from brother.c:92: brother_scanner.c:1115:1: note: expected 'char *' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} PageScan( Brother_Scanner *this, char *lpFwBuf, int nMaxLen, int *lpFwLen ) ^~~~~~~~ brother.c: In function 'sane_brother_control_option': brother.c:951:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (pnInfo) (*pnInfo) |= SANE_INFO_RELOAD_PARAMS; ^ brother.c:952:2: note: here case optBrightness: ^~~~ brother.c:965:14: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((rc = SetupScanMode( this, id )) != SANE_STATUS_GOOD) ^ brother.c:968:2: note: here case optScanSrc: ^~~~ In file included from /usr/include/string.h:494, from brother.c:37: In function 'strcpy', inlined from 'get_scansrc_listcnt' at brother_modelinf.c:2629:4: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin___strcpy_chk' writing 34 bytes into a region of size 30 overflows the destination [-Wstringop-overflow=] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from brother.c:94: brother_log.c: In function 'WriteLogFileString': brother_log.c:168:3: warning: 'dwStrLen' may be used uninitialized in this function [-Wmaybe-uninitialized] fwrite( szStrBuff, sizeof(char), dwStrLen, hLogFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=brother -DLIBDIR=/usr/lib/sane brother.c -o brother.o >/dev/null 2>&1 mv -f .libs/brother.lo brother.lo rm -f brother-s.c ln -s ./stubs.c brother-s.c rm -f .libs/brother-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DSTUBS -DBACKEND_NAME=brother brother-s.c -fPIC -DPIC -o .libs/brother-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DSTUBS -DBACKEND_NAME=brother brother-s.c -o brother-s.o >/dev/null 2>&1 mv -f .libs/brother-s.lo brother-s.lo rm -fr .libs/libsane-brother.la .libs/libsane-brother.* .libs/libsane-brother.* (cd ../sanei && ln -s sanei_init_debug.lo sanei_init_debug.o) (cd ../sanei && ln -s sanei_config.lo sanei_config.o) (cd ../lib && ln -s alloca.lo alloca.o) (cd ../lib && ln -s getenv.lo getenv.o) (cd ../lib && ln -s getopt.lo getopt.o) (cd ../lib && ln -s getopt1.lo getopt1.o) (cd ../lib && ln -s isfdtype.lo isfdtype.o) (cd ../lib && ln -s sigprocmask.lo sigprocmask.o) (cd ../lib && ln -s snprintf.lo snprintf.o) (cd ../lib && ln -s strdup.lo strdup.o) (cd ../lib && ln -s strndup.lo strndup.o) (cd ../lib && ln -s strsep.lo strsep.o) (cd ../lib && ln -s usleep.lo usleep.o) (cd ../lib && ln -s vsyslog.lo vsyslog.o) (cd ../lib && ln -s inet_ntop.lo inet_ntop.o) (cd ../sanei && ln -s sanei_constrain_value.lo sanei_constrain_value.o) i486-slitaz-linux-gcc -shared brother.lo brother-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo ../sanei/sanei_constrain_value.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-brother.so.1.0.7 (cd .libs && rm -f libsane-brother.so.1 && ln -s libsane-brother.so.1.0.7 libsane-brother.so.1) (cd .libs && rm -f libsane-brother.so && ln -s libsane-brother.so.1.0.7 libsane-brother.so) ar cru .libs/libsane-brother.a brother.o brother-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o ../sanei/sanei_constrain_value.o i486-slitaz-linux-ranlib .libs/libsane-brother.a creating libsane-brother.la (cd .libs && rm -f libsane-brother.la && ln -s ../libsane-brother.la libsane-brother.la) rm -f dll-preload.c list=""; for be in $list; do \ echo "PRELOAD_DECL($be)" >> dll-preload.c; \ done echo "static struct backend preloaded_backends[] = {" >> dll-preload.c sep=""; \ list=""; \ if test -z "${list}"; then \ echo { 0 } >> dll-preload.c; \ else \ for be in $list; do \ echo "${sep}PRELOAD_DEFN($be)" >> dll-preload.c; \ sep=","; \ done; \ fi echo "};" >> dll-preload.c rm -f .libs/dll.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=dll -DLIBDIR=/usr/lib/sane dll.c -fPIC -DPIC -o .libs/dll.lo dll.c: In function 'sane_dll_exit': dll.c:624:21: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(devlist[i++]); ~~~~~~~^~~~~ In file included from dll.c:59: /usr/include/stdlib.h:563:25: note: expected 'void *' but argument is of type 'const SANE_Device *' {aka 'const struct *'} extern void free (void *__ptr) __THROW; ~~~~~~^~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DBACKEND_NAME=dll -DLIBDIR=/usr/lib/sane dll.c -o dll.o >/dev/null 2>&1 mv -f .libs/dll.lo dll.lo rm -f dll-s.c ln -s ./stubs.c dll-s.c rm -f .libs/dll-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DSTUBS -DBACKEND_NAME=dll dll-s.c -fPIC -DPIC -o .libs/dll-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec -I../libbrcolm -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=1 -DSTUBS -DBACKEND_NAME=dll dll-s.c -o dll-s.o >/dev/null 2>&1 mv -f .libs/dll-s.lo dll-s.lo rm -fr .libs/libsane-dll.la .libs/libsane-dll.* .libs/libsane-dll.* i486-slitaz-linux-gcc -shared dll.lo dll-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-dll.so.1.0.7 (cd .libs && rm -f libsane-dll.so.1 && ln -s libsane-dll.so.1.0.7 libsane-dll.so.1) (cd .libs && rm -f libsane-dll.so && ln -s libsane-dll.so.1.0.7 libsane-dll.so) ar cru .libs/libsane-dll.a dll.o dll-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o i486-slitaz-linux-ranlib .libs/libsane-dll.a creating libsane-dll.la (cd .libs && rm -f libsane-dll.la && ln -s ../libsane-dll.la libsane-dll.la) rm -fr .libs/libsane.la .libs/libsane.* .libs/libsane.* i486-slitaz-linux-gcc -shared dll.lo dll-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane.so.1.0.7 (cd .libs && rm -f libsane.so.1 && ln -s libsane.so.1.0.7 libsane.so.1) (cd .libs && rm -f libsane.so && ln -s libsane.so.1.0.7 libsane.so) ar cru .libs/libsane.a dll.o dll-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o i486-slitaz-linux-ranlib .libs/libsane.a creating libsane.la (cd .libs && rm -f libsane.la && ln -s ../libsane.la libsane.la) make[2]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan' make[1]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan' (cd netconfig && make brscan) make[1]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/netconfig' sh mk_brsaneconfig 1 gcc -DBRSANESUFFIX=1 -Wall -O0 -DMKCONFIG -idirafter ../backend_src -o brsaneconfig brsaneconfig.c ../backend_src/brother_advini.c brsaneconfig.c: In function 'add_network_device': brsaneconfig.c:316:10: warning: the address of 'node' will always evaluate as 'true' [-Waddress] if(node && *node){ ^~~~ brsaneconfig.c:321:15: warning: the address of 'ip' will always evaluate as 'true' [-Waddress] else if(ip && *ip){ ^~ brsaneconfig.c: In function 'query_available_models': brsaneconfig.c:423:8: warning: the address of 'node' will always evaluate as 'true' [-Waddress] if(node && node[0]){ ^~~~ brsaneconfig.c:426:13: warning: the address of 'ip' will always evaluate as 'true' [-Waddress] else if(ip && ip[0]){ ^~ brsaneconfig.c: In function 'loggingoff': brsaneconfig.c:590:54: warning: '%s' directive writing 43 bytes into a region of size between 36 and 67 [-Wformat-overflow=] sprintf(filter,"cat %s | sed s/'log=.*'// | uniq > %s",tmpconffile,CONFFILE); ^~ brsaneconfig.c:590:3: note: 'sprintf' output between 77 and 108 bytes into a destination of size 100 sprintf(filter,"cat %s | sed s/'log=.*'// | uniq > %s",tmpconffile,CONFFILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/netconfig' (cd backend_brscan2 && make brscan2) make[1]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan2' sh mk_backend release make libsane-brother2 make[2]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan2' mkdir .libs i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/usr/lib/sane sane_strstatus.c -fPIC -DPIC -o .libs/sane_strstatus.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=sane_strstatus -DLIBDIR=/usr/lib/sane sane_strstatus.c -o sane_strstatus.o >/dev/null 2>&1 mv -f .libs/sane_strstatus.lo sane_strstatus.lo rm -f .libs/brother2.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=brother2 -DLIBDIR=/usr/lib/sane brother2.c -fPIC -DPIC -o .libs/brother2.lo In file included from brother2.c:68: brother.h:307: warning: "MAX_PATH" redefined #define MAX_PATH 256 In file included from brother.h:59, from brother2.c:68: brother_dtype.h:48: note: this is the location of the previous definition #define MAX_PATH 260 In file included from brother2.c:86: brother_cmatch.c: In function 'LoadGrayTable': brother_cmatch.c:377:12: warning: variable 'lFilePtr' set but not used [-Wunused-but-set-variable] LONG lFilePtr; ^~~~~~~~ In file included from brother2.c:87: brother_devaccs.c: In function 'OpenDevice': brother_devaccs.c:345:7: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother2.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:354:9: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother2.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother2.c:87: brother_mfccmd.h:43:30: warning: pointer targets in passing argument 2 of 'WriteDeviceData' differ in signedness [-Wpointer-sign] #define MFCMD_QUERYDEVINFO "\x1BQ\n\x80" ^~~~~~~~~~~~~ brother_devaccs.c:372:32: note: in expansion of macro 'MFCMD_QUERYDEVINFO' WriteDeviceData( hScanner, MFCMD_QUERYDEVINFO, strlen( MFCMD_QUERYDEVINFO ), seriesNo ); ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:70: brother_devaccs.h:83:9: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' int WriteDeviceData( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo ); ^~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c: In function 'ReadDeviceData': brother_devaccs.c:565:11: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpRxBuffer, ^~~~~~~~~~ In file included from brother2.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:573:6: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpRxBuffer, ^~~~~~~~~~ In file included from brother2.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c: In function 'WriteDeviceData': brother_devaccs.c:858:7: warning: pointer targets in passing argument 2 of 'write_device_net' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother2.c:64: brother_netdev.h:87:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int write_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:896:10: warning: pointer targets in passing argument 3 of 'usb_bulk_write' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother2.c:40: /usr/include/usb.h:301:5: note: expected 'const char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int usb_bulk_write(usb_dev_handle *dev, int ep, const char *bytes, int size, ^~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c: In function 'WriteDeviceCommand': brother_devaccs.c:940:7: warning: pointer targets in passing argument 2 of 'write_device_net' differ in signedness [-Wpointer-sign] lpTxBuffer, ^~~~~~~~~~ In file included from brother2.c:64: brother_netdev.h:87:5: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int write_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c: In function 'ERRPRINT': brother_devaccs.c:1066:26: warning: unused parameter 'format' [-Wunused-parameter] int ERRPRINT(const char *format,...){return 0;} ~~~~~~~~~~~~^~~~~~ brother_devaccs.c: In function 'DBGPRINT': brother_devaccs.c:1067:26: warning: unused parameter 'format' [-Wunused-parameter] int DBGPRINT(const char *format,...){return 0;} ~~~~~~~~~~~~^~~~~~ brother_devaccs.c: In function 'get_semkey': brother_devaccs.c:1097:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if((n_read >0) && (n_read < (sizeof(buffer)-1))){ ^ In file included from brother_devaccs.c:50, from brother2.c:87: brother_devinfo.c: In function 'QCommandProc': brother_mfccmd.h:43:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_QUERYDEVINFO "\x1BQ\n\x80" ^~~~~~~~~~~~~ brother_devinfo.c:306:38: note: in expansion of macro 'MFCMD_QUERYDEVINFO' WriteDeviceCommand( this->hScanner, MFCMD_QUERYDEVINFO, strlen( MFCMD_QUERYDEVINFO ),this->modelInf.seriesNo ); ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:88: brother_devinfo.c:319:40: warning: pointer targets in passing argument 2 of 'ReadNonFixedData' differ in signedness [-Wpointer-sign] if (ReadNonFixedData( this->hScanner, pReadBuf, nReadSize + 0x100, dwQcmdTimeOut,this->modelInf.seriesNo )){ ^~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:631:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ReadNonFixedData( usb_dev_handle *hScanner, LPBYTE lpBuffer, WORD wReadSize, DWORD dwTimeOutMsec ,int seriesNo) ^~~~~~~~~~~~~~~~ In file included from brother2.c:88: brother_devinfo.c: In function 'QueryScanInfoProc': brother_devinfo.c:385:38: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] WriteDeviceCommand( this->hScanner, szCmdStr, CmdLength, this->modelInf.seriesNo ); ^~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:88: brother_devinfo.c:398:52: warning: pointer targets in passing argument 2 of 'ReadNonFixedData' differ in signedness [-Wpointer-sign] nRealReadSize = ReadNonFixedData( this->hScanner, pReadBuf, nReadSize + 0x100, dwQcmdTimeOut, this->modelInf.seriesNo ); ^~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:631:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ReadNonFixedData( usb_dev_handle *hScanner, LPBYTE lpBuffer, WORD wReadSize, DWORD dwTimeOutMsec ,int seriesNo) ^~~~~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother2.c:87: brother_mfccmd.c: In function 'SendCancelCommand': brother_mfccmd.h:49:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_CANCELSCAN "\x1BR" ^~~~~~~ brother_mfccmd.c:82:34: note: in expansion of macro 'MFCMD_CANCELSCAN' WriteDeviceCommand( hScanner, MFCMD_CANCELSCAN, strlen( MFCMD_CANCELSCAN ), seriesNo ); ^~~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:74: brother_modelinf.c: In function 'init_model_info': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother_modelinf.c:222:5: note: in expansion of macro 'FREE' FREE(model->modelTypeName); ^~~~ In file included from brother2.c:91: brother_modelinf.c:221:4: note: some parts of macro expansion are not guarded by this 'if' clause if(res == FALSE && NULL != (model->modelTypeName)) ^~ brother_modelinf.c: In function 'ReadInitFileString': brother_modelinf.c:1590:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpAppName == NULL_C) /* if lpAppName is NULL */ ^~ brother_modelinf.c:1590:8: note: did you mean to dereference the pointer? if(lpAppName == NULL_C) /* if lpAppName is NULL */ ^ brother_modelinf.c:1611:19: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpKeyName == NULL_C) ^~ brother_modelinf.c:1611:9: note: did you mean to dereference the pointer? if(lpKeyName == NULL_C) ^ brother_modelinf.c: In function 'ReadModelInfoSize': brother_modelinf.c:1852:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] if(lpKeyName == NULL_C) ^~ brother_modelinf.c:1852:8: note: did you mean to dereference the pointer? if(lpKeyName == NULL_C) ^ In file included from brother2.c:92: brother_scanner.c: In function 'ScanStart': brother_scanner.c:217:11: warning: variable 'errornum' set but not used [-Wunused-but-set-variable] int rc,errornum; ^~~~~~~~ brother_scanner.c: In function 'PageScanStart': brother_scanner.c:509:44: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] if (WriteDeviceCommand( this->hScanner, szCmdStr, nCmdStrLen, this->modelInf.seriesNo )) ^~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother_devaccs.c:50, from brother2.c:87: brother_mfccmd.h:48:30: warning: pointer targets in passing argument 2 of 'WriteDeviceCommand' differ in signedness [-Wpointer-sign] #define MFCMD_SCANNEXTPAGE "\x1BX\n\x80" ^~~~~~~~~~~~~ brother_scanner.c:520:43: note: in expansion of macro 'MFCMD_SCANNEXTPAGE' if (WriteDeviceCommand( this->hScanner, MFCMD_SCANNEXTPAGE, strlen( MFCMD_SCANNEXTPAGE ), this->modelInf.seriesNo)) ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:87: brother_devaccs.c:932:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' WriteDeviceCommand( usb_dev_handle *hScanner, LPBYTE lpTxBuffer, int nWriteSize, int seriesNo) ^~~~~~~~~~~~~~~~~~ In file included from brother2.c:92: brother_scanner.c: In function 'StatusChk': brother_scanner.c:552:14: warning: pointer targets in initialization of 'LPBYTE' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] LPBYTE pt = lpBuff; ^~~~~~ brother_scanner.c: In function 'PageScan': brother_scanner.c:743:20: warning: pointer targets in passing argument 1 of 'StatusChk' differ in signedness [-Wpointer-sign] sc = StatusChk(lpRxBuff, wData); ^~~~~~~~ brother_scanner.c:549:1: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} StatusChk(char *lpBuff, int nDataSize) ^~~~~~~~~ brother_scanner.c:848:3: warning: statement with no effect [-Wunused-value] for (wDataLineCntTemp; wDataLineCntTemp > 0;){ ^~~ brother_scanner.c:915:64: warning: pointer targets in passing argument 4 of 'ProcessMain' differ in signedness [-Wpointer-sign] nAnswer = ProcessMain( this, wData, wDataLineCnt, lpFwTempBuff+FwTempBuffLength, &FwTempBuffLength, &wProcessSize ); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from brother2.c:73: brother_scanner.h:50:8: note: expected 'char *' but argument is of type 'LPBYTE' {aka 'unsigned char *'} int ProcessMain(Brother_Scanner *this, WORD wByte, WORD wDataLineCnt, char * lpFwBuf, int *lpFwBufcnt, WORD *lpProcessSize); ^~~~~~~~~~~ In file included from brother2.c:92: brother_scanner.c: In function 'ReadTrash': brother_scanner.c:1562:12: warning: pointer targets in passing argument 3 of 'usb_bulk_read' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother2.c:40: /usr/include/usb.h:303:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size, ^~~~~~~~~~~~~ In file included from brother2.c:92: brother_scanner.c:1571:7: warning: pointer targets in passing argument 2 of 'read_device_net' differ in signedness [-Wpointer-sign] lpBrBuff, ^~~~~~~~ In file included from brother2.c:64: brother_netdev.h:80:5: note: expected 'char *' but argument is of type 'BYTE *' {aka 'unsigned char *'} int read_device_net(br_net_dev_handle h_dev, ^~~~~~~~~~~~~~~ In file included from brother2.c:92: brother_scanner.c: In function 'ScanEnd': brother_scanner.c:1638:8: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] BOOL bResult; ^~~~~~~ In file included from brother2.c:92: brother_scanner.c: In function 'ProcessMain': brother_scanner.c:2087:37: warning: pointer targets in assignment from 'char *' to 'BYTE *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] ImgLineProcInfo.pWriteBuff = lpFwBuf; ^ brother_scanner.c:2124:38: warning: pointer targets in passing argument 2 of 'ExecColorMatchingFunc' differ in signedness [-Wpointer-sign] ExecColorMatchingFunc( this, lpFwBuf, this->scanInfo.ScanAreaByte.lWidth, 1 ); ^~~~~~~ In file included from brother2.c:86: brother_cmatch.c:313:1: note: expected 'LPBYTE' {aka 'unsigned char *'} but argument is of type 'char *' ExecColorMatchingFunc( Brother_Scanner *this, LPBYTE lpRgbData, long lRgbDataLen, long lLineCount ) ^~~~~~~~~~~~~~~~~~~~~ In file included from brother2.c:92: brother_scanner.c:2009:9: warning: variable 'lpHosei' set but not used [-Wunused-but-set-variable] LPBYTE lpHosei; ^~~~~~~ In file included from brother2.c:94: brother_log.c: In function 'WriteLogFileString': brother_log.c:146:28: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] "%02d:%02d:%02d.%03d %s\n", ~~~^ %03ld brother_log.c:150:9: (ltime%1000), ~~~~~~~~~~~~ brother_log.c: In function 'WriteLogScanCmd': brother_log.c:287:42: warning: comparison is always true due to limited range of data type [-Wtype-limits] }else if( ' ' <= *lpszCmd && *lpszCmd < 0x80 ){ ^ In file included from brother2.c:96: brother_netdev.c: In function 'get_device_id': brother_netdev.c:388:7: warning: variable 'find' set but not used [-Wunused-but-set-variable] int find = 0; ^~~~ In file included from brother2.c:74: brother2.c: In function 'sane_brother2_exit': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother2.c:581:16: note: in expansion of macro 'FREE' if (devlist) FREE(devlist); ^~~~ brother2.c:581:3: note: some parts of macro expansion are not guarded by this 'if' clause if (devlist) FREE(devlist); ^~ In file included from brother2.c:74: brother2.c: In function 'sane_brother2_get_devices': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother2.c:602:16: note: in expansion of macro 'FREE' if (devlist) FREE (devlist); ^~~~ brother2.c:602:3: note: some parts of macro expansion are not guarded by this 'if' clause if (devlist) FREE (devlist); ^~ In file included from brother2.c:57: brother2.c:593:15: warning: parameter 'local_only' set but not used [-Wunused-but-set-parameter] SANE_Bool local_only) ~~~~~~~~~~^~~~~~~~~~ ../include/sane/sanei_backend.h:100:63: note: in definition of macro 'sane_get_devices' #define sane_get_devices(a,b) ENTRY(get_devices) (a,b) ^ brother2.c: In function 'sane_brother2_open': brother2.c:625:7: warning: variable 'errornum' set but not used [-Wunused-but-set-variable] int errornum; ^~~~~~~~ In file included from brother2.c:74: brother2.c: In function 'sane_brother2_close': brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother2.c:849:5: note: in expansion of macro 'FREE' FREE(scanModeList); ^~~~ brother2.c:848:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanModeList) ^~ In file included from brother2.c:74: brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother2.c:852:5: note: in expansion of macro 'FREE' FREE(scanResoList); ^~~~ brother2.c:851:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanResoList) ^~ In file included from brother2.c:74: brother_bugchk.h:31:21: warning: macro expands to multiple statements [-Wmultistatement-macros] #define FREE(ptr) bugchk_free((ptr), __LINE__, __FILE__); (ptr)=NULL ^~~~~~~~~~~ brother2.c:855:5: note: in expansion of macro 'FREE' FREE(scanSrcList); ^~~~ brother2.c:854:3: note: some parts of macro expansion are not guarded by this 'if' clause if (scanSrcList) ^~ brother2.c: In function 'sane_brother2_read': brother2.c:1132:22: warning: pointer targets in passing argument 2 of 'PageScan' differ in signedness [-Wpointer-sign] rc=PageScan(this,buf,maxlen,len); ^~~ In file included from brother2.c:92: brother_scanner.c:634:1: note: expected 'char *' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} PageScan( Brother_Scanner *this, char *lpFwBuf, int nMaxLen, int *lpFwLen ) ^~~~~~~~ brother2.c:1135:25: warning: pointer targets in passing argument 2 of 'PageScan' differ in signedness [-Wpointer-sign] rc =PageScan(this,buf,maxlen,len); ^~~ In file included from brother2.c:92: brother_scanner.c:634:1: note: expected 'char *' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} PageScan( Brother_Scanner *this, char *lpFwBuf, int nMaxLen, int *lpFwLen ) ^~~~~~~~ brother2.c: In function 'sane_brother2_control_option': brother2.c:951:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (pnInfo) (*pnInfo) |= SANE_INFO_RELOAD_PARAMS; ^ brother2.c:952:2: note: here case optBrightness: ^~~~ brother2.c:965:14: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((rc = SetupScanMode( this, id )) != SANE_STATUS_GOOD) ^ brother2.c:968:2: note: here case optScanSrc: ^~~~ In file included from /usr/include/string.h:494, from brother2.c:37: In function 'strcpy', inlined from 'get_scansrc_listcnt' at brother_modelinf.c:2629:4: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin___strcpy_chk' writing 34 bytes into a region of size 30 overflows the destination [-Wstringop-overflow=] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from brother2.c:94: brother_log.c: In function 'WriteLogFileString': brother_log.c:168:3: warning: 'dwStrLen' may be used uninitialized in this function [-Wmaybe-uninitialized] fwrite( szStrBuff, sizeof(char), dwStrLen, hLogFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=brother2 -DLIBDIR=/usr/lib/sane brother2.c -o brother2.o >/dev/null 2>&1 mv -f .libs/brother2.lo brother2.lo rm -f brother2-s.c ln -s ./stubs.c brother2-s.c rm -f .libs/brother2-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DSTUBS -DBACKEND_NAME=brother2 brother2-s.c -fPIC -DPIC -o .libs/brother2-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DSTUBS -DBACKEND_NAME=brother2 brother2-s.c -o brother2-s.o >/dev/null 2>&1 mv -f .libs/brother2-s.lo brother2-s.lo rm -fr .libs/libsane-brother2.la .libs/libsane-brother2.* .libs/libsane-brother2.* i486-slitaz-linux-gcc -shared brother2.lo brother2-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo ../sanei/sanei_constrain_value.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-brother2.so.1.0.7 (cd .libs && rm -f libsane-brother2.so.1 && ln -s libsane-brother2.so.1.0.7 libsane-brother2.so.1) (cd .libs && rm -f libsane-brother2.so && ln -s libsane-brother2.so.1.0.7 libsane-brother2.so) ar cru .libs/libsane-brother2.a brother2.o brother2-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o ../sanei/sanei_constrain_value.o i486-slitaz-linux-ranlib .libs/libsane-brother2.a creating libsane-brother2.la (cd .libs && rm -f libsane-brother2.la && ln -s ../libsane-brother2.la libsane-brother2.la) rm -f dll-preload.c list=""; for be in $list; do \ echo "PRELOAD_DECL($be)" >> dll-preload.c; \ done echo "static struct backend preloaded_backends[] = {" >> dll-preload.c sep=""; \ list=""; \ if test -z "${list}"; then \ echo { 0 } >> dll-preload.c; \ else \ for be in $list; do \ echo "${sep}PRELOAD_DEFN($be)" >> dll-preload.c; \ sep=","; \ done; \ fi echo "};" >> dll-preload.c rm -f .libs/dll.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=dll -DLIBDIR=/usr/lib/sane dll.c -fPIC -DPIC -o .libs/dll.lo dll.c: In function 'sane_dll_exit': dll.c:624:21: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] free(devlist[i++]); ~~~~~~~^~~~~ In file included from dll.c:59: /usr/include/stdlib.h:563:25: note: expected 'void *' but argument is of type 'const SANE_Device *' {aka 'const struct *'} extern void free (void *__ptr) __THROW; ~~~~~~^~~~~ i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DBACKEND_NAME=dll -DLIBDIR=/usr/lib/sane dll.c -o dll.o >/dev/null 2>&1 mv -f .libs/dll.lo dll.lo rm -f dll-s.c ln -s ./stubs.c dll-s.c rm -f .libs/dll-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DSTUBS -DBACKEND_NAME=dll dll-s.c -fPIC -DPIC -o .libs/dll-s.lo i486-slitaz-linux-gcc -c -march=i486 -Os -pipe -mindirect-branch=thunk -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../libbrscandec2 -I../libbrcolm2 -D_GLIBCXX_USE_C99_MATH=1 -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DV_MAJOR=1 -DV_MINOR=0 -lpthread -DBRSANESUFFIX=2 -DSTUBS -DBACKEND_NAME=dll dll-s.c -o dll-s.o >/dev/null 2>&1 mv -f .libs/dll-s.lo dll-s.lo rm -fr .libs/libsane-dll.la .libs/libsane-dll.* .libs/libsane-dll.* i486-slitaz-linux-gcc -shared dll.lo dll-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane-dll.so.1.0.7 (cd .libs && rm -f libsane-dll.so.1 && ln -s libsane-dll.so.1.0.7 libsane-dll.so.1) (cd .libs && rm -f libsane-dll.so && ln -s libsane-dll.so.1.0.7 libsane-dll.so) ar cru .libs/libsane-dll.a dll.o dll-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o i486-slitaz-linux-ranlib .libs/libsane-dll.a creating libsane-dll.la (cd .libs && rm -f libsane-dll.la && ln -s ../libsane-dll.la libsane-dll.la) rm -fr .libs/libsane.la .libs/libsane.* .libs/libsane.* i486-slitaz-linux-gcc -shared dll.lo dll-s.lo sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo ../lib/alloca.lo ../lib/getenv.lo ../lib/getopt.lo ../lib/getopt1.lo ../lib/isfdtype.lo ../lib/sigprocmask.lo ../lib/snprintf.lo ../lib/strdup.lo ../lib/strndup.lo ../lib/strsep.lo ../lib/usleep.lo ../lib/vsyslog.lo ../lib/inet_ntop.lo -lpthread -lusb -lm -ldl -lc -Wl,-soname -Wl,libsane.so.1 -o .libs/libsane.so.1.0.7 (cd .libs && rm -f libsane.so.1 && ln -s libsane.so.1.0.7 libsane.so.1) (cd .libs && rm -f libsane.so && ln -s libsane.so.1.0.7 libsane.so) ar cru .libs/libsane.a dll.o dll-s.o sane_strstatus.o ../sanei/sanei_init_debug.o ../sanei/sanei_config.o ../lib/alloca.o ../lib/getenv.o ../lib/getopt.o ../lib/getopt1.o ../lib/isfdtype.o ../lib/sigprocmask.o ../lib/snprintf.o ../lib/strdup.o ../lib/strndup.o ../lib/strsep.o ../lib/usleep.o ../lib/vsyslog.o ../lib/inet_ntop.o i486-slitaz-linux-ranlib .libs/libsane.a creating libsane.la (cd .libs && rm -f libsane.la && ln -s ../libsane.la libsane.la) make[2]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan2' make[1]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/backend_brscan2' (cd netconfig && make brscan2) make[1]: Entering directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/netconfig' sh mk_brsaneconfig 2 gcc -DBRSANESUFFIX=2 -Wall -O0 -DMKCONFIG -idirafter ../backend_src -o brsaneconfig2 brsaneconfig.c ../backend_src/brother_advini.c brsaneconfig.c: In function 'add_network_device': brsaneconfig.c:316:10: warning: the address of 'node' will always evaluate as 'true' [-Waddress] if(node && *node){ ^~~~ brsaneconfig.c:321:15: warning: the address of 'ip' will always evaluate as 'true' [-Waddress] else if(ip && *ip){ ^~ brsaneconfig.c: In function 'query_available_models': brsaneconfig.c:423:8: warning: the address of 'node' will always evaluate as 'true' [-Waddress] if(node && node[0]){ ^~~~ brsaneconfig.c:426:13: warning: the address of 'ip' will always evaluate as 'true' [-Waddress] else if(ip && ip[0]){ ^~ brsaneconfig.c: In function 'loggingoff': brsaneconfig.c:590:54: warning: '%s' directive writing 44 bytes into a region of size between 36 and 67 [-Wformat-overflow=] sprintf(filter,"cat %s | sed s/'log=.*'// | uniq > %s",tmpconffile,CONFFILE); ^~ brsaneconfig.c:590:3: note: 'sprintf' output between 78 and 109 bytes into a destination of size 100 sprintf(filter,"cat %s | sed s/'log=.*'// | uniq > %s",tmpconffile,CONFFILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/slitaz/wok/brscan/source/brscan-0.2.4/brscan/netconfig' fix symlinks Installing (pkg/local): symlinks-1.4.3-i486 dangling: /home/slitaz/wok/brscan/install/brscan/backend_brscan2/brother2-s.c -> ./stubs.c dangling: /home/slitaz/wok/brscan/install/brscan/backend_brscan2/dll-s.c -> ./stubs.c dangling: /home/slitaz/wok/brscan/install/brscan/backend_brscan/brother-s.c -> ./stubs.c dangling: /home/slitaz/wok/brscan/install/brscan/backend_brscan/dll-s.c -> ./stubs.c ================================================================================ Executing strip on all files... Done Time: 10.98s. Size: 2339160 B -> 816028 B. Save: 1487 KB. ================================================================================ Build dependencies to remove: 15 Removing: dbus eudev eudev-dev libusb libusb-compat libusb-compat-dev libx11 libxau libxcb libxdmcp symlinks util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid Pack: brscan 0.2.4 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Copying "description.brscan.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "brscan-0.2.4-i486.tazpkg" created Pack: brscan2 0.2.4 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Copying "description.brscan2.txt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "brscan2-0.2.4-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/brscan-0.2.4... Done Checking site script in source/brscan-0.2.4... Done Checking ownership in install... Done Checking permissions in install... Failed Problems found: 0544 /brscan/Makefile.in 0544 /brscan/acinclude.m4 0544 /brscan/aclocal.m4 0544 /brscan/backend_brscan/Makefile.in 0744 /brscan/backend_brscan/mk_backend 0544 /brscan/backend_brscan2/Makefile.in 0544 /brscan/backend_brscan2/mk_backend 0666 /brscan/backend_src/brother.h 0666 /brscan/backend_src/brother2.c 0666 /brscan/backend_src/brother_advini.c 0666 /brscan/backend_src/brother_advini.h 0666 /brscan/backend_src/brother_bugchk.c 0666 /brscan/backend_src/brother_bugchk.h 0666 /brscan/backend_src/brother_cmatch.c 0666 /brscan/backend_src/brother_cmatch.h 0666 /brscan/backend_src/brother_devaccs.c 0666 /brscan/backend_src/brother_devaccs.h 0666 /brscan/backend_src/brother_devinfo.c 0666 /brscan/backend_src/brother_devinfo.h 0666 /brscan/backend_src/brother_dtype.h 0666 /brscan/backend_src/brother_log.c 0666 /brscan/backend_src/brother_log.h 0666 /brscan/backend_src/brother_mfccmd.c 0666 /brscan/backend_src/brother_mfccmd.h 0666 /brscan/backend_src/brother_mfcinfo.h 0666 /brscan/backend_src/brother_misc.c 0666 /brscan/backend_src/brother_misc.h 0666 /brscan/backend_src/brother_modelinf.c 0666 /brscan/backend_src/brother_modelinf.h 0666 /brscan/backend_src/brother_netdev.c 0666 /brscan/backend_src/brother_netdev.h 0666 /brscan/backend_src/brother_scanner.c 0666 /brscan/backend_src/brother_scanner.h 0666 /brscan/backend_src/dll-preload.c 0666 /brscan/backend_src/dll.c 0666 /brscan/backend_src/sane_strstatus.c 0666 /brscan/backend_src/stubs.c 0544 /brscan/config.guess 0544 /brscan/config.sub 0544 /brscan/configure 0544 /brscan/configure.in 0777 /brscan/copying 0777 /brscan/copying.brother 0777 /brscan/copying.lib 0544 /brscan/include/Makefile.in 0544 /brscan/include/getopt.h 0544 /brscan/include/lalloca.h 0544 /brscan/include/lassert.h 0544 /brscan/include/md5.h 0544 /brscan/include/sane/config.h.in 0544 /brscan/include/sane/sane.h 0544 /brscan/include/sane/sanei.h 0544 /brscan/include/sane/sanei_ab306.h 0544 /brscan/include/sane/sanei_auth.h 0544 /brscan/include/sane/sanei_backend.h 0544 /brscan/include/sane/sanei_codec_ascii.h 0544 /brscan/include/sane/sanei_codec_bin.h 0544 /brscan/include/sane/sanei_config.h 0544 /brscan/include/sane/sanei_debug.h 0544 /brscan/include/sane/sanei_lm983x.h 0544 /brscan/include/sane/sanei_net.h 0544 /brscan/include/sane/sanei_pa4s2.h 0544 /brscan/include/sane/sanei_pio.h 0544 /brscan/include/sane/sanei_pv8630.h 0544 /brscan/include/sane/sanei_scsi.h 0544 /brscan/include/sane/sanei_thread.h 0544 /brscan/include/sane/sanei_usb.h 0544 /brscan/include/sane/sanei_wire.h 0544 /brscan/include/sane/saneopts.h 0544 /brscan/install-sh 0544 /brscan/lib/Makefile.in 0544 /brscan/lib/alloca.c 0544 /brscan/lib/alloca.lo 0544 /brscan/lib/getenv.c 0544 /brscan/lib/getenv.lo 0544 /brscan/lib/getopt.c 0544 /brscan/lib/getopt.lo 0544 /brscan/lib/getopt1.c 0544 /brscan/lib/getopt1.lo 0544 /brscan/lib/inet_ntop.c 0544 /brscan/lib/inet_ntop.lo 0544 /brscan/lib/isfdtype.c 0544 /brscan/lib/isfdtype.lo 0544 /brscan/lib/liblib.a 0544 /brscan/lib/md5.c 0544 /brscan/lib/md5.lo 0544 /brscan/lib/sigprocmask.c 0544 /brscan/lib/sigprocmask.lo 0544 /brscan/lib/snprintf.c 0544 /brscan/lib/snprintf.lo 0544 /brscan/lib/strdup.c 0544 /brscan/lib/strdup.lo 0544 /brscan/lib/strndup.c 0544 /brscan/lib/strndup.lo 0544 /brscan/lib/strsep.c 0544 /brscan/lib/strsep.lo 0544 /brscan/lib/usleep.c 0544 /brscan/lib/usleep.lo 0544 /brscan/lib/vsyslog.c 0544 /brscan/lib/vsyslog.lo 0544 /brscan/libbrcolm/GrayCmData/BHL/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/BHL2/brmsi06.bin 0544 /brscan/libbrcolm/GrayCmData/BHL2FB/brmsi06f.bin 0544 /brscan/libbrcolm/GrayCmData/BHLFB/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/BHMFB/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/BHminiFB/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/YL4/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/YL4FB/brlutcm.dat 0544 /brscan/libbrcolm/GrayCmData/YL4FB/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/ZL2/brmsl07.bin 0544 /brscan/libbrcolm/GrayCmData/ZL2FB/brmsl07f.bin 0544 /brscan/libbrcolm/GrayCmData/ZL2FB/brmsl07f.cm 0544 /brscan/libbrcolm/GrayCmData/ZLe/brmfgray.bin 0544 /brscan/libbrcolm/GrayCmData/ZLeFB/brlutcm.dat 0544 /brscan/libbrcolm/GrayCmData/ZLeFB/brmfgray.bin 0544 /brscan/libbrcolm/brcolor.h 0544 /brscan/libbrcolm2/GrayCmData/AL/brmsl09f.cm 0544 /brscan/libbrcolm2/GrayCmData/ALL/brmsl08f.cm 0544 /brscan/libbrcolm2/brcolor.h 0544 /brscan/libbrcolm2/libbrcolm2.so.1.0.0 0544 /brscan/libbrscandec/brother_deccom.h 0544 /brscan/libbrscandec/brother_scandec.h 0544 /brscan/libbrscandec/libbrscandec.so.1.0.0 0544 /brscan/libbrscandec2/brother_deccom.h 0544 /brscan/libbrscandec2/brother_scandec.h 0544 /brscan/libbrscandec2/libbrscandec2.so.1.0.0 0544 /brscan/ltconfig 0544 /brscan/ltmain.sh 0744 /brscan/mk_package/Brsane2.ini 0744 /brscan/mk_package/Makefile 0544 /brscan/mk_package/brsanenetdevice.cfg 0544 /brscan/mk_package/brsanenetdevice2.cfg 0666 /brscan/mk_package/brscan.list 0666 /brscan/mk_package/brscan2.list 0544 /brscan/mk_package/makepackage 0544 /brscan/mk_package/setupSaneScan 0544 /brscan/mk_package/setupSaneScan2 0544 /brscan/mkinstalldirs 0544 /brscan/netconfig/Makefile 0666 /brscan/netconfig/brsaneconfig.c 0544 /brscan/netconfig/mk_brsaneconfig 0544 /brscan/netconfig/resource.h 0544 /brscan/po/Makefile.in 0544 /brscan/sanei/Makefile.in 0544 /brscan/sanei/libsanei.a 0544 /brscan/sanei/linux_sg3_err.h 0544 /brscan/sanei/os2_srb.h 0544 /brscan/sanei/sanei_DomainOS.c 0544 /brscan/sanei/sanei_DomainOS.h 0544 /brscan/sanei/sanei_ab306.c 0544 /brscan/sanei/sanei_ab306.lo 0544 /brscan/sanei/sanei_auth.c 0544 /brscan/sanei/sanei_auth.lo 0544 /brscan/sanei/sanei_codec_ascii.c 0544 /brscan/sanei/sanei_codec_ascii.lo 0544 /brscan/sanei/sanei_codec_bin.c 0544 /brscan/sanei/sanei_codec_bin.lo 0544 /brscan/sanei/sanei_config.c 0544 /brscan/sanei/sanei_config.lo 0544 /brscan/sanei/sanei_config2.c 0544 /brscan/sanei/sanei_config2.lo 0544 /brscan/sanei/sanei_constrain_value.c 0544 /brscan/sanei/sanei_constrain_value.lo 0544 /brscan/sanei/sanei_init_debug.c 0544 /brscan/sanei/sanei_init_debug.lo 0544 /brscan/sanei/sanei_lm983x.c 0544 /brscan/sanei/sanei_lm983x.lo 0544 /brscan/sanei/sanei_load_values.c 0544 /brscan/sanei/sanei_load_values.lo 0544 /brscan/sanei/sanei_net.c 0544 /brscan/sanei/sanei_net.lo 0544 /brscan/sanei/sanei_pa4s2.c 0544 /brscan/sanei/sanei_pa4s2.lo 0544 /brscan/sanei/sanei_pio.c 0544 /brscan/sanei/sanei_pio.lo 0544 /brscan/sanei/sanei_pv8630.c 0544 /brscan/sanei/sanei_pv8630.lo 0544 /brscan/sanei/sanei_save_values.c 0544 /brscan/sanei/sanei_save_values.lo 0544 /brscan/sanei/sanei_scsi.c 0544 /brscan/sanei/sanei_scsi.lo 0544 /brscan/sanei/sanei_thread.c 0544 /brscan/sanei/sanei_thread.lo 0544 /brscan/sanei/sanei_usb.c 0544 /brscan/sanei/sanei_usb.lo 0544 /brscan/sanei/sanei_wire.c 0544 /brscan/sanei/sanei_wire.lo 0544 /brscan/sanei/test_wire.c Checking broken symlinks in install... Failed Problems found: '/home/slitaz/wok/brscan/install/brscan/backend_brscan2/brother2-s.c' -> './stubs.c' '/home/slitaz/wok/brscan/install/brscan/backend_brscan2/dll-s.c' -> './stubs.c' '/home/slitaz/wok/brscan/install/brscan/backend_brscan/brother-s.c' -> './stubs.c' '/home/slitaz/wok/brscan/install/brscan/backend_brscan/dll-s.c' -> './stubs.c' Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: brscan 0.2.4 ================================================================================ Src file : brscan-src-0.2.4.tar.gz Src size : 1.0M Source dir : 6.3M Produced : 4.5M Cook time : 47s Cook date : 2020-09-12 03:02 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 364.0K : 58.6K : 29 : brscan-0.2.4-i486.tazpkg 2 : 348.0K : 81.0K : 17 : brscan2-0.2.4-i486.tazpkg ================================================================================