Opened 13 years ago

Closed 13 years ago

#2530 closed defect (invalid)

Does not compile on openSuSE 10.1

Reported by: elkin@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hi, the following is the output of trying to get the current svn fixes 0.20 Revision 11428 to compile on openSuSE 10.1... Same code compiles perfectly on SuSE 10.0

make[2]: Entering directory `/usr/local/src/mythtv/mythtv/programs/mythfrontend'
echo 'const char *myth_source_version =' '"'`(svnversion /usr/local/src/mythtv/mythtv 2>/dev/null) || echo Unknown`'";' > .vers.new ; diff .vers.new version.cpp > .vers.diff 2>&1 ; if test -s .vers.diff ; then mv -f .vers.new version.cpp ; fi ; rm -f .vers.new .vers.diff
make[2]: Leaving directory `/usr/local/src/mythtv/mythtv/programs/mythfrontend'
cd mythcommflag && make -f Makefile
make[2]: Entering directory `/usr/local/src/mythtv/mythtv/programs/mythcommflag'
g++  -o mythcommflag main.o CommDetectorFactory.o CommDetectorBase.o Histogram.o ClassicLogoDetector.o ClassicSceneChangeDetector.o ClassicCommDetector.o quickselect.o CommDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector.o FrameAnalyzer.o TemplateFinder.o TemplateMatcher.o HistogramAnalyzer.o BlankFrameDetector.o SceneChangeDetector.o moc_SlotRelayer.o moc_CustomEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBase.o moc_ClassicCommDetector.o   -L/usr/lib/ -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -lasound -L/opt/kde3/lib -lartsc -L/opt/gnome/lib -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -ljack -lraw1394 -liec61883 -lavc1394 -L/usr/lib/ -L/usr/X11R6/lib/ -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
main.o: In function `FlagCommercials(QString, QString)':
main.cpp:(.text+0x2a73): undefined reference to `ProgramInfo::GetRecordFilename(QString const&, bool) const'
collect2: ld returned 1 exit status
make[2]: *** [mythcommflag] Fehler 1
make[2]: Leaving directory `/usr/local/src/mythtv/mythtv/programs/mythcommflag'
make[1]: *** [sub-mythcommflag] Fehler 2
make[1]: Leaving directory `/usr/local/src/mythtv/mythtv/programs'
make: *** [sub-programs] Fehler 2

Anyone any clue what might be broken?

Change History (1)

comment:1 Changed 13 years ago by Anduin Withers

Resolution: invalid
Status: newclosed

Do some legwork and check that it is linking to what is being built rather than what may already be on the system (in other words, check places like /usr/lib, other library paths for existing myth libraries). Use the mail list first.

Note: See TracTickets for help on using tickets.