[GRASS5] errors building today's NVIZ

Markus Neteler neteler at itc.it
Fri Jan 6 17:38:25 EST 2006


On Fri, Jan 06, 2006 at 10:31:34PM +0100, Maciek Sieczka wrote:
> Bob, All,
> 
> Building today'd Grass 6.1 CVS I have following error whwn compling
> NVIZ:
> 
> maciek at sorbus:~/src/straight/grass6/visualization/nviz$ make
> cd src ; make
> make[1]: Entering directory
> `/home/maciek/src/straight/grass6/visualization/nviz/src'
> gcc -Wl,--export-dynamic -L/home/maciek/src/straight/grass6/dist./lib
> -Wl,-rpath-link,/home/maciek/src/straight/grass6/dist./lib
> -o /home/maciek/src/straight/grass6/dist./bin/nviz OBJ./nvizAppInit.o
> OBJ./change_view.o OBJ./draw.o OBJ./exag.o OBJ./glwrappers.o
> OBJ./init_commands.o OBJ./lights.o OBJ./map_obj.o OBJ./misc.o
> OBJ./nviz_init.o OBJ./position.o OBJ./quick_draw.o OBJ./anim_support.o
> OBJ./cutplane_obj.o OBJ./script_support.o OBJ./do_zoom.o OBJ./label.o
> OBJ./nvizMain.o OBJ./togl.o OBJ./togl_cb.o OBJ./query_vect.o
> OBJ./volume.o OBJ./togl_flythrough.o  -lgrass_ogsf -lgrass_image \
> -lgrass_bitmap -lgrass_linkm -lgrass_vect -lgrass_dig2 -lgrass_dgl
> -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase
> -L/usr/local/lib -lgdal -lgrass_sites  -lgrass_form -lgrass_dbmiclient
> -lgrass_dbmibase  \
> -lgrass_gis -lgrass_datetime -lz    -lm  -lz  \
> -lgrass_datetime   -ltk8.3 -lm  -ltcl8.3 -lm -lGLU  -lGL -lpthread  -lSM
> -lICE -lX11 -lXmu -lXext -lm  -ldl -lz   -L/usr/X11R6/lib  -ltiff  \
>   -lSM -lICE -lX11 -lgrass_g3d
> /usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2eea): In function
> `glXGetMscRateOML':: undefined reference to `XF86VidModeQueryVersion'
> /usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2f1a): In function
> `glXGetMscRateOML':: undefined reference to `XF86VidModeGetModeLine'
> collect2: ld returned 1 exit status
> make[1]: *** [/home/maciek/src/straight/grass6/dist./bin/nviz] Error 1
> make[1]: Leaving directory
> `/home/maciek/src/straight/grass6/visualization/nviz/src'
> make: *** [nvwish] Error 2
> 
> 
> 
> 
> Using Ubuntu Hoary. ./configure was:
> --with-cxx
> --without-odbc
> --enable-largefile
> --with-sqlite
> --with-tcltk-includes="/usr/include/tcl8.3/" "/usr/include/tk8.3/"
> --with-postgres-includes="/usr/include/postgresql/"
> --with-freetype
> --with-freetype-includes="/usr/include/freetype2/"
> 
> 
> 
> The last succesfull Grass 6.1 CVS build on my machine was 2005-11-16.
> 

Maciek,

using google I found this one:

 http://vtk.org/Bug/bug.php?op=show&bugid=1777&pos=0
"VTK build failed due to:

bin/libvtkRendering.so: undefined reference to `XF86VidModeQueryVersion'
bin/libvtkRendering.so: undefined reference to `XF86VidModeGetModeLine'

Those symbols are defined in
/usr/X11R6/lib/libXxf86vm.so.1

Problem #1:
There is no: /usr/X11R6/lib/libXxf86vm.so
Problem #2:
We need to setup proper dependency

Posted by: ******
Date: 11:19 AM 04-18-2005
Need a special package for that:

sudo apt-get install libxxf86vm-dev  

Posted by: ******
Date: 3:16 AM 04-24-2005
Also Assign:

/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libXxf86vm.so

as the new value to the variable: X11_Xext_LIB 
"

Maybe it helps?

 Markus




More information about the grass-dev mailing list