[GRASS-dev] error in nviz compiling GRASS 7 on Mac

Michael Barton michael.barton at asu.edu
Sat Feb 13 02:45:42 EST 2010


I just tried to compile GRASS 7, updated a few minutes ago. There is an error in nviz. It is very recent, since I successfully compiled 7 a couple days ago.

cmb-MBP-2:grass70_dev cmbarton$ cd /Users/cmbarton/grass_dev/grass70_dev/visualization/nviz
cmb-MBP-2:nviz cmbarton$ make
make -C src
gcc  -g -O2    -arch i386  -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include  -D_FILE_OFFSET_BITS=64 -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/PrivateHeaders -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/PrivateHeaders -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include -I/Library/Frameworks/UnixImageIO.framework/unix/include  -I/Library/Frameworks/GDAL.framework/Versions/1.6/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include  -DPACKAGE=\""grassmods"\"   -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include -I/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-darwin10.2.0/include -o OBJ.i386-apple-darwin10.2.0/do_zoom.o -c do_zoom.c
do_zoom.c:48: error: conflicting types for ‘asprintf’
/usr/include/stdio.h:300: error: previous declaration of ‘asprintf’ was here
make[1]: *** [OBJ.i386-apple-darwin10.2.0/do_zoom.o] Error 1
make: *** [default] Error 2
cmb-MBP-2:nviz cmbarton$ 


Michael




More information about the grass-dev mailing list