[GRASS-dev] r.gwflow and r3.gwflow compile errors
Soeren Gebbert
soerengebbert at gmx.de
Thu Feb 8 17:29:54 EST 2007
Am Donnerstag, 8. Februar 2007 23:12 schrieb Scott Mitchell:
> On 8 Feb 2007, at 17:03, Soeren Gebbert wrote:
> > Hi,
> > it looks like the linker is not able to find the new gpde library.
> > Maybe the lib was not build?
>
> I have object files in the lib/gpde/OBJ.i686-pc-linux-gnu/
> directory, but nothing with gpde in the name in dist.i686-pc-linux-
> gnu/lib
I just downloaded the latest cvs version, configured and compiled it.
No problems detected.
Maybe if you do a "make distclean, configure, make" the problem will be
solved? Because to get the library to work i needed to modify the
Grass.make.in in grass.
So after a new configuration everything should be fine.
Best regards
Soeren
>
> > I will try to reproduce and fix this.
> >
> > Maybe i should remove the new modules from the Makefiles .... .
> >
> > Regards
> > Soeren
> >
> > Am Donnerstag, 8. Februar 2007 22:44 schrieb Scott Mitchell:
> >> 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?
> >>
> >>
> >> _______________________________________________
> >> grass-dev mailing list
> >> grass-dev at grass.itc.it
> >> http://grass.itc.it/mailman/listinfo/grass-dev
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
More information about the grass-dev
mailing list