Displaying 2 results from an estimated 2 matches for "errnosize".
2006 Jan 06
1
Repost: Help - compilation of winbind_nss_solaris.c/3.0.21a/Solaris 7 and older fails
...-------
SOLARIS 2.5.1
-------------
On Solaris 2.5.1 problem comes from nsswitch/wb_common.c where socklen_t
type is not defined
artexp$ diff /smb/tmp/samba-3.0.20b/source/nsswitch/wb_common.c
/smb/tmp/samba-3.0.21a/source/nsswitch/wb_common.c
237c237,238
< int connect_errno = 0, errnosize;
---
> int connect_errno = 0;
> socklen_t errnosize;
545a547,551
>
> if ((request->extra_len != 0) &&
> (write_sock(request->extra_data, request->extra_len,
request->flags & WBFLAG_RECURSE) == -1)) {
>...
2005 Dec 29
1
SAMBA 3.0.21 - Compile error on SOLARIS 7 & SOLARIS 2.5.1
...piling nsswitch/wb_client.c
Compiling nsswitch/wb_common.c
"/usr/include/netdb.h", line 195: warning: dubious tag declaration:
struct sockaddr_in
"nsswitch/wb_common.c", line 238: undefined symbol: socklen_t
"nsswitch/wb_common.c", line 238: syntax error before or at: errnosize
"nsswitch/wb_common.c", line 253: undefined symbol: errnosize
"nsswitch/wb_common.c", line 256: warning: argument #4 is incompatible
with prototype:
prototype: pointer to char : "/usr/include/sys/socket.h", line 299
argument : pointer to int
"ns...