[GRASSLIST:10634] Re: problems with GIS manager Re: GRASS 6.1cvs gis.m error

Markus Neteler neteler at itc.it
Tue Feb 28 17:43:26 EST 2006


On Tue, Feb 28, 2006 at 10:38:03PM +0000, Glynn Clements wrote:
> 
> Patton, Eric wrote:
> 
> > > > A similar message is produced for every other monitor. I also noticed that
> > > > in the Feb.25th Grass 6.1 binary, there is no monitorcap file in
> > > > $GISBASE/etc. I believe there used to a be a monitorcap file here a few
> > > > weeks ago, because I remember having to remove/overwrite it with the one
> > > > from the gis.m tarfile. Is this normal?
> > > 
> > > No. Do either driver/PNG or driver/XDRIVER exist?
> > 
> > Aha. No, driver/PNG and driver/XDRIVER don't exist. So somehow support for
> > these drivers was excluded recently from the generic linux binaries? Is it a
> > simple task to get support built back in?
> 
> I would guess that compilation simply failed for some reason. I don't
> know if the build process for the snapshots keeps logs which would
> indicate why, or if that even matters now.

Amusingly, I am currently working on this in grass.itc.it :-)
 
> Obviously, if the problem recurs, that indicates an outstanding bug
> which needs to be fixed. Right now, it's probably more important to
> figure out what to do if we end up with a weekly snapshot which is
> substantially broken (like the Feb 25 one).

So:

cat error.log
GRASS GIS compilation log
-------------------------
Started compilation: Tue Feb 28 23:35:01 CET 2006
--
Errors in:
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/PNG
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER

That's why monitorcap is missing.

 
> As it stands, the choice is between 6.0.2, a snapshot which is
> essentially useless, waiting nearly a week for the next snapshot, or
> learning to build GRASS from source (non-trivial, given the number of
> dependencies).

Why not simply bothering the maintainer of grass.itc.it (still a
Redhat 7.3 box)?

Here we are:

bash-2.04$ cd display/drivers/XDRIVER
bash-2.04$ make
gcc -Wl,--export-dynamic  -L/usr/local/lib -L/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/dist.i686-pc-linux-gnu/lib -Wl,-rpath-link,/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/dist.i686-pc-linux-gnu/lib   -o /hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/dist.i686-pc-linux-gnu/driver/XDRIVER  -L/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/dist.i686-pc-linux-gnu/lib OBJ.i686-pc-linux-gnu/Box.o OBJ.i686-pc-linux-gnu/Can_do.o OBJ.i686-pc-linux-gnu/Client.o OBJ.i686-pc-linux-gnu/Color_table.o OBJ.i686-pc-linux-gnu/Color.o OBJ.i686-pc-linux-gnu/Draw_bitmap.o OBJ.i686-pc-linux-gnu/Draw_line.o OBJ.i686-pc-linux-gnu/Draw_point.o OBJ.i686-pc-linux-gnu/Get_w_box.o OBJ.i686-pc-linux-gnu/Get_w_line.o OBJ.i686-pc-linux-gnu/Get_w_pointer.o OBJ.i686-pc-linux-gnu/Graph_close.o OBJ.i686-pc-linux-gnu/Graph_set.o OBJ.i686-pc-linux-gnu/Line_width.o OBJ.i686-pc-linux-gnu/Panel.o OBJ.i686-pc-linux-gnu/Polydots.o OBJ.i686-pc-linux-gnu/Polygon.o OBJ.i686-pc-linux-gnu/Polylin!
 e.o OBJ.i686-pc-linux-gnu/Raster.o OBJ.i686-pc-linux-gnu/Raster_RGB.o OBJ.i686-pc-linux-gnu/Respond.o OBJ.i686-pc-linux-gnu/Serve_Xevent.o OBJ.i686-pc-linux-gnu/Work.o OBJ.i686-pc-linux-gnu/alloc.o OBJ.i686-pc-linux-gnu/main.o -lgrass_driver -lgrass_gis -lgrass_datetime -lz    -lfreetype   -L/usr/X11R6/lib -lSM -lICE -lX11  -lm  -lz
