> I FTP'd the 971010 linux snapshot from the SGI site and applied your
> patch. The patch applied successfully, but 'make dep' failed at the first
> step, declaring:
> $ make dep
> cc -O2 -o scripts/mkdep scripts/mkdep.c
> scripts/mkdep.c: In function `do_depend':
> scripts/mkdep.c:259: `MAP_AUTOGROW' undeclared (first use this function)
> scripts/mkdep.c:259: (Each undeclared identifier is reported only once
> scripts/mkdep.c:259: for each function it appears in.)
> make: *** [scripts/mkdep] Error 1
> And I can't see exactly what's wrong, yet.
Just remove the reference to MAP_AUTOGROW. I added it as a quick hack
to make mkdep working on IRIX and Solaris where it would otherwise
sometimes dump core.