Hi,

As I own a PV951 tuner-card, you can understand my enthusiasm when I
discovered bttv 0.7.28 included full support for it. :-) 

Previous versions worked without a hassle, but support for the remote
control lacked. So I played around with pic16c54.c (which isn't included
in the Makefile; this is on purpose??) but haven't succeeded so far in
actually getting it compiled.


My commandline:
 gcc -D__KERNEL__ -I/usr/src/linux/include -DCPU=686 -DMODULE -DMODVERSIONS 
 -include /usr/src/linux/include/linux/modversions.h -c -o pic16c54.o 
 pic16c54.c

which results in:
 In file included from bttv.h:27,
                  from pic16c54.c:40:
 kcompat24.h:83: warning: `request_region' redefined
 /usr/src/linux/include/linux/modules/ksyms.ver:398: warning: this is the
 locatio n of the previous definition
 pic16c54.c:70: parse error before `WAIT_QUEUE'
 pic16c54.c:70: warning: no semicolon at end of struct or union
 pic16c54.c:73: parse error before `}'
 pic16c54.c: In function `ir_poll_thread':
 pic16c54.c:178: dereferencing pointer to incomplete type
 pic16c54.c:185: dereferencing pointer to incomplete type
 pic16c54.c:186: dereferencing pointer to incomplete type
 pic16c54.c:190: dereferencing pointer to incomplete type
 --- CUT ---

This goes on for some time more. Besides ir_poll_thread(), lirc_poll(),
lirc_close(), lirc_open() and lirc_read() have the same errors. Well,
AFAIK the problem is located in lines 59-70 (struct IR). I haven't
programmed in C for years, so my knowledge is a bit rusty but perhaps one
of the following is the problem:

- shouldn't 'struct semaphore   lock' be 'struct semaphore   *lock'?
  Changing it into that doesn't help however.
- WAIT_QUEUE isn't #defined, but I'm not sure if that's a problem as I'm
  not sure what's the meaning of 'WAIT_QUEUE   wait_poll;' is.

That's what puzzled me, hopefully someone can find the solution. If I had
the time I would love to tackle the problem myself, but that't not the
case right now alas. Maybe in the future I can be of more help. Hopefully
somebody can find the problem, or show me what I'm doing wrong. Finally a
list of my stuff:


 OS: Linux 2.2.15 (patched against I2C for 2.2.14)
 DISTRIBUTION: slackware 7.0
 GLIB: 2.1.2
 COMPILER: egcs 2.91.66


bye,
Alexander
-- 
Paradise is where you are right now, |
only much   much           better    | ICQ: 37691965
 



-- 
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to