Bug #1951
Compile error using spksrc
0%
Description
I get the following compile error when using spksrc to build tvheadend with arch=x86 for my synology nas:
CC src/input/mpegts/mpegts_mux.o
src/input/mpegts/mpegts_mux.c: In function 'mpegts_mux_stop':
src/input/mpegts/mpegts_mux.c:557: error: expected expression before 'else'
src/input/mpegts/mpegts_mux.c: In function 'mpegts_mux_initial_scan_link':
src/input/mpegts/mpegts_mux.c:611: error: expected expression before 'else'
make[2]: *** [/home/as/spksrc/cross/tvheadend/work-x86/tvheadend-git55c2bbb636/build.linux/src/input/mpegts/mpegts_mux.o] Fehler 1
make[2]: Leaving directory `/home/as/spksrc/cross/tvheadend/work-x86/tvheadend-git55c2bbb636'
make[1]: *** [compile_target] Fehler 2
make[1]: Leaving directory `/home/as/spksrc/cross/tvheadend'
make: [arch-x86] Fehler 2 (ignoriert)
Checked out git today. I think it's because of the rather old glibc of the x86 synology architecture. Unfortunately Synology doesn't seem to be interested in updating the toolchain (gcc420_glibc236_x64) to a newer version. :(
Compilation was done using virtual machines running Ubuntu and Debian, which didn't make a difference.
Any way around this?