[mythtv-users] Update libcec in ubuntu
Michael T. Dean
mtdean at thirdcontact.com
Thu Jan 23 15:36:12 UTC 2014
On 01/23/2014 12:20 AM, Mark Perkins wrote:
>
> I've not put much time into this but I have still been unable to get
> it to work correctly using either method. Looking in the config.ep
> file created at configure time I seem to be getting an error "error:
> 'LibCecInit' was not declared in this scope". I guess that means that
> the Pulse Eight version of libcec does not have a required function?
>
> I think the relevant snippet from config.ep is as follows:
>
> check_cxx -I/usr/local/include
> BEGIN /tmp/mythtv_conf.cerE6zZL.cpp
> 1 #include <libcec/cec.h>
> 2 #include <iostream>
> 3 using namespace std;
> 4 using namespace CEC;
> 5 #include <libcec/cecloader.h>
> 6 int main(void) {
> 7 if (CEC_LIB_VERSION_MAJOR < 1 || (CEC_LIB_VERSION_MAJOR ==
> 1 &&
> 8 CEC_LIB_VERSION_MINOR < 5))
> 9 return 0;
> 10 return (long) LibCecInit;
> 11 }
> END /tmp/mythtv_conf.cerE6zZL.cpp
> ccache g++ -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112
> -D_XOPEN_SOURCE=600 -I/usr/local/include -c -o
> /tmp/mythtv_conf.tRrTzqh8.o /tmp/mythtv_conf.cerE6zZL.cpp
> /tmp/mythtv_conf.cerE6zZL.cpp: In function 'int main()':
> /tmp/mythtv_conf.cerE6zZL.cpp:10:19: error: 'LibCecInit' was not
> declared in this scope
> return (long) LibCecInit;
> ^
>
> (Note in the config.ep file the up chevron on the final line is
> directly below the 'L' in LibCecInit, I guess email formatting is out
> a bit).
>
> I did a search in cec.h for "LibCecInit" and it was not found but I
> don't know if that is actually how things work or not. cecloader.h had
> references to "LibCecInitialise" if that has any relevance (probably not).
>
> Any suggestions appreciated.
You need to use a supported version of libcec to get MythTV's libcec
support (or just use something that actually allows you to do useful
things with CEC, like libcec-daemon)
http://code.mythtv.org/trac/ticket/11338
Mike
More information about the mythtv-users
mailing list