Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8221 closed defect (invalid)

Compile error since 0.23 r23736

Reported by: cthauber@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: yes


Ever since r23736 (last successful rev.), one of my frontends is getting a compile error. I have 1 dedicated backend, and 2 virtually identical dedicated frontends (same hardware, installed the same). The problem occurs on 1 of the 2 frontend machines.

main.o: In function `reloadTheme()':
/usr/src/mythtv-0.23/mythtv/programs/mythfrontend/main.cpp:884: undefined reference to `MythMainWindow::SetEffectsEnabled(bool)'
/usr/src/mythtv-0.23/mythtv/programs/mythfrontend/main.cpp:895: undefined reference to `MythMainWindow::SetEffectsEnabled(bool)'
globalsettings.o: In function `AudioOutputDevice':
/usr/src/mythtv-0.23/mythtv/programs/mythfrontend/globalsettings.cpp:50: undefined reference to `GetALSAPCMDevices()'
/usr/src/mythtv-0.23/mythtv/programs/mythfrontend/globalsettings.cpp:50: undefined reference to `GetALSAPCMDevices()'
collect2: ld returned 1 exit status
make[2]: *** [mythfrontend] Error 1
make[2]: Leaving directory `/usr/src/mythtv-0.23/mythtv/programs/mythfrontend'
make[1]: *** [sub-mythfrontend-make_default] Error 2
make[1]: Leaving directory `/usr/src/mythtv-0.23/mythtv/programs'
make: *** [sub-programs-make_default-ordered] Error 2

Actually, the two lines relating to 'GetALSAPCMDevices()' only showed up in the last few days, but the the other errors have been there for a while.

Here is the configure line I am using

./configure --compile-type=release --enable-proc-opt --enable-lirc --disable-joystick-menu --disable-firewire --disable-iptv --disable-hdhomerun --disable-v4l --disable-ivtv --disable-hdpvr --disable-dvb --enable-vdpau --disable-directfb --enable-opengl-video --enable-opengl-vsync

I know some of them are defaults, but I just want to be sure :) Same confure line is used on the working frontend.

And, here is the output of configure

# Basic Settings
Compile type              release
Compiler cache            yes
DistCC                    no
qmake                     /usr/bin/qmake
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86 x86_64 (model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              yes

# Input Support
Joystick menu             no
lirc support              yes
Video4Linux sup.          no
ivtv support              no
HD-PVR support            no
FireWire support          no
DVB support               no [/usr/include]
DVB-S2 support            no
HDHomeRun support         no
IPTV support              no

# Sound Output Support
PulseAudio support        yes
OSS support               yes
ALSA support              yes
JACK support              yes
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          no
XvMC libs                 -lXvMCW -ldl
VDPAU support             yes
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  yes
Fribidi formatting        no
MHEG support              yes

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

I've been pulling my hair out trying to find what is different from the working to non-working computer, but just can't see it.

BTW, this is my first submission, so I hope I did it right :)

Change History (3)

comment:1 Changed 9 years ago by robertm

Resolution: invalid
Status: newclosed

Please seek help on the users list, you need to make clean, or your source is out of date.

comment:2 in reply to:  1 Changed 9 years ago by anonymous

Replying to robertm:

Please seek help on the users list, you need to make clean, or your source is out of date.

Did make clean, and make distclean, and re-pulled the source tree...done it several times now, with the same results. If I pull r23736 it works...anything newer, and I get those errors.

comment:3 Changed 9 years ago by robertm

Ticket locked: set

r23736 is 13 days old-- the code in question was committed in r23794, so many revisions in between will work fine-- Please seek help on the mailing lists (even the dev list). If it turns out to be a real bug, we'll solve it, but this is compiling fine for all polled so far.

You need to revert to *clean*, current source (r23813 or later), rm /usr/{,local/}lib/libmyth*, make distclean, and start from scratch, then if you still have issues, pursue them on the list.

Note: See TracTickets for help on using tickets.