Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#8714 closed defect (fixed)

libmythbluray file_open problem?

Reported by: Nigel Owned by: robertm
Priority: minor Milestone: 0.24
Component: MythTV - Blu-ray Playback Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

OS X build fails like this with 25515 or later:

ld: duplicate symbol _file_open in ../libmythbluray/libmythbluray-0.23.a(navigation.o) and ../libmythbluray/libmythbluray-0.23.a(bluray.o)
^C
% cd libs/libmythbluray
% nm *.o | grep file_open
0000c420 S _file_open
000173c8 S _file_open
00000330 T _configfile_open
         U _file_open_linux
0000106c S _file_open
0000125c D _file_open
00000000 t _file_open_linux
00000820 S _file_open
0000ab20 S _file_open
00006a74 S _file_open
00025d08 S _file_open
00006b30 S _file_open
00005834 S _file_open
% nm -m *.o | grep file_open
0000c420 (__DATA,__common) private external _file_open
000173c8 (__DATA,__common) private external _file_open
00000330 (__TEXT,__text) external _configfile_open
         (undefined [lazy bound]) external _file_open_linux
0000106c (__DATA,__common) private external _file_open
0000125c (__DATA,__data) private external _file_open
00000000 (__TEXT,__text) non-external _file_open_linux
00000820 (__DATA,__common) private external _file_open
0000ab20 (__DATA,__common) private external _file_open
00006a74 (__DATA,__common) private external _file_open
00025d08 (__DATA,__common) private external _file_open
00006b30 (__DATA,__common) private external _file_open
00005834 (__DATA,__common) private external _file_open

Revision 25413 or earlier was fine:

% nm *.o | grep file_open   
         U _file_open_linux
         U _file_open_linux
00000330 T _configfile_open
         U _file_open_linux
00000000 T _file_open_linux
00000820 S _file_open
         U _file_open_linux
         U _file_open_linux
         U _file_open_linux
         U _file_open_linux
% nm -m *.o | grep file_open
         (undefined [lazy bound]) external _file_open_linux
         (undefined [lazy bound]) external _file_open_linux
00000330 (__TEXT,__text) external _configfile_open
         (undefined [lazy bound]) external _file_open_linux
00000000 (__TEXT,__text) private external _file_open_linux
00000820 (__DATA,__common) private external _file_open
         (undefined [lazy bound]) external _file_open_linux
         (undefined [lazy bound]) external _file_open_linux
         (undefined [lazy bound]) external _file_open_linux
         (undefined [lazy bound]) external _file_open_linux

I'm still trying to work out why this happens.

Change History (5)

comment:1 Changed 14 years ago by robertm

Resolution: fixed
Status: newclosed

(In [25532]) libmythbluray: Upstream fix, Mark function pointers file_open and dir_open extern declarations. Possibly fixes #8714?

comment:2 Changed 14 years ago by robertm

Resolution: fixed
Status: closednew

Sorry, accidentally invoked the post-commit close.

comment:3 Changed 14 years ago by robertm

Status: newinfoneeded_new

comment:4 Changed 14 years ago by Nigel

Resolution: fixed
Status: infoneeded_newclosed

All better now. Thanks Robert!

comment:5 Changed 14 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.