tvh for openwrt x86_64 Problem feedback。
I want to submit a question that I don't know if it's BUG.
My environment is openwrt x86 64
TVH started in February 14th, and the version of commit 2bac408f30e0dc9d8d35480ccce19cd3ebd2336b (it's OK) was abnormal in openwrt environment.
After repeated testing, this is the last version that can be used normally.
2.14, ae2c76c7886dbec3c2d420b734659ce97a62fc72 compilation failed.
Src/epg.c: In function'epg_broadcast_serialize':
Src/epg.c:1481:10: error:'a'may be used uninitialized in this function [-Werror=maybe-uninitialized].
If (a) htsmsg_add_msg (m, "genre", a);
Most versions in the future cannot work properly, one is compilation errors.
The two is that we cannot execute executable files, such as no hints, but the file process is not running. Two is the next kind of hint.
Apr 8 20184fe0af0e8d9e47b1bbae5599bea09a772325a9f9
This is a version a few days ago. After being compiled in normal environment, the following error occurred in the execution file.
I once thought it was a problem with iconv. After changing the 1.15 version of libiconv for openwrt, the compiler can be passed, but there is no error prompt after execution. Dmesg also doesn't have any information available. It's just that the process has not been carried out.
Updated by shengkun zang over 4 years ago
Jaroslav Kysela wrote:
Give us a clear explanation of your problems for the latest 4.3 code (v4.3-1234-g78081ea95). Gather compilation errors or logs if tvh can be compiled.
[email protected]:/usr/bin# ./tvheadend
2018-04-14 15:46:47.485 [ INFO] main: Log started
2018-04-14 15:46:47.486 [ INFO] http: Starting HTTP server 0.0.0.0:9981
2018-04-14 15:46:47.486 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982
2018-04-14 15:46:47.586 [ INFO] config: loaded
2018-04-14 15:46:47.586 [ INFO] config: scanfile (re)initialization with path <none>
2018-04-14 15:46:47.586 [ ERROR] main: iconv() routine is not working properly ((null)), aborting!
Updated by Robert K over 3 years ago
Jaroslav Kysela wrote:
The problem is in the used iconv library which does not work properly:
I'm getting the same "*iconv() routine is not working properly*" error compiling it in Alpine Linux. It compiles successfully, but when the compiled binary is launched it crashes with that error. Where can I find the iconv version used in my system??