[GRASS-dev] [GRASS GIS] #1713: Error at compilation error located in grass_trunk/visualization/ximgview

GRASS GIS trac at osgeo.org
Thu Apr 3 15:59:23 PDT 2014


#1713: Error at compilation error located in grass_trunk/visualization/ximgview
---------------------------+------------------------------------------------
 Reporter:  pierreroudier  |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  7.0.0                    
Component:  Compiling      |     Version:  svn-trunk                
 Keywords:  ximgview       |    Platform:  Linux                    
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------

Comment(by pierreroudier):

 Replying to [comment:1 neteler]:
 > Is this still an issue?

 (sorry for the delayed reply)

 Yes, still an issue today on Ubuntu 12.04.2 LTS.


 {{{
 Finished compilation: Fri Apr  4 11:19:43 NZDT 2014
 make: *** [default] Error 1
 pierre at roudierp-TECRA-M10:/usr/local/src/grass7_trunk$ cd
 /usr/local/src/grass7_trunk/visualization/ximgview
 pierre at roudierp-
 TECRA-M10:/usr/local/src/grass7_trunk/visualization/ximgview$ make
 : && gcc -L/usr/local/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib
 -L/usr/local/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl
 ,--export-dynamic -Wl,-rpath-link,/usr/local/src/grass7_trunk/dist.x86_64
 -unknown-linux-gnu/lib  -o /usr/local/src/grass7_trunk/dist.x86_64
 -unknown-linux-gnu/bin/ximgview OBJ.x86_64-unknown-linux-gnu/color.o
 OBJ.x86_64-unknown-linux-gnu/main.o    -lgrass_gis.7.1.svn -L -lX11   -lm
 OBJ.x86_64-unknown-linux-gnu/main.o: In function `draw':
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:121: undefined
 reference to `XPutImage'
 OBJ.x86_64-unknown-linux-gnu/main.o: In function `main_loop':
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:156: undefined
 reference to `XPending'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:156: undefined
 reference to `XPending'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:159: undefined
 reference to `XNextEvent'
 OBJ.x86_64-unknown-linux-gnu/main.o: In function `draw':
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:122: undefined
 reference to `XSync'
 OBJ.x86_64-unknown-linux-gnu/main.o: In function `create_window':
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:62: undefined
 reference to `XOpenDisplay'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:72: undefined
 reference to `XCreateWindow'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:81: undefined
 reference to `XMapWindow'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:83: undefined
 reference to `XGetWindowAttributes'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:88: undefined
 reference to `XSetWindowColormap'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:90: undefined
 reference to `XCreateGC'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:93: undefined
 reference to `XCreateImage'
 /usr/local/src/grass7_trunk/visualization/ximgview/main.c:99: undefined
 reference to `XFlush'
 OBJ.x86_64-unknown-linux-gnu/color.o: In function `try_get_grays':
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:191: undefined
 reference to `XAllocColor'
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:192: undefined
 reference to `XFreeColors'
 OBJ.x86_64-unknown-linux-gnu/color.o: In function `try_get_colors':
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:159: undefined
 reference to `XAllocColor'
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:160: undefined
 reference to `XFreeColors'
 OBJ.x86_64-unknown-linux-gnu/color.o: In function `InitColorTableFixed':
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:273: undefined
 reference to `XFreeColormap'
 OBJ.x86_64-unknown-linux-gnu/color.o: In function `ramp_colormap':
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:205: undefined
 reference to `XCreateColormap'
 /usr/local/src/grass7_trunk/visualization/ximgview/color.c:220: undefined
 reference to `XStoreColor'
 collect2: ld returned 1 exit status
 make: *** [/usr/local/src/grass7_trunk/dist.x86_64-unknown-linux-
 gnu/bin/ximgview] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1713#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list