make errors in $WINE/dlls/wininet/netconnection.c

Colin Wright cdonline at tesco.net
Sun Dec 4 06:50:11 CST 2005


After a clean and cvs -PAd I get the following errors during make

netconnection.c: In function `sock_get_error':
netconnection.c:205: error: `EINTR' undeclared (first use in this function)
netconnection.c:205: error: (Each undeclared identifier is reported only
once
netconnection.c:205: error: for each function it appears in.)
netconnection.c:206: error: `EBADF' undeclared (first use in this function)
netconnection.c:207: error: `EPERM' undeclared (first use in this function)
netconnection.c:208: error: `EACCES' undeclared (first use in this function)
netconnection.c:209: error: `EFAULT' undeclared (first use in this function)
netconnection.c:210: error: `EINVAL' undeclared (first use in this function)
netconnection.c:211: error: `EMFILE' undeclared (first use in this function)
netconnection.c:212: error: `EWOULDBLOCK' undeclared (first use in this
function)
netconnection.c:213: error: `EINPROGRESS' undeclared (first use in this
function)
netconnection.c:214: error: `EALREADY' undeclared (first use in this
function)
netconnection.c:215: error: `ENOTSOCK' undeclared (first use in this
function)
netconnection.c:216: error: `EDESTADDRREQ' undeclared (first use in this
function)
netconnection.c:217: error: `EMSGSIZE' undeclared (first use in this
function)
netconnection.c:218: error: `EPROTOTYPE' undeclared (first use in this
function)
netconnection.c:219: error: `ENOPROTOOPT' undeclared (first use in this
function)
netconnection.c:220: error: `EPROTONOSUPPORT' undeclared (first use in this
function)
netconnection.c:221: error: `ESOCKTNOSUPPORT' undeclared (first use in this
function)
netconnection.c:222: error: `EOPNOTSUPP' undeclared (first use in this
function)
netconnection.c:223: error: `EPFNOSUPPORT' undeclared (first use in this
function)
netconnection.c:224: error: `EAFNOSUPPORT' undeclared (first use in this
function)
netconnection.c:225: error: `EADDRINUSE' undeclared (first use in this
function)
netconnection.c:226: error: `EADDRNOTAVAIL' undeclared (first use in this
function)
netconnection.c:227: error: `ENETDOWN' undeclared (first use in this
function)
netconnection.c:228: error: `ENETUNREACH' undeclared (first use in this
function)
netconnection.c:229: error: `ENETRESET' undeclared (first use in this
function)
netconnection.c:230: error: `ECONNABORTED' undeclared (first use in this
function)
netconnection.c:231: error: `EPIPE' undeclared (first use in this function)
netconnection.c:232: error: `ECONNRESET' undeclared (first use in this
function)
netconnection.c:233: error: `ENOBUFS' undeclared (first use in this
function)
netconnection.c:234: error: `EISCONN' undeclared (first use in this
function)
netconnection.c:235: error: `ENOTCONN' undeclared (first use in this
function)
netconnection.c:236: error: `ESHUTDOWN' undeclared (first use in this
function)
netconnection.c:237: error: `ETOOMANYREFS' undeclared (first use in this
function)
netconnection.c:238: error: `ETIMEDOUT' undeclared (first use in this
function)
netconnection.c:239: error: `ECONNREFUSED' undeclared (first use in this
function)
netconnection.c:240: error: `ELOOP' undeclared (first use in this function)
netconnection.c:241: error: `ENAMETOOLONG' undeclared (first use in this
function)
netconnection.c:242: error: `EHOSTDOWN' undeclared (first use in this
function)
netconnection.c:243: error: `EHOSTUNREACH' undeclared (first use in this
function)
netconnection.c:244: error: `ENOTEMPTY' undeclared (first use in this
function)
netconnection.c:260: error: `errno' undeclared (first use in this function)
netconnection.c:260: warning: implicit declaration of function `perror'
netconnection.c: In function `NETCON_create':
netconnection.c:279: error: `errno' undeclared (first use in this function)
netconnection.c: In function `NETCON_close':
netconnection.c:315: error: `errno' undeclared (first use in this function)
netconnection.c: At top level:
netconnection.c:321: error: syntax error before '*' token
netconnection.c: In function `NETCON_connect':
netconnection.c:436: error: `errno' undeclared (first use in this function)
netconnection.c: In function `NETCON_send':
netconnection.c:461: error: `errno' undeclared (first use in this function)
netconnection.c: In function `NETCON_recv':
netconnection.c:495: error: `errno' undeclared (first use in this function)
netconnection.c: In function `NETCON_getNextLine':
netconnection.c:585: error: `errno' undeclared (first use in this function)
netconnection.c: At top level:
netconnection.c:322: warning: `check_hostname' defined but not used

Although I've probably wasting my time and there's simply a missing
header file or netconnection.c shouldn't even be there I've found
that the constants
EINTR, EBADF, EPERM, EACCES, EFAULT, EINVAL, EMFILE, EPIPE,
ENAMETOOLONG and ENOTEMPTY 
are all defined in $WINE/include/msvcrt/errno.h
and the rest only have WSA\1 constants in $WINE/include/winsock.h.
-- 
Colin Wright
cdonline at tesco.net




More information about the wine-devel mailing list