[GRASS-dev] r.gwflow and r3.gwflow compile errors

Scott Mitchell smitch at mac.com
Thu Feb 8 16:44:01 EST 2007


I just updated my grass6-cvs to check out the r.li - but two other  
modules didn't compile, the new gwflow.

[smitch at gracilis r.gwflow]$ make
gcc -L/fc2root/home/smitch/src/cvsgrass/grass6/dist.i686-pc-linux-gnu/ 
lib -Wl,--export-dynamic -Wl,-rpath-link,/fc2root/home/smitch/src/ 
cvsgrass/grass6/dist.i686-pc-linux-gnu/lib        -DPACKAGE= 
\""grassmods"\" -o /fc2root/home/smitch/src/cvsgrass/grass6/dist.i686- 
pc-linux-gnu/bin/r.gwflow OBJ.i686-pc-linux-gnu/main.o  -lgrass_gis - 
lgrass_datetime -lz      -lm  -lz
OBJ.i686-pc-linux-gnu/main.o: In function `create_solve_les':
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:503:  
undefined reference to `N_assemble_les_2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:503:  
undefined reference to `N_assemble_les_2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:514:  
undefined reference to `N_solver_bicgstab'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:517:  
undefined reference to `N_solver_lu'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:511:  
undefined reference to `N_solver_cg'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:520:  
undefined reference to `N_solver_gauss'
OBJ.i686-pc-linux-gnu/main.o: In function `copy_result':
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:484:  
undefined reference to `N_put_array_2d_value_dcell'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:468:  
undefined reference to `N_get_array_2d_value_dcell'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:477:  
undefined reference to `N_get_array_2d_value_dcell'
OBJ.i686-pc-linux-gnu/main.o: In function `write_result':
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:431:  
undefined reference to `N_get_array_2d_value_dcell'
OBJ.i686-pc-linux-gnu/main.o: In function `fill_array_2d':
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:387:  
undefined reference to `N_put_array_2d_value_dcell'
OBJ.i686-pc-linux-gnu/main.o: In function `main':
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:215:  
undefined reference to `N_alloc_geom_data'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:225:  
undefined reference to `N_alloc_les_callback_2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:226:  
undefined reference to `N_callback_gwflow_2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:226:  
undefined reference to `N_set_les_callback_2d_func'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:229:  
undefined reference to `N_alloc_gwflow_data2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:326:  
undefined reference to `N_free_les'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:328:  
undefined reference to `N_free_gwflow_data2d'
/fc2root/home/smitch/src/cvsgrass/grass6/raster/r.gwflow/main.c:290:  
undefined reference to `N_free_les'
collect2: ld returned 1 exit status
make: *** [/fc2root/home/smitch/src/cvsgrass/grass6/dist.i686-pc- 
linux-gnu/bin/r.gwflow] Error 1

Same general problem in the 3D version.  I do have the header files  
for these functions, as far as I can tell.

Does this look familiar to anyone?  Suggestions? 
  




More information about the grass-dev mailing list