Linux Unable to compile tvheadend (Debian)
#1
Hi,

I'm on Debian Sid. Trying to compile tvheadend and I have some troubles. First issue is abut libhdhomerun:
Code:
src/input/mpegts/tvhdhomerun/tvhdhomerun.c: In function ‘tvhdhomerun_device_discovery’:                                                                                                                                                                                      
src/input/mpegts/tvhdhomerun/tvhdhomerun.c:346:20: error: implicit declaration of function ‘hdhomerun_discover_find_devices_custom’ [-Werror=implicit-function-declaration]                                                                                                  
   int numDevices = hdhomerun_discover_find_devices_custom(0,                                                                                                                                                                                                                
                    ^                                                                                                                                                                                                                                                        
cc1: all warnings being treated as errors                                                                                                                                                                                                                                    
Makefile:524: polecenia dla obiektu '/home/michal/tvheadend_src/tvheadend-master/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o' nie powiodły się                                                                                                                    
make: *** [/home/michal/tvheadend_src/tvheadend-master/build.linux/src/input/mpegts/tvhdhomerun/tvhdhomerun.o] Błąd 1
So it seems you are using some function not available in libhdhomerun1 20150826-1. After downgrading it to 20140604-2 everything is fine.

I don't need hdhomerun though, so I don't care. So I decided to disable it, but there is another problem (libsdl) that I can not handle:
Code:
/usr/bin/ld: cannot find -lSDL
/usr/bin/ld: cannot find -lSDL
collect2: error: ld returned 1 exit status
Makefile:520: polecenia dla obiektu '/home/michal/tvheadend_src/tvheadend-master/build.linux/tvheadend' nie powiodły się
make: *** [/home/michal/tvheadend_src/tvheadend-master/build.linux/tvheadend] Błąd 1

Obviously, libsdl and libsdl-dev are installed:
Code:
[email protected]:/home/michal# dpkg -l | grep libsdl
ii  libsdl-image1.2:amd64                                       1.2.12-5+b5                           amd64        Image loading library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-mixer1.2:amd64                                       1.2.12-11+b1                          amd64        Mixer library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl-ttf2.0-0:amd64                                       2.0.11-3                              amd64        TrueType Font library for Simple DirectMedia Layer 1.2, libraries
ii  libsdl1.2debian:amd64                                       1.2.15-11                             amd64        Simple DirectMedia Layer
rc  libsdl1.2debian-alsa                                        1.2.14-6.1                            amd64        Simple DirectMedia Layer (with X11 and ALSA options)
ii  libsdl2-2.0-0:amd64                                         2.0.2+dfsg1-7                         amd64        Simple DirectMedia Layer
ii  libsdl2-dev                                                 2.0.2+dfsg1-7                         amd64        Simple DirectMedia Layer development files

What's wrong?
Reply
#2
I'd guess that you have libsdl 1.2 and 2 installed, but only libsdl2-dev. Is there a libsdl1.2-dev?
Reply



Logout Mark Read Team Forum Stats Members Help
Unable to compile tvheadend (Debian)0
This forum uses Lukasz Tkacz MyBB addons.