[GRASS5] Mac OS X errors
David D Gray
ddgray at armadce.demon.co.uk
Fri Jan 26 08:52:50 EST 2001
Jeshua Lacock wrote:
> I just compiled beta 11 on Mac OS X and here are the errors from modules tat I could not figure out (most of these errors have been posted before with previous builds):
> shp2dig.c:25: header file 'malloc.h' not found
> I got this module compiled before (beta 10) by using:
> Copying /System/Library/Frameworks/System.framework/Versions/B/Headers/bsd/sys/malloc.h to src/include.
> Now I get the errors:
> malloc.h:257: undefined type, found `u_short'
> malloc.h:258: undefined type, found `u_short'
> The same thing goes for these modules:
> v.mkgrid, v.out.shape, src.contrib/SDTS
I have changed the #includes to stdlib.h which is probably OK on Mac OS
X in v.in.shape, v.out.shape and v.mkgrid, and should #include malloc.h
on other systems. Hopefully they will compile OK now.
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev