Opened 14 years ago

Closed 14 years ago

#401 closed defect (fixed)

SignalMonitor::IsSupported and --disable-backend

Reported by: chris.eee@… Owned by: danielk
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

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.

Change History (2)

comment:1 Changed 14 years ago by chris.eee@…

The patch that you sent to the dev group resolved the issue for me - used the following flags:

./configure --disable-audio-arts --disable-audio-jack --disable-backend --disable-joystick-menu --disable-firewire --disable-dbox2 --disable-ivtv --disable-lirc

comment:2 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7373]) Fixes #401.

This moves SignalMonitor::IsSuppored?() from the signalmonitor.cpp to the header, and removes the ifdef's for V4L & DVB. This solves the MacOS X compile problem, and also means the frontend does not need to be compiled with V4L or DVB enabled to enable the "You should be getting video by now" warning dialog.

Note: See TracTickets for help on using tickets.