From: Sam S. <sd...@gn...> - 2007-06-20 13:41:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kamil Shakirov wrote: > Thanks for the patch, Sam. > > Well, I got two other same errors after I fixed ioctl() declaration, for > connect() and setsockopt() calls from /usr/arm-wince-pe/include/sys/socket.h > > Here are these declarations: > > extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) > __THROW; > extern int setsockopt (int __fd, int __level, int __optname, > __const void *__optval, socklen_t __optlen) __THROW; > > I compared them with my linux headers and they look the same except the > connect() declaration on arm-wince-pe has __THROW at the end. connect: what is "__CONST_SOCKADDR_ARG"? setsockopt: >> please try this patch: >> >> >> Index: src/configure >> =================================================================== >> RCS file: /cvsroot/clisp/clisp/src/configure,v >> retrieving revision 1.170 >> diff -u -w -r1.170 configure >> --- src/configure 8 Mar 2007 03:20:22 -0000 1.170 >> +++ src/configure 19 Jun 2007 19:31:40 -0000 @@ -39839,7 +39839,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else - -for z in 'int' 'unsigned int' 'size_t'; do +for z in 'int' 'unsigned int' 'size_t' 'socklen_t'; do for y in 'char*' 'void*'; do for x in '' 'const'; do if test -z "$have_setsockopt_decl"; then -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGeS6LPp1Qsf2qnMcRAmiIAJ4vVnadRtOjWNWSFajfvC17K5YFXgCeJvbK h5gHeVqUO8hPu05PfJP6jCw= =1A9V -----END PGP SIGNATURE----- |