[mythtv-users] TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22

David Knight dlknight at sdf.lonestar.org
Sat Nov 21 15:44:12 UTC 2009


On Sat, November 21, 2009 12:45 pm, Michael Lemstad Maymann wrote:
> Hi David,
>
> thanks for your quick reply :-)
>
> it came a little further, but still exits with errors:
> root at tv:/usr/local/src/scan-s2# make
> --include-dir=/usr/local/src/s2-liplianin/linux/include
> gcc -I../s2/linux/include -c scan.c -o scan.o
> scan.c:50: error: expected identifier or ‘(’ before ‘if’
> scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version
> 5.0!
> scan.c:52:2: error: #endif without #if
> scan.c:156: error: field ‘pid’ has incomplete type
> scan.c: In function ‘parse_pat’:
> scan.c:892: error: type of formal parameter 3 is incomplete
> scan.c: At top level:
> scan.c:1541: error: parameter 3 (‘pid’) has incomplete type
> scan.c: In function ‘scan_tp_atsc’:
> scan.c:2494: error: ‘PID_PAT’ undeclared (first use in this function)
> scan.c:2494: error: (Each undeclared identifier is reported only once
> scan.c:2494: error: for each function it appears in.)
> scan.c:2494: error: type of formal parameter 3 is incomplete
> scan.c:2498: error: type of formal parameter 3 is incomplete
> scan.c:2502: error: type of formal parameter 3 is incomplete
> scan.c:2505: error: type of formal parameter 3 is incomplete
> scan.c: In function ‘scan_tp_dvb’:
> scan.c:2525: error: ‘PID_PAT’ undeclared (first use in this function)
> scan.c:2525: error: type of formal parameter 3 is incomplete
> scan.c:2526: error: ‘PID_SDT_BAT_ST’ undeclared (first use in this
> function)
> scan.c:2526: error: type of formal parameter 3 is incomplete
> scan.c:2532: error: ‘PID_NIT_ST’ undeclared (first use in this function)
> scan.c:2532: error: type of formal parameter 3 is incomplete
> scan.c:2539: error: type of formal parameter 3 is incomplete
> make: *** [scan.o] Error 1
> root at tv:/usr/local/src/scan-s2# echo $?
> 2
>
> ~Mammoth
>

Hi Mammoth,

   Looks like you've broken the if statement, it should look like this:

#if DVB_API_VERSION != 5 || DVB_API_VERSION_MINOR != 1
#error scan-s2 requires Linux DVB driver API version 5.0!
#endif

Note that the hash symbols should be there :)

Cheers

Dave K.




More information about the mythtv-users mailing list