[sane-devel] problems compiling dell1600n_net.c on OS/2
Franz Bakan
fbakan at gmx.net
Wed Jun 13 21:11:34 UTC 2007
Hi,
when trying to compile the latest CVS-code on OS/2 this problems:
dell1600n_net.c: In function `sane_dell1600n_net_get_devices':
dell1600n_net.c:297: error: storage size of `selTimeVal' isn't known
This can be solved by adding
#include <sys/time.h>
to backend/dell1600n_net.c
dell1600n_net.c:397: warning: passing arg 5 of `sendto' from incompatible pointer type
dell1600n_net.c:297: warning: unused variable `selTimeVal'
dell1600n_net.c: In function `sane_dell1600n_net_start':
dell1600n_net.c:681: error: storage size of `selTimeVal' isn't known
dell1600n_net.c:701: warning: passing arg 2 of `getsockname' from incompatible pointer type
dell1600n_net.c:681: warning: unused variable `selTimeVal'
dell1600n_net.c: In function `ProcessTcpResponse':
dell1600n_net.c:1702: error: `SHUT_RDWR' undeclared (first use in this function)
Here I don't know where SHUT_RDWR lives normaly :-(
I can't find it in my gcc include files
Can this be solved?
Bye
Franz
More information about the sane-devel
mailing list