From owner-freebsd-questions Wed Jul 10 23:28:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE96237B400 for ; Wed, 10 Jul 2002 23:28:18 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 696B243E54 for ; Wed, 10 Jul 2002 23:28:17 -0700 (PDT) (envelope-from andreas-moeller@gmx.net) Received: (qmail 20075 invoked by uid 0); 11 Jul 2002 06:28:15 -0000 Received: from pd9e210dc.dip.t-dialin.net (HELO gmx.net) (217.226.16.220) by mail.gmx.net (mp013-rz3) with SMTP; 11 Jul 2002 06:28:15 -0000 Message-ID: <3D2D257D.40701@gmx.net> Date: Thu, 11 Jul 2002 08:28:13 +0200 From: =?ISO-8859-1?Q?Andreas_M=F6ller?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020709 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: questions@freebsd.org Cc: Stanley Hopcroft Subject: Re: Incomplete types when attempting to compile IPv6 test program (porting ntop 2.1) References: <20020711120822.A30929@IPAustralia.Gov.AU> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Please would you let me know what I must do to compile this test program > (test the presence of IPv6) with FreeBSD 4.6-RELEASE-p1 ? > > tssyd> cat junk.c > #include > #include > #include > #include > #include > > struct in6_addr tmp; > > tssyd> gcc -o junk.o junk.c > In file included from junk.c:4: > /usr/include/netinet/ip.h:73: field `ip_src' has incomplete type > /usr/include/netinet/ip.h:73: field `ip_dst' has incomplete type > /usr/include/netinet/ip.h:158: field `ipt_addr' has incomplete type > tssyd> You must include before . Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message