Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
On Sat, Dec 21, 2013 at 9:49 PM, Michael Barton michael.bar...@asu.edu wrote: Has this been fixed yet so I can compile 6.5? Yes, as written earlier, in http://trac.osgeo.org/grass/changeset/58477 Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Has this been fixed yet so I can compile 6.5? Thanks 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-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Dec 14, 2013, at 7:19 AM, Glynn Clements gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. Configure is OK, using the same string as I just used for GRASS 7. But all modules generate an error during compilation. Here is an example. error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). Is this something that needs to be changed in the make file? No; lib/gis/error.c, line 281. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
On Sat, Dec 14, 2013 at 3:19 PM, Glynn Clements gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
This seems only to be a problem in 6.5 svn. 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-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Dec 16, 2013, at 1:00 PM, grass-dev-requ...@lists.osgeo.orgmailto:grass-dev-requ...@lists.osgeo.org grass-dev-requ...@lists.osgeo.orgmailto:grass-dev-requ...@lists.osgeo.org wrote: From: Markus Neteler nete...@osgeo.orgmailto:nete...@osgeo.org Subject: Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks Date: December 16, 2013 at 2:22:39 AM MST To: Glynn Clements gl...@gclements.plus.commailto:gl...@gclements.plus.com Cc: GRASS developers list grass-dev@lists.osgeo.orgmailto:grass-dev@lists.osgeo.org On Sat, Dec 14, 2013 at 3:19 PM, Glynn Clements gl...@gclements.plus.commailto:gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Markus Neteler wrote: GRASS 6.5 does not compile. ... error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). ... lib/gis/error.c, line 281. Do we want this applied in G6.*.svn? It needs to be done for 6.5 (develbranch_6). It's not applicable to 7.0 (where print_error doesn't return a value) or 6.4 (which doesn't have the change which causes the error). FWIW, the issue is caused by r45647, which backports r45646 from 7.0. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
On Mon, Dec 16, 2013 at 11:00 PM, Glynn Clements gl...@gclements.plus.com wrote: ... It needs to be done for 6.5 (develbranch_6). It's not applicable to 7.0 (where print_error doesn't return a value) or 6.4 (which doesn't have the change which causes the error). Fixed in r58477. Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Michael Barton wrote: GRASS 6.5 does not compile. Configure is OK, using the same string as I just used for GRASS 7. But all modules generate an error during compilation. Here is an example. error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). Is this something that needs to be changed in the make file? No; lib/gis/error.c, line 281. -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Michael Barton wrote: GRASS 6.5 does not compile. Configure is OK, using the same string as I just used for GRASS 7. But all modules generate an error during compilation. Here is an example. error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Is this something that needs to be changed in the make file? Michael __ C. Michael Barton Director, Center for Social Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change 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 On Dec 13, 2013, at 4:26 AM, Glynn Clements gl...@gclements.plus.com wrote: Michael Barton wrote: GRASS 6.5 does not compile. Configure is OK, using the same string as I just used for GRASS 7. But all modules generate an error during compilation. Here is an example. error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; Change it to return 0;. The return value is ignored in any case (in GRASS 7, print_error() returns void). -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] trying to compile GRASS 6.5 on Mavericks
Drat! GRASS 6.5 does not compile. Configure is OK, using the same string as I just used for GRASS 7. But all modules generate an error during compilation. Here is an example. Finished compilation: Thu Dec 12 23:19:50 MST 2013 make: *** [default] Error 1 Michaels-MacBook-Air-2:grass6_dev cmbarton$ cd /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass6_dev/lib/gis Michaels-MacBook-Air-2:gis cmbarton$ make gcc -I/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass6_dev/dist.x86_64-apple-darwin13.0.0/include -g -O2 -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.7.sdk -fno-common -DPACKAGE=\grasslibs\ -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1 -DPACKAGE=\grasslibs\ -I/Library/Frameworks/PROJ.framework/unix/include -I/Library/Frameworks/GDAL.framework/Versions/1.10/Headers -I/Library/Frameworks/GDAL.framework/Versions/1.10/Headers -I/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass6_dev/dist.x86_64-apple-darwin13.0.0/include -o OBJ.x86_64-apple-darwin13.0.0/error.o -c error.c error.c:281:6: error: non-void function 'print_error' should return a value [-Wreturn-type] return; ^ 1 error generated. make: *** [OBJ.x86_64-apple-darwin13.0.0/error.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-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev