[Mageia-dev] spice-gtk submission failure

Colin Guthrie mageia at colin.guthr.ie
Wed Nov 30 15:40:33 CET 2011


'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.

Try to see if any of those libraries have .la files. If they do try to
rebuild them with the .la files removed (the order of rebuild might
matter) and then you should eventually get through it.

This could be indirect fallout from me stripping out various .la files
yesterday to get x11-server to build.

Here is an example of a spec change needed to accomplish the removal of
.la files:
http://svnweb.mageia.org/packages/cauldron/libxaw/current/SPECS/libxaw.spec?r1=84858&r2=174151

Hope that helps

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/


More information about the Mageia-dev mailing list