Subject: Re: "machine" definition has been lost
To: 'firstname.lastname@example.org' <email@example.com>
From: Pierre Bourgin <firstname.lastname@example.org>
Date: 05/22/2003 16:25:46
Mitch Russell a écrit:
> 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
Does your box has a coherent state, like binaries, kernel and header
files comes from the same version of NetBSD ?
> I think a good interpretation of this is "foobar", and I just need to
> reload. It's just going to take some time...
about 10 minutes (for the system) ;-)
> Thanks anyway.
> -----Original Message-----
> From: Pierre Bourgin [mailto:email@example.com]
> Sent: Thursday, May 22, 2003 8:38 AM
> To: Mitch Russell
> Cc: 'firstname.lastname@example.org'
> Subject: Re: "machine" definition has been lost
> 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.
>>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