Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jan 2003 11:43:08 +0100
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        nyan@freebsd.org
Cc:        current@freebsd.org
Subject:   buildworld trouble: multiple struct dos_partition.
Message-ID:  <10926.1041590588@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10926.1041590588>