From owner-cvs-all Wed Jul 31 8:18:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B00037B4D0; Wed, 31 Jul 2002 08:18:40 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5006443EE6; Wed, 31 Jul 2002 08:18:10 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g6VFH50i002327 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 31 Jul 2002 17:17:07 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g6VFH6FJ093119 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 31 Jul 2002 17:17:06 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g6VFH5a3093118; Wed, 31 Jul 2002 17:17:05 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 31 Jul 2002 17:17:05 +0200 From: Bernd Walter To: Dag-Erling Smorgrav Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/sockstat Makefile sockstat.1 sockstat.c sockstat.pl Message-ID: <20020731151705.GC92269@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <200207311232.g6VCW3IO030916@freefall.freebsd.org> <20020731151242.GB92269@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020731151242.GB92269@cicely5.cicely.de> X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jul 31, 2002 at 05:12:43PM +0200, Bernd Walter wrote: > On Wed, Jul 31, 2002 at 05:32:03AM -0700, Dag-Erling Smorgrav wrote: > > des 2002/07/31 05:32:03 PDT > > > > Modified files: > > usr.bin/sockstat Makefile sockstat.1 > > Added files: > > usr.bin/sockstat sockstat.c > > Removed files: > > usr.bin/sockstat sockstat.pl > > Log: > > Rewrite sockstat(1) in C. > > [60]cicely9> make > Warning: Object directory not changed from original /var/d7/tmp/delme > cc -O -pipe -mcpu=ev56 -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c sockstat.c > sockstat.c: In function `gather_inet': > sockstat.c:224: warning: cast increases required alignment of target type > sockstat.c:234: warning: cast increases required alignment of target type > sockstat.c: In function `gather_unix': > sockstat.c:331: warning: cast increases required alignment of target type > sockstat.c:343: warning: cast increases required alignment of target type > sockstat.c:359: warning: cast increases required alignment of target type > sockstat.c: In function `getfiles': > sockstat.c:375: dereferencing pointer to incomplete type > sockstat.c:384: dereferencing pointer to incomplete type > sockstat.c:384: dereferencing pointer to incomplete type > sockstat.c:386: dereferencing pointer to incomplete type > sockstat.c: In function `display': > sockstat.c:455: increment of pointer to unknown structure > sockstat.c:455: arithmetic on pointer to an incomplete type > sockstat.c:456: dereferencing pointer to incomplete type > sockstat.c:459: dereferencing pointer to incomplete type > sockstat.c:464: dereferencing pointer to incomplete type > sockstat.c:465: dereferencing pointer to incomplete type > sockstat.c:470: dereferencing pointer to incomplete type > sockstat.c:473: dereferencing pointer to incomplete type > sockstat.c:476: dereferencing pointer to incomplete type > *** Error code 1 > > Stop in /var/d7/tmp/delme. > 1.895u 0.228s 0:07.61 27.7% 3432+2186k 179+0io 74pf+0w > Exit 1 > [61]cicely9> uname -a > FreeBSD cicely9.cicely.de 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Jul 30 17:18:43 CEST 2002 ticso@cicely9.cicely.de:/var/d7/builder/FreeBSD-2002-07-27/src/sys/alpha/compile/CICELY9 alpha > > Is my -current to old to build this? OK - I've found the commit which was missing. I'll build world and try again. Sorry for the false alarm. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message