[GRASSLIST:5753] compilation error of GRASS 5.1

Babak Toloue Tehrani babak.tehrani at geosysnet.de
Fri Mar 7 06:12:33 EST 2003


Hello,

I tried to compile GRASS 5.1 on SUSE 8.1 with gdal 1.1.8.

(grass50src_cvs_snapshot_exp_2003_03_01.tar.gz
grass51src_cvs_snapshot_exp_2003_03_01.tar.gz)

grass5.0 is configured with:

./configure 
	--with-postgres-includes="/usr/include/pgsql
	/usr/include/pgsql/internal"
	--with-tcltk-libs=/usr/local/lib/ (tcltk8.3.5)

grass5.1 is configured with:

CFLAGS="-g -Wall" ./configure
	--with-grass50=/home/babak/src/grass/grass50_exp_2003_03_01
	--with-gdal=/usr/local/bin (path to gdal-config)
	(or --without-gdal)
	--with-postgres-includes="/usr/include/pgsql
	/usr/include/pgsql/internal"

Configure and "make mix" works without an error. but when I try to make
I get always the same error:

/home/babak/src/grass/grass51_exp_2003_03_01/vector/v.out.ogr/main.c:406: undefined reference to `OGR_F_SetFieldString'
/home/babak/src/grass/grass51_exp_2003_03_01/vector/v.out.ogr/main.c:414: undefined reference to `OGR_F_SetFieldInteger'
collect2: ld returned 1 exit status
make[2]: ***
[/home/babak/src/grass/grass51_exp_2003_03_01/dist.i686-pc-linux-gnu/etc/bin/cmd/v.out.ogr] Fehler 1
make[2]: Verlassen des Verzeichnisses
»/home/babak/src/grass/grass51_exp_2003_03_01/vector/v.out.ogr«
make[1]: *** [subdirs] Fehler 1
make[1]: Verlassen des Verzeichnisses
»/home/babak/src/grass/grass51_exp_2003_03_01/vector«
make: *** [default] Fehler 1

Thanks for help,

Babak

-- 
Babak Toloue Tehrani <babak.tehrani at geosysnet.de>




More information about the grass-user mailing list