Subject: Re: cannot build -current from Solaris 10
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: current-users
Date: 03/18/2006 12:31:55
Garrett D'Amore wrote:
> Trying to cross build NetBSD for evbmips-el on Solaris 10, I get this error:
>
> garrett@zippy{125}> ./build.sh -T ${METEOR_TOOLS} -U -m evbmips-eb build
>
> ...
>
> #   compile  mkdctype/mkdctype.lo
> gcc -O -DHOST_TOOL
> -I/home/garrett/netbsd/src/usr.bin/tn3270/tools/mkdctype/../../api -c -o
> mkdctype.lo.o   
> /home/garrett/netbsd/src/usr.bin/tn3270/tools/mkdctype/mkdctype.c
> /home/garrett/netbsd/src/usr.bin/tn3270/tools/mkdctype/mkdctype.c:32:23:
> sys/cdefs.h: No such file or directory
>
> *** Failed target:  mkdctype.lo
> *** Failed command: gcc -O -DHOST_TOOL
> -I/home/garrett/netbsd/src/usr.bin/tn3270/tools/mkdctype/../../api -c -o
> mkdctype.lo.o
> /home/garrett/netbsd/src/usr.bin/tn3270/tools/mkdctype/mkdctype.c
> *** Error code 1
>
>
>
> Looking at tn3270, it seems that it has a few "host tools" that help out.
>
> Can whoever owns tn3270 take a look, or should I just figure out a fix
> myself?
>
>   
Huh.  It looks like replacing sys/cdefs.h with stdio.h will do the
trick.  :-)

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191