[sane-devel] CVS Won't make.

Robert Price bobpricemail at hotmail.com
Sat Jan 20 03:03:05 CET 2007


Thanks but I do have the headers installed.  It was a new kernel build and I 
leave the source files.  It apparently isn't looking in the right place.  I 
may try to hack the sane code but I suspect the problem is a sympton of 
something more systemic.

>From: James Finnall <james at finnall.net>
>Reply-To: james at finnall.net
>To: sane-devel at lists.alioth.debian.org
>CC: "Robert Price" <bobpricemail at hotmail.com>
>Subject: Re: [sane-devel] CVS Won't make.
>Date: Fri, 19 Jan 2007 19:59:02 -0500
>
>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 Duff’s homepage with her photos, music, and more.
> > http://www.live.com/?addtemplate=hilary&ocid=T001MSN30A0701

_________________________________________________________________
Valentine’s Day -- Shop for gifts that spell L-O-V-E at MSN Shopping 
http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline




More information about the sane-devel mailing list