[mythtv] Problems Compiling SVN under Slackware 11

Brian Buchanan BrianBuchanan at interfast.ca
Mon Jan 8 18:19:51 UTC 2007


I had a nice setup, with a Ubuntu front-end and Slackware Backend, everything
was working fine.

Then I updated the front-end to Edgy, and the new packages for MythTV.

I learned that Edgy's packages are based on 0.20-fixes which is using Protocol
31,  and my backend is using plain old 0.20 (from LinuxPackages.net) and
Protocol 30.

So this set me about downloading from SVN for 0.20-fixes for my backend.

My problem is when it the build process gets to linking libmythtv-0.20.so.0.  ld
takes HOURS.

I am building on a Celeron 400 w/384MB, so I'd expect it to be slow, but 183
minutes linking libmythtv-0.20.so?  Is this typical? (The cel 400 is fine with a
PVR-150, very low CPU usage, watching TV is fine)

Below is what's on my screen, it looks like it builds moc_hdhrsignalmonitor.o
just fine, but sits when linking libmythtv-0.20.so.0.  Top shows >98% cpu usage
by the ld process.

I left it running last night and I think it eventually finished, but I had other
build problems.  (I think the older 0.20 library was getting linked in, but I've
removed it now and trying to build again)

ps of the ld process follows.

distcc -c -pipe -march=pentiumpro -I/opt/kde/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall
-Wno-switch -Wno-non-virtual-dtor -fomit-frame-pointer -I/usr/include/freetype2
-D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE
-DUSING_OSS -DUSING_H264TOOLS -DUSING_XV -DUSING_FRONTEND -DUSING_V4L
-DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_BACKEND
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt/mkspecs/default -I.
-I/usr/local/include -I/usr/X11R6/include -I../.. -I.. -I../libmyth
-I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/lib/qt/include -o
moc_hdhrsignalmonitor.o moc_hdhrsignalmonitor.cpp
rm -f libmythtv-0.20.so.0.20.0 libmythtv-0.20.so libmythtv-0.20.so.0
libmythtv-0.20.so.0.20
ccache distcc g++ -Wl,-rpath,/usr/lib/qt/lib -shared -lfreetype -lz
-Wl,-soname,libmythtv-0.20.so.0 -o libmythtv-0.20.so.0.20.0 cc.o vbi.o hamm.o
lang.o minilzo.o RTjpegN.o programinfo.o proglist.o storagegroup.o RingBuffer.o
ThreadedFileWriter.o previouslist.o dbcheck.o customedit.o remoteutil.o tv.o
recordingtypes.o jobqueue.o filtermanager.o recordingprofile.o remoteencoder.o
videosource.o cardutil.o sourceutil.o cc608decoder.o cc708decoder.o
cc708window.o sr_dialog.o sr_root.o sr_items.o scheduledrecording.o
signalmonitorvalue.o viewschdiff.o livetvchain.o playgroup.o progdetails.o
channeleditor.o channelsettings.o previewgenerator.o transporteditor.o diseqc.o
diseqcsettings.o datadirect.o teletextdecoder.o vbilut.o tspacket.o pespacket.o
mpegtables.o atsctables.o dvbtables.o mpegstreamdata.o atscstreamdata.o
dvbstreamdata.o scanstreamdata.o mpegdescriptors.o atscdescriptors.o
dvbdescriptors.o dishdescriptors.o atsc_huffman.o iso639.o iso6937tables.o
h264utils.o frequencies.o frequencytables.o channelutil.o dtvmultiplex.o
dtvconfparserhelpers.o profilegroup.o xbox.o tv_play.o NuppelVideoPlayer.o
DVDRingBuffer.o textsubtitleparser.o xine_demux_sputext.o decoderbase.o
nuppeldecoder.o avformatdecoder.o ivtvdecoder.o osd.o osdtypes.o osdsurface.o
osdlistbtntype.o osdimagecache.o osdtypeteletext.o udpnotify.o videooutbase.o
videoout_null.o videobuffers.o vsync.o jitterometer.o yuv2rgb.o videoout_ivtv.o
videoout_xv.o XvMCSurfaceTypes.o osdxvmc.o osdchromakey.o xvmctextures.o
util-xvmc.o util-xv.o guidegrid.o infostructs.o progfind.o ttfont.o dsmcc.o
dsmcccache.o dsmccbiop.o dsmccobjcarousel.o interactivetv.o mhi.o blend.o
channelbase.o dtvchannel.o signalmonitor.o dtvsignalmonitor.o scanwizard.o
scanwizardhelpers.o siscan.o dvbconfparser.o scanwizardscanner.o eithelper.o
eitscanner.o eitfixup.o eitcache.o eit.o programdata.o tv_rec.o recorderbase.o
DeviceReadBuffer.o dtvrecorder.o NuppelVideoRecorder.o fifowriter.o channel.o
analogsignalmonitor.o hdtvrecorder.o pchdtvsignalmonitor.o dbox2recorder.o
dbox2channel.o dbox2epg.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 urlfetcher.o timeoutedtaskscheduler.o hdhrsignalmonitor.o
hdhrchannel.o hdhrrecorder.o hdhomerun_pkt.o hdhomerun_discover.o
hdhomerun_video.o hdhomerun_control.o mpegrecorder.o moc_proglist.o
moc_storagegroup.o moc_previouslist.o moc_customedit.o moc_jobqueue.o
moc_recordingprofile.o moc_videosource.o moc_sr_dialog.o moc_sr_root.o
moc_sr_items.o moc_scheduledrecording.o moc_viewschdiff.o moc_playgroup.o
moc_progdetails.o moc_channeleditor.o moc_channelsettings.o
moc_previewgenerator.o moc_transporteditor.o moc_diseqcsettings.o
moc_profilegroup.o moc_xbox.o moc_tv_play.o moc_osd.o moc_osdtypes.o
moc_osdlistbtntype.o moc_osdtypeteletext.o moc_udpnotify.o moc_guidegrid.o
moc_progfind.o moc_signalmonitor.o moc_dtvsignalmonitor.o moc_scanwizard.o
moc_scanwizardhelpers.o moc_siscan.o moc_scanwizardscanner.o moc_tv_rec.o
moc_pchdtvsignalmonitor.o moc_dbox2recorder.o moc_dbox2channel.o moc_dbox2epg.o
moc_iptvsignalmonitor.o moc_iptvchannelfetcher.o moc_urlfetcher.o
moc_hdhrsignalmonitor.o  -L/usr/lib/qt/lib -L../libmyth -L../libavutil
-L../libavcodec -L../libavformat -L../libmythmpeg2 -L../libmythdvdnav
-lmyth-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythdvdnav-0.20
-lmythavformat-0.20 -lmythmpeg2-0.20 -lfreetype -lz -lmp3lame -lasound
-L/opt/kde/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
-L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lXext -lX11 -lm
-lpthread


