Opened 14 years ago

Closed 12 years ago

#29199 closed defect (fixed)

xine-lib undefined symbol: _dscaler_tomsmocomp_get_method

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

Description (last modified by mf2k (Frank Schima))

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 (2)

xine-ui-0.99.6.diff (2.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
incomplete patch
main.log (173.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

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

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: xine-ui-0.99.6.diff added

incomplete patch

comment:3 Changed 14 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 12 years ago by jmroot (Joshua Root)

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

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

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.