From: dmitriy <itadmin@mail.ru> To: community@altlinux.ru Subject: [Comm] V4Lradio Date: Sun, 12 Mar 2006 20:25:41 +0300 Message-ID: <200603122025.41155.itadmin@mail.ru> (raw) Доброго времени суток ! До сих пор боремся с радио 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. Господа, поможайте, плиз!!!!!
next reply other threads:[~2006-03-12 17:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-03-12 17:25 dmitriy [this message] 2006-03-12 17:39 ` Владимир Гусев 2006-03-13 7:23 ` Муратов Олег 2006-03-13 12:09 ` Andrii Dobrovol`s`kii 2006-03-13 17:56 ` Владимир Гусев
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200603122025.41155.itadmin@mail.ru \ --to=itadmin@mail.ru \ --cc=community@altlinux.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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