[sane-devel] CVS Won't make.

Robert Price bobpricemail at hotmail.com
Fri Jan 19 15:54:49 CET 2007


Greetings;

   I have been trying for a few weeks to compile the cvs feed with no luck.  
I have the 2.6.18 kernel and Slackware.  My libc is 2.3.6.
   The compile appears to die while trying to compile the epson backend.  
The first apparent failure is the inability of epson2.c to find the include 
file byteorder.h.  Any help appreciated! The relevant portion of the make 
output seems to be:

...
creating libsane-stv680.la
(cd .libs && rm -f libsane-stv680.la && ln -s ../libsane-stv680.la 
libsane-stv680.la)
gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes 
-pedantic -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share 
-DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 
-DBACKEND_NAME=epson2 -DLIBDIR=/usr/local/lib/sane epson2.c  -fPIC -DPIC -o 
.libs/epson2.o
epson2.c:54:23: byteorder.h: No such file or directory
epson2.c: In function `epson2_set_model':
epson2.c:667: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
epson2.c: In function `attach':
epson2.c:1227: warning: implicit declaration of function `le32atoh'
epson2.c: In function `sane_epson2_exit':
epson2.c:1584: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
epson2.c:1585: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
epson2.c: In function `epson2_set_extended_scanning_parameters':
epson2.c:2932: warning: implicit declaration of function `htole32a'
make[1]: *** [epson2.lo] Error 1
make[1]: Leaving directory 
`/usr/local/src/sane/sane-cvs/sane-backends/backend'
make: *** [all-recursive] Error 1

_________________________________________________________________
Get Hilary Duff’s homepage with her photos, music, and more. 
http://www.live.com/?addtemplate=hilary&ocid=T001MSN30A0701




More information about the sane-devel mailing list