[Comm] V4Lradio

dmitriy =?iso-8859-1?q?itadmin_=CE=C1_mail=2Eru?=
Вс Мар 12 20:25:41 MSK 2006


Доброго времени суток !
До сих пор боремся с радио FM1256/I H-3 на карточке AVER MEDIA STUDIO 305.
Система ALT LINUX MASTER 2.4 kernel 2.4.26-std-up-alt-6, использую для 
прослушивания Kradio. В логах Kradio выкатывается V4Lradio error setting 
frequency , далее V4Lradio audio caps=63, слышим только шум. На днях нашёл 
исходники V4Lradio, думаю, может ли это исправить ситуацию, если установить 
этот драйвер, в документации по нему мелькают фразы по частоте настроек 
радио. Начинаем компилить V4Lradio, чтобы получить драйвер и получаем ошибку 
компиляции:

[root на localhost v4lradio]# make
gcc -fPIC -Wall -g -O2 -fPIC  -I. -I/usr/lib/ruby/1.6/i386-linux -I. 
-DHAVE_LINUX_VIDEODEV_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_ERRNO_H   -c -o 
v4lradio.o v4lradio.c
v4lradio.c:20:18: ruby.h: No such file or directory
v4lradio.c:31: error: syntax error before "cV4l"
v4lradio.c:31: warning: type defaults to `int' in declaration of `cV4l'
v4lradio.c:31: warning: data definition has no type or storage class
v4lradio.c:32: error: syntax error before "eV4l_not_opened"
v4lradio.c:32: warning: type defaults to `int' in declaration of 
`eV4l_not_opened'
v4lradio.c:32: warning: data definition has no type or storage class
v4lradio.c:34: error: syntax error before "v4l_init"
v4lradio.c:34: error: syntax error before "self"
v4lradio.c:34: warning: return type defaults to `int'
v4lradio.c: In function `v4l_init':
v4lradio.c:35: warning: implicit declaration of function `rb_iv_set'
v4lradio.c:35: error: `self' undeclared (first use in this function)
v4lradio.c:35: error: (Each undeclared identifier is reported only once
v4lradio.c:35: error: for each function it appears in.)
v4lradio.c:35: warning: implicit declaration of function `INT2NUM'
v4lradio.c:40: warning: implicit declaration of function `rb_define_const'
v4lradio.c: At top level:
v4lradio.c:73: error: syntax error before "v4l_set_freq"
v4lradio.c:73: error: syntax error before "self"
v4lradio.c:73: warning: return type defaults to `int'
v4lradio.c: In function `v4l_set_freq':
v4lradio.c:79: error: `VALUE' undeclared (first use in this function)
v4lradio.c:79: error: syntax error before "rfd"
v4lradio.c:82: error: `rfd' undeclared (first use in this function)
v4lradio.c:82: warning: implicit declaration of function `rb_iv_get'
v4lradio.c:82: error: `self' undeclared (first use in this function)
v4lradio.c:84: error: `Qnil' undeclared (first use in this function)
v4lradio.c:85: warning: implicit declaration of function `rb_raise'
v4lradio.c:89: warning: implicit declaration of function `NUM2INT'
v4lradio.c:94: warning: implicit declaration of function `NUM2DBL'
v4lradio.c:94: error: `rfreq' undeclared (first use in this function)
v4lradio.c:112: warning: implicit declaration of function `rb_const_get'
v4lradio.c:112: warning: implicit declaration of function `rb_intern'
v4lradio.c: At top level:
v4lradio.c:139: error: syntax error before "v4l_open"
v4lradio.c:139: error: syntax error before "self"
v4lradio.c:139: warning: return type defaults to `int'
v4lradio.c: In function `v4l_open':
v4lradio.c:145: error: `VALUE' undeclared (first use in this function)
v4lradio.c:145: error: syntax error before "const_freq_max"
v4lradio.c:147: warning: implicit declaration of function `STR2CSTR'
v4lradio.c:147: error: `rname' undeclared (first use in this function)
v4lradio.c:147: warning: assignment makes pointer from integer without a cast
v4lradio.c:151: error: `self' undeclared (first use in this function)
v4lradio.c:155: error: `const_freq_max' undeclared (first use in this 
function)
v4lradio.c:156: error: `const_freq_min' undeclared (first use in this 
function)
v4lradio.c:166: error: `rb_eIOError' undeclared (first use in this function)
v4lradio.c:167: warning: implicit declaration of function `strerror'
v4lradio.c: At top level:
v4lradio.c:186: error: syntax error before "v4l_set_volume"
v4lradio.c:186: error: syntax error before "self"
v4lradio.c:186: warning: return type defaults to `int'
v4lradio.c: In function `v4l_set_volume':
v4lradio.c:190: error: `VALUE' undeclared (first use in this function)
v4lradio.c:190: error: syntax error before "rfd"
v4lradio.c:193: error: `rlvl' undeclared (first use in this function)
v4lradio.c:195: error: `self' undeclared (first use in this function)
v4lradio.c:205: error: `rfd' undeclared (first use in this function)
v4lradio.c:207: error: `Qnil' undeclared (first use in this function)
v4lradio.c: At top level:
v4lradio.c:234: error: syntax error before "v4l_close"
v4lradio.c:234: error: syntax error before "self"
v4lradio.c:234: warning: return type defaults to `int'
v4lradio.c: In function `v4l_close':
v4lradio.c:237: error: `self' undeclared (first use in this function)
v4lradio.c:239: error: `Qnil' undeclared (first use in this function)
v4lradio.c:247: error: `rb_eIOError' undeclared (first use in this function)
v4lradio.c: In function `Init_V4LRadio':
v4lradio.c:256: warning: implicit declaration of function `rb_define_class'
v4lradio.c:256: error: `rb_cObject' undeclared (first use in this function)
v4lradio.c:257: warning: implicit declaration of function `rb_define_method'
v4lradio.c:263: error: `rb_eException' undeclared (first use in this function)
make: *** [v4lradio.o] Ошибка 1
Господа, что делать с этой байдою или я воообще не туда копаю ?????
Хочу радио, уже полгода, как его нету с тех пор, как перешёл с Вендов на 
Linux.
Господа, поможайте, плиз!!!!!  



Подробная информация о списке рассылки community