Gentoo Archives: gentoo-amd64

From: Marco Matthies <marco-ml@×××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] mac-fdisk - anyone using it on AMD64?
Date: Wed, 19 Oct 2005 22:38:18
Message-Id: 4356CB05.9090003@gmx.net
In Reply to: [gentoo-amd64] mac-fdisk - anyone using it on AMD64? by Mark Knecht
1 Hi Mark,
2
3 well it's hardmasked for amd64 -- I'll point out the obvious things that
4 might help making it compile:
5
6 Mark Knecht wrote:
7 > In file included from fdisklabel.c:49:
8 > kernel-defs.h:19:1: warning: "_IOC_DIRBITS" redefined
9 > In file included from /usr/include/asm/ioctl.h:7,
10 > from /usr/include/asm-x86_64/ioctls.h:4,
11 > from /usr/include/asm/ioctls.h:7,
12 > from /usr/include/gentoo-multilib/amd64/bits/ioctls.h:24,
13 > from /usr/include/bits/ioctls.h:8,
14 > from /usr/include/gentoo-multilib/amd64/sys/ioctl.h:27,
15 > from /usr/include/sys/ioctl.h:8,
16 > from fdisklabel.c:46:
17 > /usr/include/asm-x86_64/ioctl.h:30:1: warning: this is the location of
18 > the previous definition
19
20 Seems like a clash with linux-headers, you might be able to comment out
21 the definition in kernel-defs.h that seems to be supplied by mac-fdisk.
22
23 > In file included from fdisklabel.c:53:
24 > fdisklabel.h:62:2: #error unknown architecture
25
26 Well, this is a showstopper -- you'll have to remove the #error and
27 pretend you're an x86 :)
28 The following bugs are hopefully all due to this one causing some
29 #defines not to be made.
30
31 Please don't take this as an endorsement that these changes (if it
32 actually compiles) will result in a useful program ;-)
33
34 Good luck,
35 Marco
36 --
37 gentoo-amd64@g.o mailing list