[sane-devel] CVS Won't make.
James Finnall
james at finnall.net
Sat Jan 20 01:59:02 CET 2007
There is a header file called byteorder.h that is a part of the kernel
headers in the include/asm tree. Perhaps it will help to install the
kernel headers. I think Slack has a package for the 2.6 kernel headers
available.
On Friday 19 January 2007 09:54, Robert Price wrote:
> 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 Duffs homepage with her photos, music, and more.
> http://www.live.com/?addtemplate=hilary&ocid=T001MSN30A0701
More information about the sane-devel
mailing list