Opened 14 years ago

Closed 14 years ago

#1195 closed defect (fixed)

r.univar not compiling in GRASS 7

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Raster Version: svn-trunk
Keywords: r.univar Cc:
CPU: OSX/Intel Platform: MacOSX

Description

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$ 

Change History (2)

comment:1 by mmetz, 14 years ago

r3.univar did not link against -lgrass_raster.7.0.svn, hopefully fixed in r43904.

Markus M

comment:2 by cmbarton, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.