brian at gateway:~$ ps -Fp 29969 | cat
UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
brian    29969 29968 98  5559 20212   0 09:51 pts/1    03:10:21
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld
--eh-frame-hdr -m elf_i386 -shared -o libmythtv-0.20.so.0.20.0
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../crti.o
/usr/lib/gcc/i486-slackware-linux/3.4.6/crtbeginS.o -L/usr/lib/qt/lib
-L../libmyth -L../libavutil -L../libavcodec -L../libavformat -L../libmythmpeg2
-L../libmythdvdnav -L/opt/kde/lib -L/usr/X11R6/lib
-L/usr/lib/gcc/i486-slackware-linux/3.4.6
-L/usr/lib/gcc/i486-slackware-linux/3.4.6
-L/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/lib
-L/usr/lib/gcc/i486-slackware-linux/3.4.6/../../.. -rpath /usr/lib/qt/lib
-lfreetype -lz -soname libmythtv-0.20.so.0 cc.o vbi.o hamm.o lang.o minilzo.o
RTjpegN.o programinfo.o proglist.o storagegroup.o RingBuffer.o
ThreadedFileWriter.o previouslist.o dbcheck.o customedit.o remoteutil.o tv.o
recordingtypes.o jobqueue.o filtermanager.o recordingprofile.o remoteencoder.o
videosource.o cardutil.o sourceutil.o cc608decoder.o cc708decoder.o
cc708window.o sr_dialog.o sr_root.o sr_items.o scheduledrecording.o
signalmonitorvalue.o viewschdiff.o livetvchain.o playgroup.o progdetails.o
channeleditor.o channelsettings.o previewgenerator.o transporteditor.o diseqc.o
diseqcsettings.o datadirect.o teletextdecoder.o vbilut.o tspacket.o pespacket.o
mpegtables.o atsctables.o dvbtables.o mpegstreamdata.o atscstreamdata.o
dvbstreamdata.o scanstreamdata.o mpegdescriptors.o atscdescriptors.o
dvbdescriptors.o dishdescriptors.o atsc_huffman.o iso639.o iso6937tables.o
h264utils.o frequencies.o frequencytables.o channelutil.o dtvmultiplex.o
dtvconfparserhelpers.o profilegroup.o xbox.o tv_play.o NuppelVideoPlayer.o
DVDRingBuffer.o textsubtitleparser.o xine_demux_sputext.o decoderbase.o
nuppeldecoder.o avformatdecoder.o ivtvdecoder.o osd.o osdtypes.o osdsurface.o
osdlistbtntype.o osdimagecache.o osdtypeteletext.o udpnotify.o videooutbase.o
videoout_null.o videobuffers.o vsync.o jitterometer.o yuv2rgb.o videoout_ivtv.o
videoout_xv.o XvMCSurfaceTypes.o osdxvmc.o osdchromakey.o xvmctextures.o
util-xvmc.o util-xv.o guidegrid.o infostructs.o progfind.o ttfont.o dsmcc.o
dsmcccache.o dsmccbiop.o dsmccobjcarousel.o interactivetv.o mhi.o blend.o
channelbase.o dtvchannel.o signalmonitor.o dtvsignalmonitor.o scanwizard.o
scanwizardhelpers.o siscan.o dvbconfparser.o scanwizardscanner.o eithelper.o
eitscanner.o eitfixup.o eitcache.o eit.o programdata.o tv_rec.o recorderbase.o
DeviceReadBuffer.o dtvrecorder.o NuppelVideoRecorder.o fifowriter.o channel.o
analogsignalmonitor.o hdtvrecorder.o pchdtvsignalmonitor.o dbox2recorder.o
dbox2channel.o dbox2epg.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 urlfetcher.o timeoutedtaskscheduler.o hdhrsignalmonitor.o
hdhrchannel.o hdhrrecorder.o hdhomerun_pkt.o hdhomerun_discover.o
hdhomerun_video.o hdhomerun_control.o mpegrecorder.o moc_proglist.o
moc_storagegroup.o moc_previouslist.o moc_customedit.o moc_jobqueue.o
moc_recordingprofile.o moc_videosource.o moc_sr_dialog.o moc_sr_root.o
moc_sr_items.o moc_scheduledrecording.o moc_viewschdiff.o moc_playgroup.o
moc_progdetails.o moc_channeleditor.o moc_channelsettings.o
moc_previewgenerator.o moc_transporteditor.o moc_diseqcsettings.o
moc_profilegroup.o moc_xbox.o moc_tv_play.o moc_osd.o moc_osdtypes.o
moc_osdlistbtntype.o moc_osdtypeteletext.o moc_udpnotify.o moc_guidegrid.o
moc_progfind.o moc_signalmonitor.o moc_dtvsignalmonitor.o moc_scanwizard.o
moc_scanwizardhelpers.o moc_siscan.o moc_scanwizardscanner.o moc_tv_rec.o
moc_pchdtvsignalmonitor.o moc_dbox2recorder.o moc_dbox2channel.o moc_dbox2epg.o
moc_iptvsignalmonitor.o moc_iptvchannelfetcher.o moc_urlfetcher.o
moc_hdhrsignalmonitor.o -lmyth-0.20 -lmythavutil-0.20 -lmythavcodec-0.20
-lmythdvdnav-0.20 -lmythavformat-0.20 -lmythmpeg2-0.20 -lfreetype -lz -lmp3lame
-lasound -lartsc -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXv
-lXxf86vm -lXrandr -lqt-mt -lXext -lX11 -lpthread -lstdc++ -lm -lgcc_s -lc -lgcc_s

Thanks.




More information about the mythtv-dev mailing list