From owner-freebsd-current Fri Jan 3 2:43:13 2003 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 443AA37B401; Fri, 3 Jan 2003 02:43:12 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7288143EC2; Fri, 3 Jan 2003 02:43:11 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h03Ah8F4010927; Fri, 3 Jan 2003 11:43:08 +0100 (CET) (envelope-from phk@freebsd.org) To: nyan@freebsd.org Cc: current@freebsd.org Subject: buildworld trouble: multiple struct dos_partition. From: Poul-Henning Kamp Date: Fri, 03 Jan 2003 11:43:08 +0100 Message-ID: <10926.1041590588@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think you need to either #ifdef something here (and there may be more some similar code in places like truss or the debugger) or alternatively rename the structure to "pc98_partition" or similar. I would advocate the latter. Poul-Henning ===> usr.bin/kdump cc -O -pipe -mcpu=pentiumpro -I/bang/src/usr.bin/kdump/../ktrace -I/bang/src/usr .bin/kdump/../.. -c /bang/src/usr.bin/kdump/kdump.c cc -O -pipe -mcpu=pentiumpro -I/bang/src/usr.bin/kdump/../ktrace -I/bang/src/usr .bin/kdump/../.. -c /bang/src/usr.bin/ktrace/subr.c gzip -cn /bang/src/usr.bin/kdump/kdump.1 > kdump.1.gz cc -O -pipe -mcpu=pentiumpro -I/bang/src/usr.bin/kdump/../ktrace -I/bang/src/usr .bin/kdump/../.. -c ioctl.c In file included from ioctl.c:93: /usr/obj/bang/src/i386/usr/include/sys/diskpc98.h:47: redefinition of `struct do s_partition' -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message