[winGRASS] Compilation errors

Alain Mazurier alain.mazurier at ago.fr
Wed Mar 5 11:31:07 EST 2003


hi everybody

I have just dowloaded the example "r.example" from
http://grass.itc.it/grassdevel.html
and try to compile it

I did it with success on a Solaris 8 environnement.

On "Wingrass" i have this error message (see the end of this email)

i think it is because i don't have a good library (libgis.a).
I try two kind of library (version Wingrass and version Solaris).

Does somebody have already try it ? Does somebody knows where
i can find a the library i need ?
May be what i want to do is not possible whith Cygwin ?

Thanks and have a nice day

Alain
PS: Sorry for my poor english....


:
/usr/bin/gcc  -o testGrass main.o
/usr/local/grass-5.0b/libCoulinec/libgis.a
main.o(.text+0x1d3):main.c: undefined reference to `_G_gisinit'
main.o(.text+0x1d8):main.c: undefined reference to `_G_define_module'
main.o(.text+0x1ef):main.c: undefined reference to `_G_define_option'
main.o(.text+0x23a):main.c: undefined reference to `_G_define_option'
main.o(.text+0x285):main.c: undefined reference to `_G_define_flag'
main.o(.text+0x2b3):main.c: undefined reference to `_G_parser'
main.o(.text+0x304):main.c: undefined reference to `_G_find_cell2'
main.o(.text+0x320):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x32b):main.c: undefined reference to `_G_legal_filename'
main.o(.text+0x342):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x354):main.c: undefined reference to `_G_raster_map_type'
main.o(.text+0x36c):main.c: undefined reference to `_G_open_cell_old'
main.o(.text+0x388):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x3a1):main.c: undefined reference to `_G_get_cellhd'
main.o(.text+0x3b8):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x3c6):main.c: undefined reference to
`_G_allocate_raster_buf'
main.o(.text+0x3ce):main.c: undefined reference to `_G_window_rows'
main.o(.text+0x3d6):main.c: undefined reference to `_G_window_cols'
main.o(.text+0x3e7):main.c: undefined reference to
`_G_allocate_raster_buf'
main.o(.text+0x3ff):main.c: undefined reference to `_G_open_raster_new'
main.o(.text+0x421):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x458):main.c: undefined reference to `_G_percent'
main.o(.text+0x47b):main.c: undefined reference to `_G_get_raster_row'
main.o(.text+0x492):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x5f3):main.c: undefined reference to `_G_put_raster_row'
main.o(.text+0x60a):main.c: undefined reference to `_G_fatal_error'
main.o(.text+0x61f):main.c: undefined reference to `_G_free'
main.o(.text+0x62a):main.c: undefined reference to `_G_free'
main.o(.text+0x635):main.c: undefined reference to `_G_close_cell'
main.o(.text+0x643):main.c: undefined reference to `_G_close_cell'
collect2: ld returned 1 exit status
make: *** [testGrass] Error 1



--
alain.mazurier at ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
atlantide-brest at ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
atlantide-rennes at ago.fr





More information about the grass-windows mailing list