[GRASS-dev] compiling error in db.select

Michael Barton Michael.Barton at asu.edu
Fri Nov 11 14:20:23 EST 2011


I just did an update and tried to compile trunk. I got an error in db.select. Note that I did a make distclean followed by an svn up before configuring and compiling.

Michaels-MacBook-Air:grass70_dev cmbarton$ cd /Users/Shared/grass_dev/grass70_dev/db/db.select
Michaels-MacBook-Air:db.select cmbarton$ make
gcc  -g -O2   -arch i386  -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin11.2.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin11.2.0/include  -D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"   -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin11.2.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin11.2.0/include -o OBJ.i386-apple-darwin11.2.0/main.o -c main.c
main.c: In function ‘main’:
main.c:56: error: ‘ERROR’ undeclared (first use in this function)
main.c:56: error: (Each undeclared identifier is reported only once
main.c:56: error: for each function it appears in.)
main.c:84: error: ‘OK’ undeclared (first use in this function)
main.c: In function ‘sel’:
main.c:112: error: ‘ERROR’ undeclared (first use in this function)
main.c:114: error: ‘OK’ undeclared (first use in this function)
make: *** [OBJ.i386-apple-darwin11.2.0/main.o] Error 1

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20111111/123bfd72/attachment.html


More information about the grass-dev mailing list