[mythtv-users] gcc 8.3.0 compile 29.1 getting libmythtv-29.so: undefined reference to DVBChannel::Open(DVBChannel*) with --disable-dvb
Tom Dexter
digitalaudiorock at gmail.com
Wed May 29 13:52:49 UTC 2019
I just ran into this today recompiling mythtv on my frontend under
Gentoo...apparently others had this before me:
https://bugs.gentoo.org/683280
The specific error appears to be happening during ld linking mythfrontend:
/usr/lib/gcc/i686-pc-linux-gnu/8.3.0/../../../../i686-pc-linux-gnu/bin/ld:
../../libs/libmythtv/libmythtv-29.so: undefined reference to
`DVBChannel::Open(DVBChannel*)'
collect2: error: ld returned 1 exit status
What's especially odd is that I just compiled this exact ebuild a week
ago yesterday, the primary difference being that that was gcc 8.2.0
and not gcc 8.3.0. I also just verified in the build log that the
configure absolutely did specify --disable-dvb. Here's the configure:
./configure --prefix=/usr --libdir=/usr/lib --libdir-name=lib
--mandir=/usr/share/man --enable-audio-alsa --disable-audio-jack
--disable-audio-pulseoutput --disable-altivec --disable-dvb
--disable-firewire --enable-lirc --enable-libxvid
--dvb-path=/usr/include --enable-xrandr --enable-xv --enable-x11
--enable-nonfree --disable-libcec --disable-libdns-sd
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx
--enable-libass --with-bindings=perl,python --python=python2.7
--compile-type=release --disable-stripping --enable-vdpau
--disable-vaapi --disable-crystalhd --disable-joystick-menu
--enable-symbol-visibility --enable-pic --cpu=pentium4
--disable-distcc --disable-ccache --disable-systemd_notify
--disable-systemd_journal --disable-mythlogserver
As suggested in the bug I'm redoing this with dvb enabled which will
pull in the appropriate headers.
Any idea why this would suddenly happen when it was fine with gcc 8.2.0?
Thanks
Tom
More information about the mythtv-users
mailing list