Recompilation errors of xinetd-2.3.9

Dr. Volker Zell Dr.Volker.Zell@oracle.com
Wed Feb 20 14:26:00 GMT 2008


Hi

I'm trying to adopt the xinetd package of Sergey. The original build
script gives:

make[1]: Entering directory `/misc/src/xinetd-2.3.9/xinetd'
i686-pc-cygwin-gcc -O2 -g -O2 -g  -I../libs/include   -c -o access.o access.c
In file included from util.h:5,
                 from access.h:16,
                 from access.c:22:
defs.h:26: error: field `sa_in6' has incomplete type

This is from defs.h:

#include "config.h"
#include <memory.h>
#include <string.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>

union xsockaddr {
   struct sockaddr     sa;
   struct sockaddr_in  sa_in;
   struct sockaddr_in6 sa_in6;
   char                pad[128];
};


I'm wondering how Sergey compiled this way back than. Any hints ?

Ciao
  Volker

--
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/



More information about the Cygwin mailing list