[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:
> 
> Greetings,
> 
> 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):
> 
> [...]
> src/mapdev/v.in.shape:
>    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
> 

Jeshua

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.

David

---------------------------------------- 
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 mailing list