[GRASS-dev] G6.4 compilation issue on Debian Jessie: togl.o: undefined reference to symbol 'XUnmapWindow'

Markus Neteler neteler at osgeo.org
Sat Aug 15 12:52:56 PDT 2015


On Tue, Aug 4, 2015 at 6:27 PM, Markus Neteler <neteler at osgeo.org> wrote:
> after the installation of needed compile environment on the new
> grass.osgeo.org VM, I noted this problem:
...
> '/home/neteler/grass64_svn_relbranch_bin_snapshot/grass64_relbranch/visualization/nviz/src'
...
> -Wl,-rpath-link,/home/neteler/grass64_svn_relbranch_bin_snapshot/grass64_relbranch/dist.x86_64-unknown-linux-gnu/lib
>   -o nvwish OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o
> OBJ.x86_64-unknown-linux-gnu/change_view.o
...
> /usr/bin/ld: OBJ.x86_64-unknown-linux-gnu/togl.o: undefined reference
> to symbol 'XUnmapWindow'
> //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO
> missing from command line
> collect2: error: ld returned 1 exit status

ok, found it:

configure \
... \
--with-x --x-libraries=/usr/lib/x86_64-linux-gnu

is needed for configure of G6 on Debian and don't use
CFLAGS="... -Werror-implicit-function-declaration"

After more than one our of trying (grrr!) I eventually found it in
https://trac.osgeo.org/grass/ticket/1684

Now 6.4.svn compiles on grass.osgeo.org (relevant for snapshot and
manual pages).

Markus


More information about the grass-dev mailing list