This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).


I've failed to find an appropriate archived mail for this problem.

I'm trying to build the UNIX Network Programming source on a newly, complete, 
download of cygwin.

My assumption is that this should work out of the box.  Any pointers?

-- Huw


./cd libs

I get:

gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o connect_nonb.o connect_nonb.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o connect_timeo.o connect_timeo.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o daemon_inetd.o daemon_inetd.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o daemon_init.o daemon_init.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o dg_cli.o dg_cli.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o dg_echo.o dg_echo.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o error.o error.c
gcc -I../lib -g -O2 -D_REENTRANT -Wall   -c -o get_ifi_info.o get_ifi_info.c
get_ifi_info.c: In function `get_ifi_info':
get_ifi_info.c:143: error: `AF_INET6' undeclared (first use in this function)
get_ifi_info.c:143: error: (Each undeclared identifier is reported only once
get_ifi_info.c:143: error: for each function it appears in.)
get_ifi_info.c:145: error: invalid application of `sizeof' to incomplete type 
get_ifi_info.c:146: error: invalid application of `sizeof' to incomplete type 
make: *** [get_ifi_info.o] Error 1

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]