[GRASS-dev] GRASS 7.1 trunk still will not compile on Mac

Michael Barton Michael.Barton at asu.edu
Thu Apr 21 11:33:23 PDT 2016


I recompiled this morning using only 64bit architecture and it compiled without errors. Does that mean that we can no-longer use dual architecture to compile GRASS 7.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

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 Apr 20, 2016, at 5:35 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:

After compiling 7.0.4RC1, I tried again to compile 7.1. Previously, several modules would not compile. I did an svn update and got the same result. So I deleted all files and updated to a clean copy of trunk. Now nothing will compile. An example error is below. It seems to relate to 64 bit architecture.

Any suggestions?

[Important note: I am compiling binaries for the Mac community, not for myself. So that means not using HomeBrew or other package manager like systems for Mac]

Michael



make: *** [default] Error 1
cmb-imaccsdc:grass_trunk cmbarton$ cd /Users/cmbarton/grass_source/grass_trunk/lib/gis
cmb-imaccsdc:gis cmbarton$ make
cc -dynamiclib -compatibility_version 7.1 -current_version 7.1 -install_name /Applications/GRASS-7.1.app/Contents/MacOS/lib/libgrass_gis.7.1.svn.dylib -o /Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.5.0/lib/libgrass_gis.7.1.svn.dylib -L/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.5.0/lib -L/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.5.0/lib -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.8.sdk   -L/usr/local/lib   OBJ.x86_64-apple-darwin14.5.0/adj_cellhd.o OBJ.x86_64-apple-darwin14.5.0/alloc.o OBJ.x86_64-apple-darwin14.5.0/area.o OBJ.x86_64-apple-darwin14.5.0/area_ellipse.o OBJ.x86_64-apple-darwin14.5.0/area_poly1.o OBJ.x86_64-apple-darwin14.5.0/area_poly2.o OBJ.x86_64-apple-darwin14.5.0/area_sphere.o OBJ.x86_64-apple-darwin14.5.0/ascii_chk.o OBJ.x86_64-apple-darwin14.5.0/asprintf.o OBJ.x86_64-apple-darwin14.5.0/basename.o OBJ.x86_64-apple-darwin14.5.0/bres_line.o OBJ.x86_64-apple-darwin14.5.0/clicker.o OBJ.x86_64-apple-darwin14.5.0/cmprbzip.o OBJ.x86_64-apple-darwin14.5.0/cmprlz4.o OBJ.x86_64-apple-darwin14.5.0/cmprrle.o OBJ.x86_64-apple-darwin14.5.0/cmprzlib.o OBJ.x86_64-apple-darwin14.5.0/color_rules.o OBJ.x86_64-apple-darwin14.5.0/color_str.o OBJ.x86_64-apple-darwin14.5.0/commas.o OBJ.x86_64-apple-darwin14.5.0/compress.o OBJ.x86_64-apple-darwin14.5.0/copy_dir.o OBJ.x86_64-apple-darwin14.5.0/copy_file.o OBJ.x86_64-apple-darwin14.5.0/counter.o OBJ.x86_64-apple-darwin14.5.0/date.o OBJ.x86_64-apple-darwin14.5.0/datum.o OBJ.x86_64-apple-darwin14.5.0/debug.o OBJ.x86_64-apple-darwin14.5.0/distance.o OBJ.x86_64-apple-darwin14.5.0/done_msg.o OBJ.x86_64-apple-darwin14.5.0/endian.o OBJ.x86_64-apple-darwin14.5.0/env.o OBJ.x86_64-apple-darwin14.5.0/error.o OBJ.x86_64-apple-darwin14.5.0/file_name.o OBJ.x86_64-apple-darwin14.5.0/find_etc.o OBJ.x86_64-apple-darwin14.5.0/find_file.o OBJ.x86_64-apple-darwin14.5.0/find_rast.o OBJ.x86_64-apple-darwin14.5.0/find_rast3d.o OBJ.x86_64-apple-darwin14.5.0/find_vect.o OBJ.x86_64-apple-darwin14.5.0/geodesic.o OBJ.x86_64-apple-darwin14.5.0/geodist.o OBJ.x86_64-apple-darwin14.5.0/get_ellipse.o OBJ.x86_64-apple-darwin14.5.0/get_projinfo.o OBJ.x86_64-apple-darwin14.5.0/get_window.o OBJ.x86_64-apple-darwin14.5.0/getl.o OBJ.x86_64-apple-darwin14.5.0/gisbase.o OBJ.x86_64-apple-darwin14.5.0/gisdbase.o OBJ.x86_64-apple-darwin14.5.0/gisinit.o OBJ.x86_64-apple-darwin14.5.0/handler.o OBJ.x86_64-apple-darwin14.5.0/home.o OBJ.x86_64-apple-darwin14.5.0/ilist.o OBJ.x86_64-apple-darwin14.5.0/intersect.o OBJ.x86_64-apple-darwin14.5.0/is.o OBJ.x86_64-apple-darwin14.5.0/key_value1.o OBJ.x86_64-apple-darwin14.5.0/key_value2.o OBJ.x86_64-apple-darwin14.5.0/key_value3.o OBJ.x86_64-apple-darwin14.5.0/key_value4.o OBJ.x86_64-apple-darwin14.5.0/legal_name.o OBJ.x86_64-apple-darwin14.5.0/line_dist.o OBJ.x86_64-apple-darwin14.5.0/list.o OBJ.x86_64-apple-darwin14.5.0/ll_format.o OBJ.x86_64-apple-darwin14.5.0/ll_scan.o OBJ.x86_64-apple-darwin14.5.0/locale.o OBJ.x86_64-apple-darwin14.5.0/location.o OBJ.x86_64-apple-darwin14.5.0/lrand48.o OBJ.x86_64-apple-darwin14.5.0/ls.o OBJ.x86_64-apple-darwin14.5.0/ls_filter.o OBJ.x86_64-apple-darwin14.5.0/lz4.o OBJ.x86_64-apple-darwin14.5.0/mach_name.o OBJ.x86_64-apple-darwin14.5.0/make_loc.o OBJ.x86_64-apple-darwin14.5.0/make_mapset.o OBJ.x86_64-apple-darwin14.5.0/mapcase.o OBJ.x86_64-apple-darwin14.5.0/mapset.o OBJ.x86_64-apple-darwin14.5.0/mapset_msc.o OBJ.x86_64-apple-darwin14.5.0/mapset_nme.o OBJ.x86_64-apple-darwin14.5.0/mkstemp.o OBJ.x86_64-apple-darwin14.5.0/myname.o OBJ.x86_64-apple-darwin14.5.0/named_colr.o OBJ.x86_64-apple-darwin14.5.0/nl_to_spaces.o OBJ.x86_64-apple-darwin14.5.0/nme_in_mps.o OBJ.x86_64-apple-darwin14.5.0/open.o OBJ.x86_64-apple-darwin14.5.0/open_misc.o OBJ.x86_64-apple-darwin14.5.0/overwrite.o OBJ.x86_64-apple-darwin14.5.0/pager.o OBJ.x86_64-apple-darwin14.5.0/parser.o OBJ.x86_64-apple-darwin14.5.0/parser_dependencies.o OBJ.x86_64-apple-darwin14.5.0/parser_help.o OBJ.x86_64-apple-darwin14.5.0/parser_html.o OBJ.x86_64-apple-darwin14.5.0/parser_interface.o OBJ.x86_64-apple-darwin14.5.0/parser_rest.o OBJ.x86_64-apple-darwin14.5.0/parser_script.o OBJ.x86_64-apple-darwin14.5.0/parser_standard_options.o OBJ.x86_64-apple-darwin14.5.0/parser_wps.o OBJ.x86_64-apple-darwin14.5.0/paths.o OBJ.x86_64-apple-darwin14.5.0/percent.o OBJ.x86_64-apple-darwin14.5.0/plot.o OBJ.x86_64-apple-darwin14.5.0/pole_in_poly.o OBJ.x86_64-apple-darwin14.5.0/popen.o OBJ.x86_64-apple-darwin14.5.0/progrm_nme.o OBJ.x86_64-apple-darwin14.5.0/proj1.o OBJ.x86_64-apple-darwin14.5.0/proj2.o OBJ.x86_64-apple-darwin14.5.0/proj3.o OBJ.x86_64-apple-darwin14.5.0/put_window.o OBJ.x86_64-apple-darwin14.5.0/putenv.o OBJ.x86_64-apple-darwin14.5.0/radii.o OBJ.x86_64-apple-darwin14.5.0/rd_cellhd.o OBJ.x86_64-apple-darwin14.5.0/remove.o OBJ.x86_64-apple-darwin14.5.0/rename.o OBJ.x86_64-apple-darwin14.5.0/rhumbline.o OBJ.x86_64-apple-darwin14.5.0/rotate.o OBJ.x86_64-apple-darwin14.5.0/seek.o OBJ.x86_64-apple-darwin14.5.0/set_window.o OBJ.x86_64-apple-darwin14.5.0/short_way.o OBJ.x86_64-apple-darwin14.5.0/sleep.o OBJ.x86_64-apple-darwin14.5.0/snprintf.o OBJ.x86_64-apple-darwin14.5.0/spawn.o OBJ.x86_64-apple-darwin14.5.0/strings.o OBJ.x86_64-apple-darwin14.5.0/tempfile.o OBJ.x86_64-apple-darwin14.5.0/timestamp.o OBJ.x86_64-apple-darwin14.5.0/token.o OBJ.x86_64-apple-darwin14.5.0/trim_dec.o OBJ.x86_64-apple-darwin14.5.0/units.o OBJ.x86_64-apple-darwin14.5.0/user_config.o OBJ.x86_64-apple-darwin14.5.0/verbose.o OBJ.x86_64-apple-darwin14.5.0/view.o OBJ.x86_64-apple-darwin14.5.0/whoami.o OBJ.x86_64-apple-darwin14.5.0/win32_pipes.o OBJ.x86_64-apple-darwin14.5.0/wind_2_box.o OBJ.x86_64-apple-darwin14.5.0/wind_format.o OBJ.x86_64-apple-darwin14.5.0/wind_in.o OBJ.x86_64-apple-darwin14.5.0/wind_limits.o OBJ.x86_64-apple-darwin14.5.0/wind_overlap.o OBJ.x86_64-apple-darwin14.5.0/wind_scan.o OBJ.x86_64-apple-darwin14.5.0/window_map.o OBJ.x86_64-apple-darwin14.5.0/worker.o OBJ.x86_64-apple-darwin14.5.0/wr_cellhd.o OBJ.x86_64-apple-darwin14.5.0/writ_zeros.o OBJ.x86_64-apple-darwin14.5.0/xdr.o OBJ.x86_64-apple-darwin14.5.0/zero.o OBJ.x86_64-apple-darwin14.5.0/zone.o  -lgrass_datetime.7.1.svn  -lz   -lintl   -liconv
Undefined symbols for architecture x86_64:
  "___sincos_stret", referenced from:
      _G_begin_geodesic_equation in geodesic.o
      _G_geodesic_lat_from_lon in geodesic.o
      _G_set_geodesic_distance_lat2 in geodist.o
      _G_geodesic_distance in geodist.o
      _G_rotate_around_point in rotate.o
      _G_rotate_around_point_int in rotate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/cmbarton/grass_source/grass_trunk/dist.x86_64-apple-darwin14.5.0/lib/libgrass_gis.7.1.svn.dylib] Error 1
cmb-imaccsdc:gis cmbarton$
____________________
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

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<http://csdc.asu.edu/>
















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160421/0c5bd92e/attachment-0001.html>


More information about the grass-dev mailing list