Am Sonntag, 7. Juli 2013 um 16:14:27, schrieb Scott Kostyshak <skost...@lyx.org> > I get the following build error when CMake detects that I have the > required packages to build xvkbd: > > /usr/bin/ld: CMakeFiles/xvkbd.dir/findwidget.c.o: undefined reference > to symbol '_XEditResGet16' > /usr/bin/ld: note: '_XEditResGet16' is defined in DSO
What is DSO? Dynamic shared object -> http://gcc.gnu.org/wiki/Visibility Maybe, the gcc-option '-fvisibility=visible" could help. > /usr/lib/x86_64-linux-gnu/libXmu.so.6 so try adding it to the linker > command line > /usr/lib/x86_64-linux-gnu/libXmu.so.6: could not read symbols: Invalid > operation > collect2: error: ld returned 1 exit status > make[2]: *** [bin/xvkbd] Error 1 > > I never got this error when I was on Ubuntu 12.04 so perhaps the > change to 13.04 and the new versions of libraries lead to this? I can > reproduce this error on a fresh 13.04 install. > > Any ideas? > > Scott Looks like /usr/lib/x86_64-linux-gnu/libXmu.so.6 were invalid. Can you check, e.g. with "nm", "file", etc? Can this lib be used by gcc in some way? # vi x.cpp # g++ -o x x.cpp -lXmu ... # g++ -o x -fvisibility=visible x.cpp -lXmu ... Kornel
signature.asc
Description: This is a digitally signed message part.