
michael at maymann
Nov 21, 2009, 6:33 AM
Post #1 of 1
(254 views)
Permalink
|
|
Re: TechnoTrend S2-1600 ubuntu 8.10 mythtv 0.22 - can't upgrade kernel
|
|
On Sat, 2009-11-21 at 15:32 +0100, Michael Lemstad Maymann wrote: > > Hi David, > > > > thanks for your quick reply :-) > > > > it came a little further, but still exits with errors: > > root [at] t:/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] t:/usr/local/src/scan-s2# echo $? > > 2 > > > > ~Mammoth > > > > On Sat, 2009-11-21 at 12:37 +0000, David Knight wrote: > > > On Sat, November 21, 2009 11:49 am, Michael Lemstad Maymann wrote: > > > > Hi, > > > > > > > > I need to use some kernel-dependent software and therefore can't just upgrade to the latest > > > > mythbuntu 9.10. > > > > > > > > I'm following this guide: > > > > http://www.closetothewind.net/tt-budget-s2-3200-mythtv > > > > > > > > everything works fine uptill scan-s2: > > > > root [at] t:/usr/local/src/scan-s2# uname -r > > > > 2.6.27-7-generic > > > > > > > > root [at] t:/usr/local/src/scan-s2# lspci > > > > 04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) > > > > 04:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) > > > > > > > > root [at] t:/usr/local/src/scan-s2# lsmod | grep dvb > > > > dvb_core 99336 2 budget,budget_core > > > > > > > > root [at] t:/usr/local/src/scan-s2# ls -l /dev/dvb/* > > > > /dev/dvb/adapter0: > > > > total 0 > > > > crw-rw---- 1 root video 212, 0 2009-11-21 12:15 demux0 > > > > crw-rw---- 1 root video 212, 1 2009-11-21 12:15 dvr0 > > > > crw-rw---- 1 root video 212, 3 2009-11-21 12:15 frontend0 > > > > crw-rw---- 1 root video 212, 2 2009-11-21 12:15 net0 > > > > > > > > /dev/dvb/adapter1: > > > > total 0 > > > > crw-rw---- 1 root video 212, 4 2009-11-21 12:15 demux0 > > > > crw-rw---- 1 root video 212, 5 2009-11-21 12:15 dvr0 > > > > crw-rw---- 1 root video 212, 7 2009-11-21 12:15 frontend0 > > > > crw-rw---- 1 root video 212, 6 2009-11-21 12:15 net0 > > > > > > > > but i can't get scan-s2 to compile: > > > > root [at] t:/usr/local/src/scan-s2# make > > > > --include-dir=/usr/local/src/v4l-dvb/linux/include > > > > gcc -I../s2/linux/include -c scan.c -o scan.o > > > > scan.c:51:2: error: #error scan-s2 requires Linux DVB driver API version > > > > 5.0! > > > > make: *** [scan.o] Error 1 > > > > > > > > I then tried s2-liplianin but no luck there either... > > > > > > > > root [at] t:/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:51:2: error: #error scan-s2 requires Linux DVB driver API version > > > > 5.0! > > > > make: *** [scan.o] Error 1 > > > > > > > > ~Mammoth > > > > > > > > > > Hi Mammoth, > > > > > > I found this error to, if you edit scan.c and change the following it > > > should resolve the compile error: > > > > > > Replace all occurences of "if DVB_API_VERSION != 5 || > > > DVB_API_VERSION_MINOR != 0" with "if DVB_API_VERSION !=5 || > > > DVB_API_VERSION_MINOR != 1". > > > > > > Should be line 50 only. > > > > > > Cheers > > > > > > Dave K. > > > > > > > > > _______________________________________________ > > > mythtv-users mailing list > > > mythtv-users [at] mythtv > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
|