/usr/local/lib/libgrass_driver.a(main.o): In function `main':
main.o(.text+0x40): multiple definition of `main'
OBJ.i686-pc-linux-gnu/main.o:/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/main.c:6: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 301 to 956 in main.o
OBJ.i686-pc-linux-gnu/Color_table.o: In function `init_color_table':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:302: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:302: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:303: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:303: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:304: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:304: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:305: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:305: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:306: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:306: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:307: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:307: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:308: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:308: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:309: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:309: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:310: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:310: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:311: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:311: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:312: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:312: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:313: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:313: undefined reference to `LIB_assign_standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:314: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:314: undefined reference to `LIB_assign_standard_color'
OBJ.i686-pc-linux-gnu/Color_table.o: In function `XD_Color_table_float':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:374: undefined reference to `COM_Can_do_float'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:384: undefined reference to `COM_Color_offset'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:386: undefined reference to `DRV_reset_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:387: undefined reference to `DRV_reset_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:388: undefined reference to `DRV_reset_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:389: undefined reference to `DRV_reset_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:390: undefined reference to `DRV_reset_color'
OBJ.i686-pc-linux-gnu/Color_table.o:/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:391: more undefined references to `DRV_reset_color' follow
OBJ.i686-pc-linux-gnu/Color_table.o: In function `XD_Color_table_fixed':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:408: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:408: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:409: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:409: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:410: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:410: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:411: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:411: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:412: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:412: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:413: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:413: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:414: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:414: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:415: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:415: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:416: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:416: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:417: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:417: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:418: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:418: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:419: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:419: undefined reference to `LIB_assign_fixed_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:420: undefined reference to `DRV_lookup_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color_table.c:420: undefined reference to `LIB_assign_fixed_color'
OBJ.i686-pc-linux-gnu/Color.o: In function `XD_color':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Color.c:25: undefined reference to `DRV_get_table_type'
OBJ.i686-pc-linux-gnu/Graph_set.o: In function `sigint':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Graph_set.c:96: undefined reference to `COM_Graph_close'
OBJ.i686-pc-linux-gnu/Graph_set.o: In function `XD_Graph_set':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Graph_set.c:346: undefined reference to `COM_Can_do_float'
OBJ.i686-pc-linux-gnu/Raster.o: In function `XD_Raster_int':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Raster.c:90: undefined reference to `LIB_get_color_index_array'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Raster.c:94: undefined reference to `DRV_get_table_type'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Raster.c:141: undefined reference to `LIB_get_color_index'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Raster.c:144: undefined reference to `DRV_get_table_type'
OBJ.i686-pc-linux-gnu/Serve_Xevent.o: In function `get_xevent':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Serve_Xevent.c:29: undefined reference to `LIB_command_get_input'
OBJ.i686-pc-linux-gnu/Serve_Xevent.o: In function `service_xevent':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Serve_Xevent.c:82: undefined reference to `COM_Graph_close'
OBJ.i686-pc-linux-gnu/Serve_Xevent.o: In function `handle_resize_event':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Serve_Xevent.c:267: undefined reference to `COM_Standard_color'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Serve_Xevent.c:268: undefined reference to `COM_Erase'
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/Serve_Xevent.c:286: undefined reference to `COM_Set_window'
OBJ.i686-pc-linux-gnu/main.o: In function `main':
/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/display/drivers/XDRIVER/main.c:46: undefined reference to `LIB_main'
/usr/local/lib/libgrass_driver.a(main.o): In function `handle_sigterm':
main.o(.text+0x36): undefined reference to `Graph_Close'
/usr/local/lib/libgrass_driver.a(main.o): In function `main':
main.o(.text+0x1d9): undefined reference to `Graph_Set'
/usr/local/lib/libgrass_driver.a(Clr_table.o): In function `Color_table_float':
Clr_table.o(.text+0x12): undefined reference to `can_do_float'
Clr_table.o(.text+0x4e): undefined reference to `reset_color'
Clr_table.o(.text+0x65): undefined reference to `reset_color'
Clr_table.o(.text+0x95): undefined reference to `reset_color'
Clr_table.o(.text+0xa8): undefined reference to `reset_color'
Clr_table.o(.text+0xbb): undefined reference to `reset_color'
/usr/local/lib/libgrass_driver.a(Clr_table.o)(.text+0xce): more undefined references to `reset_color' follow
/usr/local/lib/libgrass_driver.a(Color.o): In function `Color':
Color.o(.text+0x20): undefined reference to `color'
/usr/local/lib/libgrass_driver.a(Color.o): In function `RGB_color':
Color.o(.text+0x59): undefined reference to `color'
/usr/local/lib/libgrass_driver.a(Color.o): In function `Standard_color':
Color.o(.text+0x1d5): undefined reference to `color'
/usr/local/lib/libgrass_driver.a(command.o): In function `process_command':
command.o(.text+0x3b2): undefined reference to `line_width'
command.o(.text+0x5e9): undefined reference to `Get_location_with_box2'
command.o(.text+0x62e): undefined reference to `Get_location_with_box2'
command.o(.text+0x705): undefined reference to `Get_location_with_line2'
command.o(.text+0x74a): undefined reference to `Get_location_with_line2'
command.o(.text+0x7f8): undefined reference to `Get_location_with_pointer2'
command.o(.text+0x835): undefined reference to `Get_location_with_pointer2'
command.o(.text+0x87d): undefined reference to `Graph_Close'
command.o(.text+0xe2e): undefined reference to `Polygon_abs'
command.o(.text+0x17c1): undefined reference to `Panel_save'
command.o(.text+0x1801): undefined reference to `Panel_restore'
command.o(.text+0x183d): undefined reference to `Panel_delete'
command.o(.text+0x1d5d): undefined reference to `Get_location_with_box2'
command.o(.text+0x1d75): undefined reference to `Get_location_with_line2'
command.o(.text+0x1d8c): undefined reference to `Get_location_with_pointer2'
/usr/local/lib/libgrass_driver.a(connect_sock.o): In function `get_connection_sock':
connect_sock.o(.text+0x10a): undefined reference to `Graph_Close'
/usr/local/lib/libgrass_driver.a(Box_abs.o): In function `Box_abs':
Box_abs.o(.text+0x68): undefined reference to `Polygon_abs'
/usr/local/lib/libgrass_driver.a(Cont_abs.o): In function `Cont_abs':
Cont_abs.o(.text+0x2c): undefined reference to `draw_line'
/usr/local/lib/libgrass_driver.a(Polygn_rel.o): In function `Polygon_rel':
Polygn_rel.o(.text+0x5b): undefined reference to `Polygon_abs'
/usr/local/lib/libgrass_driver.a(Raster_def.o): In function `Raster_int_def':
Raster_def.o(.text+0x26): undefined reference to `color'
/usr/local/lib/libgrass_driver.a(Reset_clrs.o): In function `_float_Reset_color':
Reset_clrs.o(.text+0x1eb): undefined reference to `reset_color'
/usr/local/lib/libgrass_driver.a(Text3.o): In function `draw_bitmap':
Text3.o(.text+0x4f0): undefined reference to `draw_point'
collect2: ld returned 1 exit status
make: *** [/hardmnt/grass0/neteler/grass61_cvs_pserver/grass6/dist.i686-pc-linux-gnu/driver/XDRIVER] Error 1


The PNG driver shows very similar problems. I can post that on
demand as well.

Markus




More information about the grass-user mailing list