[GRASS5] Mac OS X errors
Jeshua Lacock
jeshua at SierraMaps.com
Fri Jan 26 03:44:01 EST 2001
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):
The following modules: d.colors, i.class, i.ortho.photo, i.points, i.points3, i.vpoints, get this error:
/usr/bin/ld: Undefined symbols:
_gtty
_stty
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
src/mapdev/v.rmdup:
rmdup.c:201: structure has no member named `_shortbuf'
make[1]: *** [OBJ.powerpc-apple-darwin1.2/rmdup.o] Error 1
make: *** [all] Error 2
src/raster/r.in.gdal:
I can't get the gdal lib compiled.
src/raster/r.in.png & src/raster/r.out.png:
pngfunc.h:12: header file 'pnm.h' not found
pngfunc.h:29: undefined type, found `xel'
r.in.png.c:197: undefined type, found `pixel'
r.in.png.c:200: undefined type, found `pixel'
r.in.png.c:207: undefined type, found `pixel'
I think it's because I couldn't get netpbm compiled.
src/raster/r.in.random and src/sites/s.kcv:
/usr/bin/ld: Undefined symbols:
_lrand48
_srand48
src/sites/s.random:
main.c: In function `main':
main.c:128: `drand48' undeclared (first use in this function)
main.c:128: (Each undeclared identifier is reported only once
main.c:128: for each function it appears in.)
make: *** [OBJ.powerpc-apple-darwin1.2/main.o] Error 1
src/raster/r.mapcalc:
/usr/bin/ld: Undefined symbols:
_drand48
make[1]: *** [/usr/src/grass5/dist.powerpc-apple-darwin1.2/etc/bin/cmd/r.mapcalc] Error 1
> Markus said:
> You should have in head file:
> XCFLAGS = -I/usr/X11R6/include
I do have that in the head file, and I still get the error:
src.contrib/GMSL/NVIZ2.2:
/usr/bin/ld: Undefined symbols:
_XKillClient
_XSetCloseDownMode
_XSetRGBColormaps
_XAllocColorCells
_XStoreColors
make[1]: *** [nvwish] Error 1
make: *** [nvwish] Error 2
src.garden/answers/src.answers/raster/r.fill.dir:
Needs fortran??
/usr/src/grass5.0beta11pre1/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL
mkdir OBJ.powerpc-apple-darwin1.2
make -f OBJ.powerpc-apple-darwin1.2/make.rules
cc -g -O2 -I/usr/src/grass5/src/libes/dspf -I/usr/src/grass5/src/libes/ogsf -I/usr/local/include/GL -I/usr/X11R6/include/GL -I/usr/X11R6/include -I/usr/src/grass5/src/include -c new_init_graphics.c -o OBJ.powerpc-apple-darwin1.2/new_init_graphics.o
new_init_graphics.c:16: header file 'Xm/Xm.h' not found
new_init_graphics.c:17: header file 'Xm/Form.h' not found
new_init_graphics.c:19: header file 'GLwMDrawA.h' not found
kns_defines.h:4: undefined type, found `GLXContext'
kns_defines.h:5: undefined type, found `Window'
kns_defines.h:6: undefined type, found `Widget'
kns_globals.h:14: undefined type, found `XtAppContext'
Note that I had to issue a "make real-install" for it to install; "make install" seemed to do nothing.
Cheers,
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 at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list