Build fails: undefined reference to `hdhomerun_sock_set_recv_buffer_size'
Added by Mark C-S about 7 years ago
Hi!
I'm trying to build TVHeadend, but get the following error message:
/home/user/git/tvheadend/build.linux/hdhomerun/libhdhomerun/libhdhomerun.a(hdhomerun_video.o): In function `hdhomerun_video_create':
hdhomerun_video.c:(.text+0x670): undefined reference to `hdhomerun_sock_set_recv_buffer_size'
collect2: error: ld returned 1 exit status
Makefile:638: recipe for target '/home/user/git/tvheadend/build.linux/tvheadend' failed
make: *** [/home/user/git/tvheadend/build.linux/tvheadend] Error 1
Any idea how I can get past this?
Replies (2)
RE: Build fails: undefined reference to `hdhomerun_sock_set_recv_buffer_size' - Added by Robert Cameron about 7 years ago
You're trying to build support in for HDHomeRun devices, but you don't have the library. Either disable the support when you configure (--disable-hdhomerun_client
), or build and install the library outside of Tvheadend and disable Tvheadend's version of the library (--disable-hdhomerun_static
).
It should also noted that the version of the HDHomeRun library that Tvheadend tries to pull in as part of its build process is quite old and outdated. The current version is 20170815, and available from SiliconDust's website: http://download.silicondust.com/hdhomerun/libhdhomerun_20170815.tgz
RE: Build fails: undefined reference to `hdhomerun_sock_set_recv_buffer_size' - Added by Mark C-S about 7 years ago
Thanks!