Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Sat, 27 Sep 2008, Tom Spindler wrote:
> > Build strfile both as a host tool and as an installed program:
> 
> If you're going to do this, please include the NBTOOL_H stuff;
> otherwise, I get fun compile errors:

It was already being built as a host tool before I touched it, so I
naturally assumed that the NBTOOL stuff was already fine.  I'll see what
I can do to fix it now.

> /home/dogcow/work/nbsrc/tools/strfile/../../games/fortune/strfile/strfile.c:68:
>  
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'h2nl'
> 
> since it appears linux doesn't typedef uint32_t by default.

This might need #include <stdint.h>.  I did change some u_int32_t to
int32_t, which may have exposed a latent problem with cross building.

> (You also may wish to revisit the grotty morass of #ifdef __NetBSD__
> in there that was done before crossbuilding worked reliably...)

I hope that won't be necessary, but thanks for the pointer.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index