[GRASSLIST:2483] Re: 5.7 build error after cvs today

Glynn Clements glynn.clements at virgin.net
Thu Feb 5 16:16:09 EST 2004


Kirk R. Wythers wrote:

> I am getting a build error on OS X

> Here is the error. Anyone recognize it?

> gcc -L/usr/X11R6/lib -L/sw/lib  
> -L/Users/kirkw/grass5_dev/grass57_exp_2004_01_03/dist.powerpc-apple- 
> darwin7.2.0/lib   -o  
> /Users/kirkw/grass5_dev/grass57_exp_2004_01_03/dist.powerpc-apple- 
> darwin7.2.0/etc/bin/cmd/r.series OBJ.powerpc-apple-darwin7.2.0/c_ave.o  
> OBJ.powerpc-apple-darwin7.2.0/c_divr.o  
> OBJ.powerpc-apple-darwin7.2.0/c_max.o  
> OBJ.powerpc-apple-darwin7.2.0/c_median.o  
> OBJ.powerpc-apple-darwin7.2.0/c_min.o  
> OBJ.powerpc-apple-darwin7.2.0/c_mode.o  
> OBJ.powerpc-apple-darwin7.2.0/c_reg.o  
> OBJ.powerpc-apple-darwin7.2.0/c_stddev.o  
> OBJ.powerpc-apple-darwin7.2.0/c_sum.o  
> OBJ.powerpc-apple-darwin7.2.0/c_var.o  
> OBJ.powerpc-apple-darwin7.2.0/main.o  
> OBJ.powerpc-apple-darwin7.2.0/sort_cell.o -lgrass_gis -lgrass_datetime   
> -lintl  -lz
> ld: Undefined symbols:
> _c_count
> make[2]: ***  
> [/Users/kirkw/grass5_dev/grass57_exp_2004_01_03/dist.powerpc-apple- 
> darwin7.2.0/etc/bin/cmd/r.series] Error 1

I suspect that you forgot to run "make mix" for 5.7 after running
"cvs update" for 5.3.

A recent update to r.series added "method=count", which is implemented
in c_count.c. A "cvs update" will have added this file, and will have
modified main.c to require it, but it won't appear in 5.7 until you
run "make mix" again.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list