Subject: RE: "machine" definition has been lost
To: 'tech-pkg@netbsd.org' <tech-pkg@netbsd.org>
From: Mitch Russell <Mitch.Russell@tvguide.com>
List: tech-pkg
Date: 05/22/2003 09:01:16
Martin - the logical link was already there.

Pierre - reloaded the comp.tgz set. Got another error:

In file included from digest.c:51:
/usr/include/stdio.h:51: warning: empty declaration
digest.c: In function `MD5File':
digest.c:85: warning: assignment makes pointer from integer without a =
cast
cc -DHAVE_CONFIG_H -I. -I. -I/usr/pkg/include -O2 -I/usr/pkg/include -c
exec.c -o exec.o
...

I think a good interpretation of this is "foobar", and I just need to
reload. It's just going to take some time...

Thanks anyway.

-----Original Message-----
From: Pierre Bourgin [mailto:pierre.bourgin@pcotech.fr]
Sent: Thursday, May 22, 2003 8:38 AM
To: Mitch Russell
Cc: 'tech-pkg@netbsd.org'
Subject: Re: "machine" definition has been lost



Mitch Russell a =E9crit:

> 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.
>=20
> 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
>=20
> Can this be fixed or do I need to reload the entire system?

it seems your /usr/include/machine/ has been disapeared. This easier=20
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 \
             ./usr/include

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

Regards,

Pierre Bourgin