Subject: Re: "machine" definition has been lost
To: Mitch Russell <>
From: Pierre Bourgin <>
List: tech-pkg
Date: 05/22/2003 15:38:27
Mitch Russell a écrit:

> 1. I reloaded the packages on a development system, losing my changes in
> /etc and such.
> 2. Now I cannot build any packages in pkgsrc.
> 3. I have even wiped and reloaded pkgsrc.
> Error:
> In file included from /usr/include/stdio.h:44,
>                  from digest.c:51:
> /usr/include/sys/ansi.h:42: machine/int_types.h: No such file or directory
> Can this be fixed or do I need to reload the entire system?

it seems your /usr/include/machine/ has been disapeared. This easier 
solution is get this files back from the comp.tgz distribution sets and 
see what happens:

% cd /
% tar xzpvf /..../NetBSD-<version>/<arch>/binary/sets/comp.tgz \

... your box must a in a strange state if even some system .h files are 
missing :(


Pierre Bourgin