[GRASS-dev] [GRASS GIS] #1195: r.univar not compiling in GRASS 7

GRASS GIS trac at osgeo.org
Thu Oct 14 03:26:38 EDT 2010


#1195: r.univar not compiling in GRASS 7
-----------------------+----------------------------------------------------
 Reporter:  cmbarton   |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  normal     |   Milestone:  7.0.0                    
Component:  Raster     |     Version:  svn-trunk                
 Keywords:  r.univar   |    Platform:  MacOSX                   
      Cpu:  OSX/Intel  |  
-----------------------+----------------------------------------------------
 I just updated (after a distclean) and compiled. r.univar does not
 compile, at least on Mac OS X. It did work OK as of 10 September. I've
 listed the error below.

 Michael


 {{{
 cmb-MBP:r.univar cmbarton$ make
 : && gcc -L/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.4.0/lib -L/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.4.0/lib -arch i386 -arch x86_64     -o
 /Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.4.0/bin/r3.univar OBJ.i386-apple-darwin10.4.0/r3.univar_main.o
 OBJ.i386-apple-darwin10.4.0/sort.o OBJ.i386-apple-darwin10.4.0/stats.o
 -lgrass_g3d.7.0.svn -lgrass_gis.7.0.svn
 Undefined symbols for architecture i386:
   "_Rast_get_c_cat", referenced from:
       _print_stats_table in stats.o
       _print_stats in stats.o
   "_Rast_read_cats", referenced from:
       _main in r3.univar_main.o
 ld: symbol(s) not found for architecture i386
 collect2: ld returned 1 exit status
 Undefined symbols for architecture x86_64:
   "_Rast_get_c_cat", referenced from:
       _print_stats_table in stats.o
       _print_stats in stats.o
   "_Rast_read_cats", referenced from:
       _main in r3.univar_main.o
 ld: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//ccghXpLH.out (No such
 file or directory)
 make: *** [/Users/cmbarton/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.4.0/bin/r3.univar] Error 1
 cmb-MBP:r.univar cmbarton$

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1195>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list