[GRASS5] Problem compiling Grass51

Markus Neteler neteler at itc.it
Tue Apr 29 07:14:14 EDT 2003


On Tue, Apr 29, 2003 at 12:54:40PM +0200, maurosw at jumpy.it wrote:
> I solved previous problem (using snapshot and updating only the necessary)
> but now I have this error:
[...]
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_gproj.a(get_proj.o):
> In function `pj_print_proj_params':
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/proj/get_proj.c:377:
> undefined reference to `pj_get_def'
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/proj/get_proj.c:386:
> undefined reference to `pj_get_def'
> collect2: ld returned 1 exit status
> make[2]: *** [/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/etc/bin/cmd/d.where]
> Error 1
> make[2]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/display/d.where'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/display'
> make: *** [default] Error 1
> 
> Any idea?

Yes: There was not yet GPROJDEP defined (fixed now).
To fix the problem, remove 
/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_gproj.a

and recompile proj:
cd src/proj
make clean
make

then d.where should compile.

Markus




More information about the grass-dev mailing list