[sane-devel] problem building sane-backends

Mihai Emanuel Dolha mihaid8 at gmail.com
Fri Feb 6 21:40:58 UTC 2009


Hello!

First of all I want to mention that I'm a new user of Sane and I don't 
know actually if I'm posting on the correct list. If I'm not I apologize 
in advance.

Now for the actual problem: I need th Sane CVS for using a scanner (it's 
a Pixma), I downloaded sane-backends from CVS and I did:

/mihai at mikedell:~/sane-backends$ ./configure --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var/

This is went smooth with no problems, but when I did make I got:

/mihai at mikedell:~/sane-backends$ make
Making all in include
make[1]: Entering directory `/home/mihai/sane-backends/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/mihai/sane-backends/include'
.....................................................................................................
/bin/bash ../libtool --silent --tag=CC   --mode=compile gcc 
-DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. 
-I../include -I../include -DLIBDIR="/usr/lib/sane" -D_REENTRANT 
-DPATH_SANE_CONFIG_DIR=/etc/sane.d       -DPATH_SANE_DATA_DIR=/usr/share 
      -DPATH_SANE_LOCK_DIR=/var/lock/sane       -DV_MAJOR=1 -DV_MINOR=1  
-g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes 
-pedantic -ansi -MT ../sanei/sanei_jpeg.lo -MD -MP -MF 
.deps/../sanei/sanei_jpeg.Tpo -c -o ../sanei/sanei_jpeg.lo 
../sanei/sanei_jpeg.c
../sanei/sanei_jpeg.c:235: warning: ISO C forbids an empty source file
*../sanei/sanei_jpeg.c:7: fatal error: opening dependency file 
.deps/../sanei/sanei_jpeg.Tpo: No such file or directory
compilation terminated.
make[1]: *** [../sanei/sanei_jpeg.lo] Error 1*
make[1]: Leaving directory `/home/mihai/sane-backends/backend'
make: *** [all-recursive] Error 1

/If it's relevant, I'm using Ubuntu 8.10.

I tried googling the problem but I didn't seem to find a relevant 
answer. I don't know if I'm doing something wrong or I got the CVS 
version at the wrong moment.


I hope somebody will be able to help me get through this problem.

Thank you!

Mihai



More information about the sane-devel mailing list