[GRASS5] Problem compiling Grass51

maurosw at jumpy.it maurosw at jumpy.it
Tue Apr 29 06:54:40 EDT 2003


I solved previous problem (using snapshot and updating only the necessary)
but now I have this error:

gcc  -L/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib
   -o /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/etc/bin/cmd/d.where
OBJ.i686-pc-linux-gnu/b_w_line.o OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/where.o
/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_display.a
 /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_raster.a
 /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_gproj.a
 -lproj  /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/lib/libgrass_gis.a
   -lm  -lz
/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?

Mauro

>-- Original Message --
>Date: Tue, 29 Apr 2003 09:20:42 +0100 (BST)
>From: Paul Kelly <paul-grass at stjohnspoint.co.uk>
>To: maurosw at jumpy.it
>cc: grass5 at grass.itc.it
>Subject: Re: [GRASS5] Problem compiling Grass51
>
>
>
>
>On Tue, 29 Apr 2003 maurosw at jumpy.it wrote:
>
>> After "make copymix" (Grass50 cvs updated and Grass51 cvs updated)
>> I have this problem:
>>
>> gcc -I/home/rpms/GRASS/gdal-1.1.8/ogr/ -g -O2  -Wall  -I/home/rpms/GRASS/gdal-1.1.8/ogr/
>> -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/include
>>   -I/home/rpms/GRASS/gdal-1.1.8/port -I/home/rpms/GRASS/gdal-1.1.8/core
>> -I/home/rpms/GRASS/gdal-1.1.8/ogr -I/home/rpms/GRASS/gdal-1.1.8/ogr/ogrsf_frmts
>> -DUSE_GDAL_H  -I/usr/local/pgsql/include/ -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include
>> -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/include
>> \
>>         -o OBJ.i686-pc-linux-gnu/input2d.o -c input2d.c
>> input2d.c:194: conflicting types for `IL_create_bitmask'
>> interpf.h:70: previous declaration of `IL_create_bitmask'
>> /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include/gis.h:36: warning:
>> `GRASS_copyright' defined but not used
>> make[3]: *** [OBJ.i686-pc-linux-gnu/input2d.o] Error 1
>> make[3]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/rst/interp_float'
>> make[2]: *** [subdirs] Error 1
>> make[2]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/rst'
>> make[1]: *** [subdirs] Error 1
>> make[1]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib'
>> make: *** [default] Error 1
>>
>
>You must be using a GRASS 5 CVS version later than Sunday night but
>GRASS5.1 earlier than Monday lunchtime---that was when these changes were
>made---if you use the latest versions of both it should be fine.
>
>You can always check the grass-commit mailing list at
>http://grass.itc.it/pipermail/grass-commit/ to see if recent changes were
>made to the 5.0 tree which cause problems for 5.1 when it is copied over
>in the 'make mix' stage.
>
>Paul
>

________________________________________
Raddoppia la tua casella navigando con il numero unico! http://www.jumpy.it/Canali_J/Aiuto/articles.shtml?BXXCYXCYAH/art903





More information about the grass-dev mailing list