From owner-freebsd-current@FreeBSD.ORG Sat Oct 1 14:25:28 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8901216A41F for ; Sat, 1 Oct 2005 14:25:28 +0000 (GMT) (envelope-from lankfordandrew@charter.net) Received: from mxsf18.cluster1.charter.net (mxsf18.cluster1.charter.net [209.225.28.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2455543D45 for ; Sat, 1 Oct 2005 14:25:27 +0000 (GMT) (envelope-from lankfordandrew@charter.net) Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net [209.225.28.139]) by mxsf18.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j91EPQa9011601 for ; Sat, 1 Oct 2005 10:25:26 -0400 Received: from 24-179-96-010.dhcp.snfr.nc.charter.com (HELO [192.168.15.101]) ([24.179.96.10]) by mxip09a.cluster1.charter.net with ESMTP; 01 Oct 2005 10:25:26 -0400 X-IronPort-AV: i="3.97,163,1125892800"; d="scan'208"; a="1446303243:sNHT15667332" Message-ID: <433E9C4F.8040404@charter.net> Date: Sat, 01 Oct 2005 10:25:19 -0400 From: Andrew Lankford User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050924) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 02 Oct 2005 11:39:56 +0000 Cc: Subject: RELENG_6 Kernel doesn't build due to DEVFS 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: Sat, 01 Oct 2005 14:25:28 -0000 uname -a FreeBSD bogushost 6.0-BETA4 FreeBSD 6.0-BETA4 #2: Mon Sep 12 23:01:45 EDT 2005 root@bogushost:/usr/obj/usr/src/sys/ARL6AMD64 amd64 I haven't been able to build a GENERIC 6.0 kernel on amd64 for about a week now because of this error: /usr/src/sys/fs/devfs/devfs_vnops.c:1148: warning: redundant redeclaration of 'devfs_ops_f' /usr/src/sys/fs/devfs/devfs_vnops.c:70: warning: previous declaration of 'devfs_ops_f' was here /usr/src/sys/fs/devfs/devfs_vnops.c:1159: warning: redundant redeclaration of 'devfs_vnodeops' /usr/src/sys/fs/devfs/devfs_vnops.c:68: warning: previous declaration of 'devfs_vnodeops' was here /usr/src/sys/fs/devfs/devfs_vnops.c:1181: warning: redundant redeclaration of 'd evfs_specops' /usr/src/sys/fs/devfs/devfs_vnops.c:69: warning: previous declaration of 'devfs_specops' was here *** Error code 1 For some reason, -Wall seems to be used when compiling this part of the kernel even though I didn't specify this to make.conf. As far as devfs_vnops.c syntax goes, I've never used sparse declarations before, so I wouldn't know if that's improper syntax or not. Since no one else seems to have complained about this, I'm wondering if I'm even following the right branch anymore. For the record here's the version info for the offending source code: * $FreeBSD: src/sys/fs/devfs/devfs_vnops.c,v 1.114.2.5 2005/09/26 14:36:52 phk Exp $