[GRASS-dev] [GRASS GIS] #1713: Error at compilation error located in grass_trunk/visualization/ximgview
GRASS GIS
trac at osgeo.org
Thu Aug 30 20:00:32 PDT 2012
#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: | Platform: Linux
Cpu: x86-64 |
---------------------------+------------------------------------------------
I can't compile grass7.svn on a fresh Xubuntu 12.04 install. The
compilation error is located in grass_trunk/visualization/ximgview:
roudierp at mangatainoka:/usr/local/src/grass_trunk/visualization/ximgview$
make
: && gcc -L/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
-L/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
-Wl,--export-dynamic
-Wl,-rpath-link,/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-
gnu/lib
-o /usr/local/src/grass_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.0.svn -L -lX11
-lm
OBJ.x86_64-unknown-linux-gnu/main.o: In function `draw':
/usr/local/src/grass_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/grass_trunk/visualization/ximgview/main.c:156:
undefined reference to `XPending'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:156:
undefined reference to `XPending'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:159:
undefined reference to `XNextEvent'
OBJ.x86_64-unknown-linux-gnu/main.o: In function `draw':
/usr/local/src/grass_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/grass_trunk/visualization/ximgview/main.c:62: undefined
reference to `XOpenDisplay'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:72: undefined
reference to `XCreateWindow'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:81: undefined
reference to `XMapWindow'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:83: undefined
reference to `XGetWindowAttributes'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:88: undefined
reference to `XSetWindowColormap'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:90: undefined
reference to `XCreateGC'
/usr/local/src/grass_trunk/visualization/ximgview/main.c:93: undefined
reference to `XCreateImage'
/usr/local/src/grass_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/grass_trunk/visualization/ximgview/color.c:191:
undefined reference to `XAllocColor'
/usr/local/src/grass_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/grass_trunk/visualization/ximgview/color.c:159:
undefined reference to `XAllocColor'
/usr/local/src/grass_trunk/visualization/ximgview/color.c:160:
undefined reference to `XFreeColors'
OBJ.x86_64-unknown-linux-gnu/color.o: In function `InitColorTableFixed':
/usr/local/src/grass_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/grass_trunk/visualization/ximgview/color.c:205:
undefined reference to `XCreateColormap'
/usr/local/src/grass_trunk/visualization/ximgview/color.c:220:
undefined reference to `XStoreColor'
collect2: ld returned 1 exit status
make: *** [/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-
gnu/bin/ximgview]
Error 1
More details in this thread: http://osgeo-org.1560.n6.nabble.com/Problem-
compiling-ximgview-in-the-latest-grass-trunk-td4987855.html
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1713>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list