delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/20/07:10:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Mailer: 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 10 I)
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Recompilation errors of xinetd-2.3.9
From: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
Date: Wed, 20 Feb 2008 13:10:01 +0100
Message-ID: <7zve4jhlra.fsf@vzell-de.de.oracle.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019