New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29199 (closed defect: fixed)

Opened 2 years ago

Last modified 13 months ago

xine-lib undefined symbol: _dscaler_tomsmocomp_get_method

Reported by: promac@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: xine-lib xine-ui

Description (last modified by macsforever2000@…) (diff)

I managed to compile xine-ui (there was a missing -lXext), but xine-lib has and undefined symbol.

This is the latest macports running on Snow Leopard:

Thanks.


roma: ~$ xine
xiTK WARNING(xitk_set_locale:2181): locale not supported by C library
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.
dyld: lazy symbol binding failed: Symbol not found: _dscaler_tomsmocomp_get_method
  Referenced from: /opt/local/lib/xine/plugins/1.29/post/xineplug_post_tvtime.so
  Expected in: flat namespace

dyld: Symbol not found: _dscaler_tomsmocomp_get_method
  Referenced from: /opt/local/lib/xine/plugins/1.29/post/xineplug_post_tvtime.so
  Expected in: flat namespace

Trace/BPT trap

Attachments

xine-ui-0.99.6.diff (2.0 KB) - added by ryandesign@… 2 years ago.
incomplete patch
main.log (173.0 KB) - added by ryandesign@… 13 months ago.

Change History

comment:1 Changed 2 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Description modified (diff)
  • Port set to xine-lib xine-ui

comment:2 Changed 2 years ago by ryandesign@…

  • Status changed from new to assigned

I can't even build xine-ui 0.99.5, probably because xine-lib has been updated. xine-ui should probably be updated to 0.99.6; unfortunately, I can't build that either. The problem I'm experiencing with 0.99.6 is basically the one described on the mailing list last year, with no response on how to fix it. I'll attach my portfile update attempt in case it helps somebody.

Changed 2 years ago by ryandesign@…

incomplete patch

comment:3 Changed 2 years ago by promac@…

xine ui 0.99.5 built fine for me. If I remember well, I only had to add -lXext in the Makefile in /src/xitk (-lX11 -lXext).

Then, it is just a question of using make.

comment:4 Changed 13 months ago by jmr@…

I think xine-lib 1.2.1 should now be building the plugin that provides that symbol.

Changed 13 months ago by ryandesign@…

comment:5 Changed 13 months ago by ryandesign@…

Building xine-ui 0.99.6 still fails for me. I've attached the new main.log.

comment:6 Changed 13 months ago by jmr@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Since the globals are not explicitly initialised, they are treated as common symbols. For some reason, object files that contain only common symbols are not added to the archive table of contents by ar. I don't know if this is a bug, but adding initialisers fixes the problem in any case.

Updated in r93872.

Note: See TracTickets for help on using tickets.