[GRASS-dev] i.pca errors compiling GRASS 6.4 release branch

Michael Barton Michael.Barton at asu.edu
Wed May 14 11:52:28 PDT 2014


Here is the error message. Any thoughts or does this need a ticket?

Errors in:
/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/imagery/i.pca
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Wed May 14 11:26:52 MST 2014
make: *** [default] Error 1
anthgradpc7:grass64_rb cmbarton$ cd /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/imagery/i.pca
anthgradpc7:i.pca cmbarton$ make
gcc -I/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/dist.x86_64-apple-darwin13.1.0/include -I/usr/local/include -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk -I/usr/local/include     -DPACKAGE=\""grassmods"\"  -I/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/dist.x86_64-apple-darwin13.1.0/include -o OBJ.x86_64-apple-darwin13.1.0/support.o -c support.c
support.c:66:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(hist.edhist[i + 1], tmpeigen);
                                    ^~~~~~~~
/Developer/SDKs/MacOSX10.7.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
support.c:79:5: error: void function 'write_history' should not return a value [-Wreturn-type]
    return G_write_history(outname, &hist);
    ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [OBJ.x86_64-apple-darwin13.1.0/support.o] Error 1


Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140514/7e39da67/attachment.html>


More information about the grass-dev mailing list