'Twas brillig, and Colin Guthrie at 30/11/11 14:40 did gyre and gimble: > 'Twas brillig, and Olav Vitters at 30/11/11 14:34 did gyre and gimble: >> Is this related to .la files or a buildrequire? I think I finally have >> all the buildrequires solved.. so hope someone could assist: >> >> CCLD libspice-client-gtk-3.0.la >> libtool: link: warning: `/usr/lib64//libcelt051.la' seems to be moved >> .libs/spice-widget.o: In function `get_keyboard_lock_modifiers': >> /home/iurt/rpm/BUILD/spice-gtk-0.7.81-4f76/gtk/spice-widget.c:1735: >> undefined reference to `XGetKeyboardControl' >> .libs/vncdisplaykeymap.o: In function >> `vnc_display_keymap_gdk2xtkbd_table': >> /home/iurt/rpm/BUILD/spice-gtk-0.7.81-4f76/gtk/vncdisplaykeymap.c:153: >> undefined reference to `XkbGetKeyboard' >> /home/iurt/rpm/BUILD/spice-gtk-0.7.81-4f76/gtk/vncdisplaykeymap.c:162: >> undefined reference to `XkbFreeClientMap' >> .libs/vncdisplaykeymap.o: In function `check_for_xquartz': >> /home/iurt/rpm/BUILD/spice-gtk-0.7.81-4f76/gtk/vncdisplaykeymap.c:122: >> undefined reference to `XListExtensions' >> /home/iurt/rpm/BUILD/spice-gtk-0.7.81-4f76/gtk/vncdisplaykeymap.c:130: >> undefined reference to `XFreeExtensionList' >> collect2: ld returned 1 exit status >> >> >> I don't think XkbGetKeyboard could be undefined. >> >> Assistance very welcome :) > > I think it's basically to do with .la files. > > Have a look at the link line immediately preceding this error and see > what libraries it links against.
Looking at the build log, you'll need to do "V=1 make" to see the full link line, then any -lfoo entries should be checked to see if there are /usr/lib[64]/libfoo.la files as mentioned in the last mail. Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/
