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]

Recompilation errors of xinetd-2.3.9


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/


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