Hi Andreas On 2013-05-10 13:01:39, Andreas Tille wrote: > Hi, > > I can confirm this problem. > > On Thu, May 09, 2013 at 10:08:57AM +0200, Lucas Nussbaum wrote: > > > > Relevant part: > > > g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat > > > -Werror=format-security -Wl,-z,relro -L/usr/lib -o maqview read_cache.o > > > view_goto.o view_panel.o gl_gui.o MainFrame.o btree.o maqmap_index.o > > > zrio.o stdhashc.o cns_cache.o const.o adler32.o compress.o crc32.o > > > deflate.o gzio.o inffast.o inflate.o infback.o inftrees.o trees.o > > > uncompr.o zutil.o -Wl,-Bstatic -lglut -Wl,-Bdynamic -lGL -lGLU -lm -lX11 > > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libglut.a(libglut_la-freeglut_xinput.o): > > > In function `fgRegisterDevices': > > > (.text+0x74): undefined reference to `XISelectEvents' > > > collect2: error: ld returned 1 exit status > > The missing reference can be found in > > $ strings /usr/lib/x86_64-linux-gnu/libXi.so.6 | grep XISelectEvents > XISelectEvents > > so I added -lXi explicitly as well as added libxi6 to Build-Depends.
You want libxi-dev instead: % dpkg -L libxi-dev | grep libXi.so /usr/lib/x86_64-linux-gnu/libXi.so That's what it is looking for if you add -lXi. Regards -- Sebastian Ramacher
signature.asc
Description: Digital signature