From owner-freebsd-current@FreeBSD.ORG Thu May 31 17:49:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DDB716A421 for ; Thu, 31 May 2007 17:49:30 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id AC88113C458 for ; Thu, 31 May 2007 17:49:29 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao107.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070531173815.VZQH7021.eastrmmtao107.cox.net@eastrmimpo01.cox.net> for ; Thu, 31 May 2007 13:38:15 -0400 Received: from serene.no-ip.org ([72.200.17.85]) by eastrmimpo01.cox.net with bizsmtp id 5teF1X0071q7YRk0000000; Thu, 31 May 2007 13:38:15 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l4VHcC7g097878 for ; Thu, 31 May 2007 12:38:13 -0500 (CDT) (envelope-from conrads@cox.net) Message-Id: <200705311738.l4VHcC7g097878@serene.no-ip.org> Date: Thu, 31 May 2007 12:38:07 -0500 From: "Conrad J. Sabatier" To: freebsd-current@freebsd.org X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: /usr/include errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 17:49:30 -0000 Attempting to build sysutils/lsof under amd64 CURRENT, I ran into the following: # make ===> Building for lsof-4.77 (cd lib; make DEBUG="-O2" CFGF="-pipe -march=native -DHASEFFNLINK=i_effnlink -DH ASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_U DEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -D HASNULLFS -DHASIPv6 -DLSOF_VSTR=\"7.0-CURRENT\"") cc -pipe -march=native -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DH ASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_ SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DLSOF_V STR="7.0-CURRENT" -I/usr/src/sys -O2 -c ckkv.c In file included from /usr/src/sys/sys/mutex.h:44, from /usr/src/sys/sys/eventhandler.h:34, from /usr/src/sys/sys/conf.h:44, from ../dlsof.h:68, from ../lsof.h:191, from ckkv.c:43: /usr/include/machine/cpufunc.h:139: error: static declaration of 'ffsl' follows non-static declaration /usr/include/machine/cpufunc.h:147: error: static declaration of 'fls' follows n on-static declaration /usr/include/strings.h:47: error: previous declaration of 'fls' was here /usr/include/machine/cpufunc.h:155: error: static declaration of 'flsl' follows non-static declaration /usr/include/strings.h:48: error: previous declaration of 'flsl' was here *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.77/lsof_4.77_src/lib. *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.77/lsof_4.77_src. *** Error code 1 Stop in /usr/ports/sysutils/lsof. I thought perhaps I just had some stale files under include, so I reinstalled machine/cpufunc.h and strings.h from the src tree, same result. Clues, anyone? -- Conrad J. Sabatier