On Fri, 2005-09-30 at 21:36 -0400, Chris Strom wrote:
> With svn 7368, having configured with --disable-backend, I receive the
> following (even after a make distclean):
>
> g++ -o mythepg main.o -L/usr/qt/3/lib -L../../libs/libmyth
> -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
> -L../../libs/libavformat -lmythtv-0.18 -lmythavformat-0.18
> -lmythavutil-0.18 -lmythavcodec-0.18 -lmyth-0.18 -lfreetype -lmp3lame
> -lasound -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lqt-mt -lXext
> -lX11 -lm -lpthread
> ../../libs/libmythtv/libmythtv-0.18.so: undefined reference to
> `SignalMonitor::IsSupported(QString)'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory `/home/cstrom/mythtv/mythtv/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory `/home/cstrom/mythtv/mythtv/programs'
> make: *** [sub-programs] Error 2
> Re-configuring without --disable-backend resolves the problem.
The attached patch should make it work (but I haven't tested it),
so long as the frontend doesn't have a bunch of other 'disable-xx'
flags.
But there is another a problem with using this method on the
frontend anyway, the frontend may not support DVB or V4L when
the backend does.
Could you open a ticket on this and assign it to me? I don't want
to forget it, but I'd like to fix a few other problems first.
-- Daniel
Index: libs/libmythtv/libmythtv.pro
===================================================================
--- libs/libmythtv/libmythtv.pro (revision 7368)
+++ libs/libmythtv/libmythtv.pro (working copy)
@@ -91,7 +91,7 @@
HEADERS += remoteencoder.h videosource.h
HEADERS += sr_dialog.h sr_root.h
HEADERS += sr_items.h scheduledrecording.h
-HEADERS += signalmonitorvalue.h
+HEADERS += signalmonitorvalue.h signalmonitor.h
HEADERS += mpeg/iso639.h
SOURCES += programinfo.cpp proglist.cpp
@@ -103,7 +103,8 @@
SOURCES += remoteencoder.cpp videosource.cpp
SOURCES += sr_dialog.cpp sr_root.cpp
SOURCES += sr_items.cpp scheduledrecording.cpp
-SOURCES += signalmonitorvalue.cpp
+SOURCES += signalmonitorvalue.cpp signalmonitor.cpp
+
SOURCES += mpeg/iso639.cpp
using_frontend {
@@ -184,9 +185,9 @@
using_backend {
# Channel stuff
HEADERS += channelbase.h channelutil.h
- HEADERS += signalmonitor.h dtvsignalmonitor.h
+ HEADERS += dtvsignalmonitor.h
SOURCES += channelbase.cpp channelutil.cpp
- SOURCES += signalmonitor.cpp dtvsignalmonitor.cpp
+ SOURCES += dtvsignalmonitor.cpp
# Channel scanner stuff
HEADERS += scanwizard.h scanwizardhelpers.h
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev