Subject: Re: sys/cdefs.h: No such file or directory
To: None <current-users@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: current-users
Date: 02/25/2006 03:41:22
On Fri, Feb 24, 2006 at 03:30:42 +0000, segv@netctl.net wrote:

> Hi, I'm trying to build NetBSD-current on OpenSolaris, well it fails:
> 
> #   compile  mkdctype/mkdctype.lo
> gcc -O -DHOST_TOOL -I/opt/src/usr.bin/tn3270/tools/mkdctype/../../api -c -o
> mkdctype.lo.o    /opt/src/usr.bin/tn327 0/tools/mkdctype/mkdctype.c
> /opt/src/usr.bin/tn3270/tools/mkdctype/mkdctype.c:32:23: sys/cdefs.h: No such
> file or directory *** [mkdctype.lo] Error code 1
> 1 error
> 
> nbmake: stopped in /opt/src/usr.bin/tn3270/tools/mkdctype
> *** [dependall] Error code 2
> 1 error
> 
> Any ideas why this happens?

We should probably hide the block from that include and upto

    #endif /* not lint */

inside #ifndef HOST_TOOL

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen