[mythtv-users] hdhrstreamhandler.cpp problem in build of Master for el7 - but not for F28
John Pilkington
johnpilk222 at gmail.com
Sun Nov 18 11:56:25 UTC 2018
Yesterday I built and installed Master head for Fedora 28. There didn't
seem to be a problem. So I tried building for el7; build failed.
This seems to relate to the recent commit
{{{
https://github.com/MythTV/mythtv/commit/e50d9c7d3a90ad4e877347068cfd913d114fe23c
but at present I don't understand why it didn't affect the f28 build
too. I don't have any homerun devices.
BUILDSTDERR: recorders/hdhrstreamhandler.cpp:23:109: error: 'int
hdhomerun_device_selector_load_from_str(hdhomerun_device_selector_t*,
char*)' was declared 'extern' and later 'static' [-fpermissive]
BUILDSTDERR: static int hdhomerun_device_selector_load_from_str(struct
hdhomerun_device_selector_t *hds, char *device_str);
BUILDSTDERR:
^
BUILDSTDERR: In file included from /usr/include/hdhomerun/hdhomerun.h:32:0,
BUILDSTDERR: from recorders/hdhrstreamhandler.h:29,
BUILDSTDERR: from recorders/hdhrstreamhandler.cpp:14:
BUILDSTDERR: /usr/include/hdhomerun/hdhomerun_device_selector.h:42:20:
error: previous declaration of 'int
hdhomerun_device_selector_load_from_str(hdhomerun_device_selector_t*,
char*)' [-fpermissive]
BUILDSTDERR: extern LIBTYPE int
hdhomerun_device_selector_load_from_str(struct
hdhomerun_device_selector_t *hds, char *device_str);
BUILDSTDERR: ^
BUILDSTDERR: make[2]: *** [obj/hdhrstreamhandler.o] Error 1
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/builddir/build/BUILD/mythtv-26d8d510589d4dc9adf72d14e9837774425faff8/mythtv/libs/libmythtv'
}}}
More information about the mythtv-users
mailing list