This is the mail archive of the
cygwin
mailing list for the Cygwin project.
UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).
- From: huw at huwdlloyd dot com
- To: cygwin at cygwin dot com
- Date: Wed, 7 Jun 2006 23:35:17 +0100
- Subject: UNIX Network Programming (unpve13e) make failing (AF_INET6 undeclared).
Hello,
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
After:
./configure
./cd libs
make
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
`s
ockaddr_in6'
get_ifi_info.c:146: error: invalid application of `sizeof' to incomplete type
`s
ockaddr_in6'
make: *** [get_ifi_info.o] Error 1
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/