Subject: Re: sys/cdefs.h: No such file or directory
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: None <segv@netctl.net>
List: current-users
Date: 02/25/2006 11:32:29
On Sat, 25 Feb 2006 03:41:22 +0300
"Valeriy E. Ushakov" <uwe@ptc.spbu.ru> wrote:
> 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
>
Are you thinking about committing a patch or something? I would really like to
be able to build NetBSD release on Solaris, since I could utilise SMP hardware