[sane-devel] CVS Won't make.
On Sat, 20 Jan 2007 12:59:49 +0100 Mattias Ellert mattias.ell...@tsl.uu.se wrote: fre 2007-01-19 klockan 20:03 -0600 skrev Robert Price: 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. The byteorder.h file is created when configure is run. Unfortunately someone had checked in a new configure.in without checking in a new configure, which meant that a fresh checkout did not work without running autoconf. The autogenerated files in CVS have now been updated. I'm sorry, that one was me. I tried to generate the configure but I had issues.. I think my autoconf was newer than the one originally used with sane. I then asked here for some good soul to generate one for me. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] CVS Won't make.
On Sat, 20 Jan 2007 12:37:25 +0100 Bertrik I've had the same problems too. Isn't it somehow fundamentally wrong to require kernel headers for sane? Sane is a user-space package not kernel-space. I remember seeing the compilation problem only with the epson backend, but surely other backends must handle byte-order issues. Can't we just fix the epson backend instead of requiring kernel headers for everyone? That header happens to have the same name of a kernel header, but it is not a kernel header at all. It's purpose is to provide portable definitions for endiannes conversion. theorically, we should fix all the backends to use that header. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] CVS Won't make.
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 ja...@finnall.net Reply-To: ja...@finnall.net To: sane-devel@lists.alioth.debian.org CC: Robert Price bobpricem...@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 Duffs homepage with her photos, music, and more. http://www.live.com/?addtemplate=hilaryocid=T001MSN30A0701 _ Valentines Day -- Shop for gifts that spell L-O-V-E at MSN Shopping http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095tcode=wlmtagline
[sane-devel] CVS Won't make.
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=hilaryocid=T001MSN30A0701
[sane-devel] CVS Won't make.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Finnall wrote: 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. I've had the same problems too. Isn't it somehow fundamentally wrong to require kernel headers for sane? Sane is a user-space package not kernel-space. I remember seeing the compilation problem only with the epson backend, but surely other backends must handle byte-order issues. Can't we just fix the epson backend instead of requiring kernel headers for everyone? Regards, Bertrik -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFsf71ETD6mlrWxPURAvGvAKC3hdHio3pAuQj/k1gc0/Yv8yIw6ACgm/1p +zm/XmQswRsXTCv6t36U4vs= =3rTL -END PGP SIGNATURE-
[sane-devel] CVS Won't make.
fre 2007-01-19 klockan 20:03 -0600 skrev Robert Price: 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. The byteorder.h file is created when configure is run. Unfortunately someone had checked in a new configure.in without checking in a new configure, which meant that a fresh checkout did not work without running autoconf. The autogenerated files in CVS have now been updated. Mattias -- next part -- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 1230 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070120/c8331051/smime.bin From fba...@gmx.net Sat Jan 20 20:27:45 2007 From: fba...@gmx.net (Franz Bakan) Date: Sat Jan 20 20:35:06 2007 Subject: [sane-devel] minor problem with current (20070120) CVS code on OS/2 In-Reply-To: 20061202142305.325b5cd2@inspiron Message-ID: mailman.503.1169321706.28220.sane-de...@lists.alioth.debian.org Hi, On Sat, 2 Dec 2006 14:23:05 +0100, Alessandro Zummo wrote: On Sat, 02 Dec 2006 00:16:44 +0100 (CET) Franz Bakan fba...@gmx.net wrote: 2 I have to add #include sys/socket.h to .sanei\sanei_tcp.c because otherwise AF_INET is not defined. ... ach! :( will commit a patch soon, thanks! I have this problem again on OS/2 :-( sanei/sanei_tcp.c was updated in CVS (without entry in Changelog) and the #include sys/socket.h seems to have vanished. btw Alessandro, did you get my bugreport about epson2 backend and GT-9500 scanner I sent you 13.12.2006 (and 18.12.2006)? Bye Franz
[sane-devel] CVS Won't make.
Thank you very much for the quick response and fix. It compiles now. (Also motivates me to learn more about autoconf and related.) From: Mattias Ellert mattias.ell...@tsl.uu.se To: sane-devel@lists.alioth.debian.org Subject: Re: [sane-devel] CVS Won't make. Date: Sat, 20 Jan 2007 12:59:49 +0100 fre 2007-01-19 klockan 20:03 -0600 skrev Robert Price: 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. The byteorder.h file is created when configure is run. Unfortunately someone had checked in a new configure.in without checking in a new configure, which meant that a fresh checkout did not work without running autoconf. The autogenerated files in CVS have now been updated. Mattias smime.p7s -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org _ Get in the mood for Valentine's Day. View photos, recipes and more on your Live.com page. http://www.live.com/?addTemplate=ValentinesDayocid=T001MSN30A0701
[sane-devel] CVS Won't make.
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=hilaryocid=T001MSN30A0701