From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13549 invoked from network); 7 Jun 2001 20:31:25 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jun 2001 20:31:25 -0000 Received: (qmail 2734 invoked by alias); 7 Jun 2001 20:31:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14791 Received: (qmail 2709 invoked from network); 7 Jun 2001 20:31:06 -0000 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to lantern@shell10.ba.best.com using -f From: "Bart Schaefer" Message-Id: <010607132927.ZM8171@candle.brasslantern.com> Date: Thu, 7 Jun 2001 13:29:27 -0700 X-Mailer: Z-Mail Lite (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Problem compiling tcp module MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This is on RedHat 6.2: gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o tcp..o tcp.c In file included from tcp.c:36: tcp.h:44: field `in' has incomplete type make[3]: *** [tcp..o] Error 1 gcc --version 2.95.1 Looking at /usr/include/sys/tcp.h, it appears that there's a declaration of a pointer-to-sockaddr_in but not of the actual structure (which is just an alias for a sockaddr).