[sane-devel] Compiling Sane for Win32
dasjournal at gmail.com
Wed Apr 25 21:03:01 UTC 2007
On 26/04/07, Ilia Sotnikov wrote:
> On 4/25/07, Hugh McMaster wrote:
> > Hi everyone,
> > I have tried to compile Sane under Cygwin for Win32, but have received
> > the following error during the 'make' process. I have libieee1284
> > installed as well. I attempted to compile and install libgphoto2 as
> > well, but received errors during the Configure process.
> > inet_ntop.c:7:24: sys/socket.h: No such file or directory
> > inet_ntop.c:8:24: netinet/in.h: No such file or directory
> > inet_ntop.c:9:23: arpa/inet.h: No such file or directory
> > inet_ntop.c: In function `inet_ntop':
> > inet_ntop.c:15: error: storage size of 'in' isn't known
> > inet_ntop.c:15: warning: unused variable `in'
> > inet_ntop.c:16: warning: unused variable `text_addr'
> > inet_ntop.c: At top level:
> > inet_ntop.c:13: warning: unused parameter 'af'
> > inet_ntop.c:13: warning: unused parameter 'src'
> > inet_ntop.c:13: warning: unused parameter 'dst'
> > inet_ntop.c:13: warning: unused parameter 'cnt'
> > make: *** [inet_ntop.o] Error 1
> > make: Leaving directory `/home/User/sane-backends-1.0.18/lib'
> > make: *** [all-recursive] Error 1
> > I have checked, and inet.h, in.h and socket.h are all in my Cygwin
> > /usr/include/*folder*.
> > Does anyone have any ideas about this?
> > Thankyou.
> I've done limited porting of SANE to native Win32 (using MinGW). Only
> a few parts are functional in that case - libsane itself, dll and net
> backend, however. This native Win32 SANE version is working in
> production for several months in conjunction with native Win32 port of
> Xsane. If that is all what you need and nobody disagrees I could
> commit all the necessary SANE changes.
I would need something like that. Just one thing though, will that
include saned, or some other network capable system?
More information about the sane-devel