Opened 18 years ago
Closed 18 years ago
#2213 closed defect (fixed)
mythtranscode fails to compile on Mac OS X after upgrading to XCode 2.4
Reported by: | Owned by: | Nigel | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | nigel@… | Ticket locked: | no |
Description
transcode.cpp fails to compile after upgrading to Mac OS X due to issues with the use of always_inline (see also Ticket #2212)
Attached patch changes the include order in transcode.cpp to avoid the problems.
Attachments (1)
Change History (6)
Changed 18 years ago by
Attachment: | transcode.cpp.diff added |
---|
comment:1 Changed 18 years ago by
Owner: | changed from Isaac Richards to Nigel |
---|
comment:2 Changed 18 years ago by
Status: | new → assigned |
---|
The patch rectifies the compile error in libmythtv, but the build then goes on to have link (template closure?) issues in libmythui:
g++ -headerpad_max_install_names -Wl,-search_paths_first -prebind -dynamiclib -seg1addr 0xCC000000 -compatibility_version 0.19 -current_version 0.19.0 -install_name libmythui-0.19.0.dylib -o libmythui-0.19.0.19.0.dylib mythmainwindow.o mythpainter.o mythimage.o myththemebase.o mythpainter_qt.o xmlparsebase.o mythscreenstack.o mythscreentype.o mythgesture.o mythuitype.o mythuiimage.o mythuitext.o mythuistatetype.o mythlistbutton.o mythfontproperties.o mythuibutton.o myththemedmenu.o mythdialogbox.o moc_mythmainwindow.o moc_mythuitype.o moc_mythlistbutton.o moc_myththemedmenu.o moc_mythdialogbox.o -L/Volumes/MythOSXbuild/.osx-packager/src/qt-mac-free-3.3.6/lib -L/usr/lib -L/Volumes/MythOSXbuild/.osx-packager/build/lib -L../libmyth -lmyth-0.19 -framework Carbon -framework OpenGL -lqt-mt ld: warning prebinding disabled because dependent library: libmyth-0.19.0.dylib is not prebound ld: Undefined symbols: __ZTI14QPtrCollection __ZTI6QEvent __ZTI6QGDict __ZTI7QGArray __ZTI7QWidget __ZTI7QObject /usr/bin/libtool: internal link edit command failed
XCode 2.4 is just looking like bad news at the moment :-(
comment:3 Changed 18 years ago by
comment:4 Changed 18 years ago by
Spoke too soon - the mhi.h change was necessary, and because I wasn't going --enable-backend, I didn't see the transcode error.
Note: See
TracTickets for help on using
tickets.
patch to transcode.cpp to rearrange header include order to avoid 'always_inline errors'