[mythtv] Virtual thunk errors when creating libmythtv
Nigel Pearson
nigel at ind.tansu.com.au
Thu May 6 20:51:00 EDT 2004
I have gotten most of MythTV-0.15 (CVS from a few days ago)
to build under Mac OS X (only a few config and #ifdef changes req'd).
However, when trying to link the last lib:
c++ -dynamiclib -install_name libmythtv-0.15.0.dylib -o
libmythtv-0.15.0.15.0.dylib cc.o vbi.o hamm.o lang.o commercial_skip.o
frequencies.o guidegrid.o infodialog.o infostructs.o jitterometer.o
minilzo.o NuppelVideoPlayer.o osd.o osdtypes.o programinfo.o
recordingprofile.o remoteencoder.o remoteutil.o RingBuffer.o RTjpegN.o
scheduledrecording.o ttfont.o tv_play.o yuv2rgb.o progfind.o
nuppeldecoder.o avformatdecoder.o recorderbase.o filtermanager.o
proglist.o videooutbase.o videoout_null.o xbox.o dbcheck.o
profilegroup.o udpnotify.o channeleditor.o channelsettings.o
osdsurface.o osdlistbtntype.o blend.o datadirect.o fifowriter.o vsync.o
videosource.o moc_guidegrid.o moc_infodialog.o moc_osd.o moc_osdtypes.o
moc_profilegroup.o moc_recordingprofile.o moc_scheduledrecording.o
moc_tv_play.o moc_progfind.o moc_proglist.o moc_xbox.o moc_udpnotify.o
moc_channeleditor.o moc_channelsettings.o moc_osdlistbtntype.o
moc_videosource.o -L/Volumes/Backups/qt/lib -L../libmyth
-L../libavcodec -L../libavformat -lmyth-0.15 -lmythavcodec-0.15
-lmythavformat-0.15 -lfreetype -lmp3lame -lqt-mt
ld: Undefined symbols:
virtual thunk [v:0,-16] to Configurable::className() const
...
virtual thunk [v:0,-20] to Configurable::qt_cast(char const*)
...
virtual thunk [v:0,-20] to SelectSetting::className() const
et cetera.
Now, I haven't even found a good definition of WTF a
"virtual thunk" is, let alone why library creation is creating one.
There is a message on TrollTech's site about this, but they say
it is to do with static linking, which we are _not_ doing here.
Any suggestions?
--
Nigel Pearson, nigel at ind.tansu.com.au | "People say I'm strange, does it
Telstra BI&D, Sydney, Australia | make me a stranger?
Office: 8255 4222 Fax: 8255 3153 | My best friend was born
Mobile: 0408 664435 Home: 9792 6998 | in a manger" -DC Talk
More information about the mythtv-dev
mailing list