[mythtv] Problem building fixes/0.26 when linking libmythtv with lots of messages like: 'yada1' referenced in section 'yada2' of videosource.o: defined in discarded section 'yada3' of videosource.o
Marc Parmet
marc at parmet.com
Tue Jul 9 03:23:00 UTC 2013
My build from source of v0.26.0-212-gcb02cec fails on the link of
libmythtv-0.26.so.0.26.0 with messages like the subject. This is a
shoutout for ideas before I start digging.
My system is a fresh install of Mythbunutu 12.04.2 64-bit. That ships
with 0.25 but I need 0.26 to match my separate backend, so I pulled a
clone of 0.26 and tried a build.
I appreciate any insight, thank you.
Some details:
The output from ./configure:
# Basic Settings
Compile type profile
Compiler cache no
DistCC no
qmake /usr/bin/qmake
install prefix /usr/local
runtime prefix /usr/local
CPU x86 x86_64 (model name : Intel(R) Atom(TM)
CPU D510 @ 1.66GHz)
yasm yes
MMX enabled yes
MMX2 enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
AVX enabled yes
CMOV enabled yes
# Input Support
Joystick menu yes
lirc support yes
libCEC device support no [/usr/include]
Video4Linux sup. yes (v1 no)
ivtv support yes
HD-PVR support yes
FireWire support no
DVB support yes [/usr/include]
DVB-S2 support yes
HDHomeRun support yes
Ceton support yes
IPTV support yes
ASI support no
# Sound Output Support
PulseAudio support no
OSS support yes
ALSA support yes
JACK support no
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support no
xv support no
VDPAU support yes
VAAPI support no
CrystalHD support no
OpenGL video yes
MHEG support yes
libass subtitle support no
# Misc Features
multi threaded libavcodec yes
libxml2 support no [/usr/include/libxml2]
libdns_sd (Bonjour) no
libcrypto no
Frontend yes
Backend yes
OpenGL ES 2.0 no
# Bindings
bindings_perl yes
bindings_python yes
bindings_php yes
# External Codec Options
mp3lame no
faac no
xvid no
x264 no
vpx no
SDL no
The actual error messages:
g++ -m64 -shared -L/usr/lib/x86_64-linux-gnu -lfreetype -lz
-Wl,-soname,libmythtv-0.26.so.0 -o libmythtv-0.26.so.0.26.0 cc.o vbi.o
hamm.o lang.o minilzo.o RTjpegN.o recordinginfo.o dbcheck.o
videodbcheck.o tvremoteutil.o tv.o jobqueue.o filtermanager.o
recordingprofile.o remoteencoder.o videosource.o cardutil.o sourceutil.o
videometadatautil.o vbi608extractor.o cc608decoder.o cc608reader.o
cc708decoder.o cc708reader.o cc708window.o subtitlereader.o
scheduledrecording.o signalmonitorvalue.o livetvchain.o playgroup.o
channelsettings.o previewgenerator.o previewgeneratorqueue.o
transporteditor.o channelgroup.o channelgroupsettings.o
myth_imgconvert.o recordingrule.o mythsystemevent.o avfringbuffer.o
ThreadedFileWriter.o ringbuffer.o fileringbuffer.o streamingringbuffer.o
metadataimagehelper.o diseqc.o diseqcsettings.o datadirect.o
filewriterbase.o avformatwriter.o teletextdecoder.o teletextreader.o
vbilut.o tspacket.o pespacket.o mpegtables.o atsctables.o dvbtables.o
premieretables.o sctetables.o mpegstreamdata.o atscstreamdata.o
dvbstreamdata.o scanstreamdata.o mpegdescriptors.o atscdescriptors.o
dvbdescriptors.o sctedescriptors.o splicedescriptors.o dishdescriptors.o
premieredescriptors.o atsc_huffman.o freesat_huffman.o iso6937tables.o
H264Parser.o frequencies.o frequencytables.o channelutil.o
dbchannelinfo.o dtvmultiplex.o dtvconfparser.o dtvconfparserhelpers.o
scaninfo.o channelimporter.o srtwriter.o dvdringbuffer.o mythdvdplayer.o
avformatdecoderdvd.o bdringbuffer.o mythbdplayer.o avformatdecoderbd.o
bdoverlayscreen.o httplivestream.o httplivestreambuffer.o profilegroup.o
tv_play.o mythplayer.o audioplayer.o mythccextractorplayer.o
teletextextractorreader.o playercontext.o tv_play_win.o deletemap.o
mythcommflagplayer.o commbreakmap.o mythiowrapper.o tvbrowsehelper.o
textsubtitleparser.o xine_demux_sputext.o decoderbase.o nuppeldecoder.o
avformatdecoder.o privatedecoder.o osd.o teletextscreen.o
subtitlescreen.o interactivescreen.o videooutbase.o videoout_null.o
videobuffers.o vsync.o jitterometer.o yuv2rgb.o videodisplayprofile.o
mythcodecid.o videooutwindow.o util-osd.o videocolourspace.o
videovisual.o filters.o goom_core.o graphic.o tentacle3d.o ifs.o
ifs_display.o lines.o surf3d.o zoom_filter_mmx.o zoom_filter_xmmx.o
videovisualgoom.o videoout_vdpau.o videoout_nullvdpau.o util-opengl.o
openglvideo.o videoout_opengl.o DetectLetterbox.o dsmcc.o dsmcccache.o
dsmccbiop.o dsmccobjcarousel.o interactivetv.o mhi.o blend.o
channelbase.o dtvchannel.o signalmonitor.o dtvsignalmonitor.o
inputinfo.o inputgroupmap.o scanwizard.o channelscan_sm.o
channelscanner.o channelscanner_gui.o channelscanner_gui_scan_pane.o
channelscanner_cli.o frequencytablesetting.o inputselectorsetting.o
loglist.o multiplexsetting.o paneanalog.o scanmonitor.o
scanwizardconfig.o eithelper.o eitscanner.o eitfixup.o eitcache.o
programdata.o tv_rec.o recorderbase.o DeviceReadBuffer.o dtvrecorder.o
recordingquality.o importrecorder.o NuppelVideoRecorder.o fifowriter.o
audioinput.o audioinputalsa.o audioinputoss.o v4lrecorder.o v4lchannel.o
analogsignalmonitor.o iptvchannel.o iptvrecorder.o iptvsignalmonitor.o
iptvchannelfetcher.o iptvmediasink.o iptvfeeder.o iptvfeederwrapper.o
iptvfeederrtsp.o iptvfeederudp.o iptvfeederfile.o iptvfeederlive.o
iptvfeederrtp.o timeoutedtaskscheduler.o iptvfeederhls.o
hdhrsignalmonitor.o hdhrchannel.o hdhrrecorder.o hdhrstreamhandler.o
streamhandler.o cetonsignalmonitor.o cetonchannel.o cetonrecorder.o
cetonstreamhandler.o cetonrtp.o cetonrtsp.o mpegrecorder.o dvbtypes.o
dvbchannel.o dvbsignalmonitor.o dvbcam.o dvbrecorder.o
dvbstreamhandler.o dvbci.o moc_jobqueue.o moc_recordingprofile.o
moc_videosource.o moc_playgroup.o moc_channelsettings.o
moc_previewgenerator.o moc_previewgeneratorqueue.o moc_transporteditor.o
moc_channelgroupsettings.o moc_mythsystemevent.o moc_diseqcsettings.o
moc_profilegroup.o moc_tv_play.o moc_tv_play_win.o moc_osd.o
moc_scanwizard.o moc_channelscanner_gui.o
moc_channelscanner_gui_scan_pane.o moc_inputselectorsetting.o
moc_multiplexsetting.o moc_paneatsc.o moc_panedvbutilsimport.o
moc_scanmonitor.o moc_scanwizardconfig.o -L../libmythdvdnav
-lmythdvdnav-0.26 -L../libmythbluray -lmythbluray-0.26 -lvdpau
-L../libmyth -L../../external/FFmpeg/libavutil
-L../../external/FFmpeg/libavcodec -L../../external/FFmpeg/libavformat
-L../../external/FFmpeg/libswscale -L../libmythui -L../libmythupnp
-L../libmythbase -L../libmythservicecontracts -lmyth-0.26 -lmythswscale
-lmythavformat -lmythavcodec -lmythavutil -lmythui-0.26 -lmythupnp-0.26
-lmythbase-0.26 -lmythservicecontracts-0.26 -L../libmythfreemheg
-lmythfreemheg-0.26 -L../libmythlivemedia -lmythlivemedia-0.26
-L../libmythhdhomerun -lmythhdhomerun-0.26 -lXext -lXinerama -lXxf86vm
-lX11 -lmp3lame -lasound -L/usr/lib/x86_64-linux-gnu -lm -luuid -pthread
-lrt -lfreetype -lz -L/usr/X11R6/lib64
-L/home/marc/build/mythtv/mythtv/external/zeromq/src/.libs -lmythzmq
-L/home/marc/build/mythtv/mythtv/external/nzmqt/src -lmythnzmqt
-L/home/marc/build/mythtv/mythtv/external/qjson/lib -lmythqjson -ldl
-L/usr/local/lib -lGL -lpthread -lQtSql -lQtXml -lQtOpenGL -lQtGui
-lQtNetwork -lQtCore
`.text._ZN7SettingD2Ev' referenced in section
`.text._ZN7SettingD1Ev[Setting::~Setting()]' of videosource.o: defined
in discarded section `.text._ZN7SettingD2Ev[_ZN7SettingD5Ev]' of
videosource.o
`.text._ZN15LineEditSettingD2Ev' referenced in section
`.text._ZN15LineEditSettingD1Ev[LineEditSetting::~LineEditSetting()]' of
videosource.o: defined in discarded section
`.text._ZN15LineEditSettingD2Ev[_ZN15LineEditSettingD5Ev]' of videosource.o
`.text._ZN15CheckBoxSettingD2Ev' referenced in section
`.text._ZN15CheckBoxSettingD1Ev[CheckBoxSetting::~CheckBoxSetting()]' of
videosource.o: defined in discarded section
`.text._ZN15CheckBoxSettingD2Ev[_ZN15CheckBoxSettingD5Ev]' of videosource.o
`.text._ZN14SpinBoxSettingD2Ev' referenced in section
`.text._ZN14SpinBoxSettingD1Ev[SpinBoxSetting::~SpinBoxSetting()]' of
videosource.o: defined in discarded section
`.text._ZN14SpinBoxSettingD2Ev[_ZN14SpinBoxSettingD5Ev]' of videosource.o
`.text._ZN26VerticalConfigurationGroupD2Ev' referenced in section
`.text._ZN26VerticalConfigurationGroupD1Ev[VerticalConfigurationGroup::~VerticalConfigurationGroup()]'
of videosource.o: defined in discarded section
`.text._ZN26VerticalConfigurationGroupD2Ev[_ZN26VerticalConfigurationGroupD5Ev]'
of videosource.o
`.text._ZN27TriggeredConfigurationGroupD2Ev' referenced in section
`.text._ZN27TriggeredConfigurationGroupD1Ev[TriggeredConfigurationGroup::~TriggeredConfigurationGroup()]'
of videosource.o: defined in discarded section
`.text._ZN27TriggeredConfigurationGroupD2Ev[_ZN27TriggeredConfigurationGroupD5Ev]'
of videosource.o
`.text._ZN27TriggeredConfigurationGroupD2Ev' referenced in section
`.text._ZN27TriggeredConfigurationGroupD1Ev[TriggeredConfigurationGroup::~TriggeredConfigurationGroup()]'
of videosource.o: defined in discarded section
`.text._ZN27TriggeredConfigurationGroupD2Ev[_ZN27TriggeredConfigurationGroupD5Ev]'
of videosource.o
`.text._ZN22AutoIncrementDBSettingD2Ev' referenced in section
`.text._ZN22AutoIncrementDBSettingD1Ev[AutoIncrementDBSetting::~AutoIncrementDBSetting()]'
of videosource.o: defined in discarded section
`.text._ZN22AutoIncrementDBSettingD2Ev[_ZN22AutoIncrementDBSettingD5Ev]'
of videosource.o
`.text._ZN22AutoIncrementDBSettingD2Ev' referenced in section
`.text._ZN22AutoIncrementDBSettingD1Ev[AutoIncrementDBSetting::~AutoIncrementDBSetting()]'
of videosource.o: defined in discarded section
`.text._ZN22AutoIncrementDBSettingD2Ev[_ZN22AutoIncrementDBSettingD5Ev]'
of videosource.o
`.text._ZN13SelectSettingD2Ev' referenced in section
`.text._ZN13SelectSettingD1Ev[SelectSetting::~SelectSetting()]' of
videosource.o: defined in discarded section
`.text._ZN13SelectSettingD2Ev[_ZN13SelectSettingD5Ev]' of videosource.o
`.text._ZN15ComboBoxSettingD2Ev' referenced in section
`.text._ZN15ComboBoxSettingD1Ev[ComboBoxSetting::~ComboBoxSetting()]' of
videosource.o: defined in discarded section
`.text._ZN15ComboBoxSettingD2Ev[_ZN15ComboBoxSettingD5Ev]' of videosource.o
`.text._ZN13SliderSettingD2Ev' referenced in section
`.text._ZN13SliderSettingD1Ev[SliderSetting::~SliderSetting()]' of
channelsettings.o: defined in discarded section
`.text._ZN13SliderSettingD2Ev[_ZN13SliderSettingD5Ev]' of channelsettings.o
`.text._ZN28HorizontalConfigurationGroupD2Ev' referenced in section
`.text._ZN28HorizontalConfigurationGroupD1Ev[HorizontalConfigurationGroup::~HorizontalConfigurationGroup()]'
of scanwizardconfig.o: defined in discarded section
`.text._ZN28HorizontalConfigurationGroupD2Ev[_ZN28HorizontalConfigurationGroupD5Ev]'
of scanwizardconfig.o
collect2: ld returned 1 exit status
make[2]: *** [libmythtv-0.26.so.0.26.0] Error 1
make[2]: Leaving directory `/home/marc/build/mythtv/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv-make_default] Error 2
make[1]: Leaving directory `/home/marc/build/mythtv/mythtv/libs'
make: *** [libs] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20130708/ca89be1e/attachment.html>
More information about the mythtv-dev
mailing list