All right, I'm stumped on a failing step in this process. Running a Raspberry Pi 4 (32GB SD card) with ubuntu server Ubuntu 22.04.2 LTS (jammy) installed.
Problem in: AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static\ --enable-trace\ --enable-debug ./Autobuild.sh
Seems to run properly until I get this:
CC src/rtsp.o
src/rtsp.c: In function ârtsp_describe_decodeâ:
src/rtsp.c:292:23: error: format â%lldâ expects argument of type âlong long int
â, but argument 3 has type âtime_t â {aka âlong int
â} [-Werror=format=]
292 | sscanf(p + 8, "npt=%" PRItime_t "-%" PRItime_t, &hc->hc_rtsp_range_start,
| ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t {aka long int
}
In file included from src/htsmsg.h:21,
from src/hts_strtab.h:22,
from src/tvheadend.h:36,
from src/rtsp.c:21:
/usr/include/inttypes.h:57:41: note: format string is defined here
57 | # define PRId64 PRI64_PREFIX "d"
src/rtsp.c:292:23: error: format â%lldâ expects argument of type âlong long int â, but argument 4 has type âtime_t
â {aka âlong int â} [-Werror=format=]
292 | sscanf(p + 8, "npt=%" PRItime_t "-%" PRItime_t, &hc->hc_rtsp_range_start,
| ^~~~~~~
293 | &hc->hc_rtsp_range_end);
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| time_t
{aka long int }
In file included from src/htsmsg.h:21,
from src/hts_strtab.h:22,
from src/tvheadend.h:36,
from src/rtsp.c:21:
/usr/include/inttypes.h:57:41: note: format string is defined here
57 | # define PRId64
PRI64_PREFIX "d"
src/rtsp.c: In function ârtsp_set_positionâ:
src/rtsp.c:333:30: error: format â%lldâ expects argument of type âlong long intâ, but argument 4 has type âtime_tâ {aka âlong intâ} [-Werror=format=]
333 | snprintf(buf, sizeof(buf), "npt=%" PRItime_t "-", position);
| ^~~~~~~ ~~~~~~~~
| |
| time_t {aka long int}
In file included from src/htsmsg.h:21,
from src/hts_strtab.h:22,
from src/tvheadend.h:36,
from src/rtsp.c:21:
/usr/include/inttypes.h:57:41: note: format string is defined here
57 | # define PRId64
PRI64_PREFIX "d"
cc1: all warnings being treated as errors
make[2]:
* [Makefile:715: /home/mike/build/tvheadend/master/build.linux/src/rtsp.o] Error 1
make[2]: Leaving directory '/home/mike/build/tvheadend/master'
make[1]:
* [debian/rules:15: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/mike/build/tvheadend/master'
make:* [debian/rules:6: build] Error 2
I've hunted high and low on the internet and cannot find anything that would resolve this. Would love to try tvheadend as EyeTV has gone south, NextPVR doesn't run on a Mac very well. What happens when you try to shoehorn a Windows app into a Mac
With Thanks in advance.