[GRASS5] GRASS 5.1 conflicting types for `G_ask_datum_name'

Hi,

thank you Paul - you were right. After updating GRASS 5.0 from CVS the
this 'datum part' of the GRASS 5.1 snapshot compiled properly.

but now occurs another compilation error with v.net.salesman
in GRASS 5.1.

make[2]: Wechsel in das Verzeichnis
»/daten/software/grass51/vector/v.net.salesman«
gcc -g -Wall -Wall -I/daten/software/grass51/include
-I/daten/software/grass51/dist.i686-pc-linux-gnu/include
-I/usr/include/pgsql -I/usr/include/pgsql/server/
-I/daten/software/grass51/include
-I/daten/software/grass51/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c:23:19: proto.h: Datei oder Verzeichnis nicht gefunden
/daten/software/grass51/include/gis.h:36: warning: `GRASS_copyright'
defined but not used
make[2]: *** [OBJ.i686-pc-linux-gnu/main.o] Fehler 1
make[2]: Verlassen des Verzeichnisses
»/daten/software/grass51/vector/v.net.salesman«
make[1]: *** [subdirs] Fehler 1
make[1]: Verlassen des Verzeichnisses »/daten/software/grass51/vector«
make: *** [default] Fehler 1

maybe another hint ?

Installation now:
GRASS 5.0 and 5.1 from CVS 1 Apr 2003 on Linux

thanks
Otto

Try to remove #include "proto.h" from main.c, the same for Steiner.

Radim

On Tuesday 01 April 2003 10:37 am, Otto Dassau wrote:

Hi,

thank you Paul - you were right. After updating GRASS 5.0 from CVS the
this 'datum part' of the GRASS 5.1 snapshot compiled properly.

but now occurs another compilation error with v.net.salesman
in GRASS 5.1.

make[2]: Wechsel in das Verzeichnis
»/daten/software/grass51/vector/v.net.salesman«
gcc -g -Wall -Wall -I/daten/software/grass51/include
-I/daten/software/grass51/dist.i686-pc-linux-gnu/include
-I/usr/include/pgsql -I/usr/include/pgsql/server/
-I/daten/software/grass51/include
-I/daten/software/grass51/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/main.o -c main.c
main.c:23:19: proto.h: Datei oder Verzeichnis nicht gefunden
/daten/software/grass51/include/gis.h:36: warning: `GRASS_copyright'
defined but not used
make[2]: *** [OBJ.i686-pc-linux-gnu/main.o] Fehler 1
make[2]: Verlassen des Verzeichnisses
»/daten/software/grass51/vector/v.net.salesman«
make[1]: *** [subdirs] Fehler 1
make[1]: Verlassen des Verzeichnisses »/daten/software/grass51/vector«
make: *** [default] Fehler 1

maybe another hint ?

Installation now:
GRASS 5.0 and 5.1 from CVS 1 Apr 2003 on Linux

thanks
Otto

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

Radim Blazek schrieb:

Try to remove #include "proto.h" from main.c, the same for Steiner.

OK, thank you

  Otto