Project

General

Profile

Build failure with current head (descrambler)

Added by Robert Brown over 10 years ago

Hi,

I've decided to start hacking on Tvheadend, I really want to get it working with my analog input from a set-top box. So I'm building the code and getting a linking error:

CC tvheadend
/home/rfbrown/projects/tvheadend/build.linux/src/descrambler/descrambler.o: In function `descrambler_keys':
/home/rfbrown/projects/tvheadend/src/descrambler/descrambler.c:214: undefined reference to `set_odd_control_word'
/home/rfbrown/projects/tvheadend/src/descrambler/descrambler.c:207: undefined reference to `set_even_control_word'
/home/rfbrown/projects/tvheadend/build.linux/src/descrambler/descrambler.o: In function `descrambler_descramble':
/home/rfbrown/projects/tvheadend/src/descrambler/descrambler.c:298: undefined reference to `tvhcsa_descramble'
/home/rfbrown/projects/tvheadend/src/descrambler/descrambler.c:328: undefined reference to `tvhcsa_descramble'
collect2: error: ld returned 1 exit status
Makefile:348: recipe for target '/home/rfbrown/projects/tvheadend/build.linux/tvheadend' failed
make: *** [/home/rfbrown/projects/tvheadend/build.linux/tvheadend] Error 1

The immediate issue is easy to get around, but I'm wondering if (1) my configuration is sensible, and (2) if this indicates a problem that should be fixed. My configure line is:

./configure --disable-cwc --disable-capmt --disable-v4l --enable-linuxdvb --disable-satip_client --enable-iptv --enable-tsfile --enable-dvbscan --enable-timeshift --disable-trace --enable-imagecache --enable-avahi --enable-zlib --disable-libav --enable-inotify --enable-epoll --enable-uriparser --disable-tvhcsa --disable-dvbcsa --disable-kqueue

I'm only using FTA DVB-T, I don't want to re-encode on my Tvheadend box (a wimpy ARM), and I'll enable v4l somewhere in the future.

Could someone please comment on whether I should change my config, or whether you'll welcome a patch to make this config compile?

Thanks,
Rob.


Replies (1)

RE: Build failure with current head (descrambler) - Added by Prof Yaffle over 10 years ago

Well, without working through the configure script, I'm not sure you really need many of those options as many will be enabled by default. And what you appear to have isa clash somewhere - somewhere between cwc, capmt, tvhcsa and dvbcsa would be my guess. Possiby a bug in the logic of things.

I'd simply turn it round... okay, you don't need these things... but does it hurt to have them enabled? I confess to simply using default options 99% of the time, with a single code change to enable transcoding support (which I never actually use, I just feel left out otherwise.

    (1-1/1)