ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] V4Lradio
@ 2006-03-12 17:25 dmitriy
  2006-03-12 17:39 ` Владимир Гусев
  0 siblings, 1 reply; 5+ messages in thread
From: dmitriy @ 2006-03-12 17:25 UTC (permalink / raw)
  To: community

Доброго времени суток !
До сих пор боремся с радио 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.
Господа, поможайте, плиз!!!!!  


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-13 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-12 17:25 [Comm] V4Lradio dmitriy
2006-03-12 17:39 ` Владимир Гусев
2006-03-13  7:23   ` Муратов Олег
2006-03-13 12:09     ` Andrii Dobrovol`s`kii
2006-03-13 17:56     ` Владимир Гусев

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git