Am Montag, den 02.08.2010, 19:46 +0800 schrieb PCMan: > Please test the lxinput source code in git and do some final review > for the translations. > If there are no big problems, a new release will be made in days.
I'm having a problem building the package on Fedora. > Making all in src > make[2]: Entering directory `/home/chris/linux/lxde/git/lxinput.work/src' > gcc -DHAVE_CONFIG_H -I. -I.. > -DPACKAGE_DATA_DIR=\""/usr/local/share"/lxinput\" > -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread > -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 > -I/usr/include/freetype2 -I/usr/include/libpng12 > -Werror-implicit-function-declaration -g -O2 -MT lxinput.o -MD -MP -MF > .deps/lxinput.Tpo -c -o lxinput.o lxinput.c > mv -f .deps/lxinput.Tpo .deps/lxinput.Po > gcc -g -O2 -o lxinput lxinput.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 > -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo > -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 > -lrt -lglib-2.0 > /usr/bin/ld: lxinput.o: undefined reference to symbol 'XSetPointerMapping' > /usr/bin/ld: note: 'XSetPointerMapping' is defined in DSO > /usr/lib64/libX11.so.6 so try adding it to the linker command line > /usr/lib64/libX11.so.6: could not read symbols: Invalid operation > collect2: ld gab 1 als Ende-Status zurück > make[2]: *** [lxinput] Fehler 1 > make[2]: Leaving directory `/home/chris/linux/lxde/git/lxinput.work/src' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/home/chris/linux/lxde/git/lxinput.work' > make: *** [all] Fehler 2 You are using symbols from libX11, but you are only linking it indirectly with -as-needed. Fedora > 13 uses --no-add-needed for reasons outlined in http://fedoraproject.org/wiki/UnderstandingDSOLinkChange I had to manually add -lX11 to LDFLAGS but this should of course happen automatically be configure. Regards, Christoph P.S.: We have the same problem with other components too and I hope I find the time to file bugs and provide patches for them. Regards, Christoph ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
