[sane-devel] Compiling Sane for Win32

Hugh McMaster dasjournal at gmail.com
Wed Apr 25 10:06:47 UTC 2007


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[1]: *** [inet_ntop.o] Error 1
make[1]: 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.

Hugh



More information about the sane-devel mailing list