On Friday, January 26, 2001, at 05:52 AM, David D Gray wrote:
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,
Nice work! All three compiled like a charm.
Thanks,
Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'