Subject: Re: How to work around the machine includes...
To: Chris Gilbert <>
From: Ben Harris <>
List: port-arm
Date: 06/23/2001 00:56:35
On Fri, 22 Jun 2001, Chris Gilbert wrote:

> I've just tried building an uptodate current system, but it's failing due to
> missing <machine/x.h> entries.  eg sys/param.h includes machine/param.h

Erm, in the organisation that Matt's set up (and that you're using on
cats), I think that /usr/include/machine should be a symlink to
/usr/include/arm.  "make includes" in sys/arch should do this:

# For true arm ports, we point machine at the architecure directory
# since all the user include are there and are common.
.if ${ARCHSUBDIR} == arm && ${MACHINE} != arm32 && ${MACHINE} != arm26
SYMLINKS= ${ARCHSUBDIR} /usr/include/machine
SYMLINKS= ${MACHINE} /usr/include/machine

Ben Harris                                                   <>
Portmaster, NetBSD/arm26               <URL:>