[mdk-re] Больной вопрос

Vital Khilko =?iso-8859-1?q?dojlid_=CE=C1_tut=2Eby?=
Ср Авг 22 08:07:01 MSD 2001


Люди хто-нить ставил lirc 0.6.3 на bttv, ничё не получается...
Читаю доку и делаю так:

1. ./setup.sh
    выбіраю свою карточку Prolink - PixelView PlayTV pro
2. make
...
irrecord.c: In function `logprintf':
irrecord.c:130: warning: implicit declaration of function `time'
irrecord.c:131: warning: implicit declaration of function `ctime'
irrecord.c:131: warning: assignment makes pointer from integer without a cast
irrecord.c: At top level:
config_file.h:26: warning: `all_flags' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -g -Wall -c dump_config.c
dump_config.c: In function `fprint_comment':
dump_config.c:25: warning: implicit declaration of function `time'
dump_config.c:26: warning: implicit declaration of function `localtime'
dump_config.c:26: warning: assignment makes pointer from integer without a 
cast
dump_config.c:37: warning: implicit declaration of function `asctime'
dump_config.c:38: warning: format argument is not a pointer (arg 5)
......
config_file.h:26: warning: `all_flags' defined but not used
/bin/sh ../libtool --mode=link gcc  -O2 -g -Wall  -o lircd  lircd.o 
ir_remote.o config_file.o hw_default.o receive.o transmit.o    
gcc -O2 -g -Wall -o lircd lircd.o ir_remote.o config_file.o hw_default.o 
receive.o transmit.o
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -g -Wall -c lircmd.c
lircmd.c: In function `loop':
lircmd.c:668: warning: use of `*' and `q' together in format
/bin/sh ../libtool --mode=link gcc  -O2 -g -Wall  -o lircmd  lircmd.o  
gcc -O2 -g -Wall -o lircmd lircmd.o
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -c  -fPIC -DPIC lirc_client.c 
-o .libs/lirc_client.lo
lirc_client.c: In function `lirc_code2char':
lirc_client.c:1122: warning: use of `*' and `q' together in format
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -c lirc_client.c -o 
lirc_client.o >/dev/null 2>&1
mv -f .libs/lirc_client.lo lirc_client.lo
/bin/sh ../libtool --mode=link gcc  -O2 -g -Wall  -o liblirc_client.la -rpath 
/usr/local/lib  lirc_client.lo  
rm -fr .libs/liblirc_client.la .libs/liblirc_client.* .libs/liblirc_client.*

c ругонью, но без ошибок
3. make install
    установил
4. прописал modules.conf
... 
# Наладка video4linux

# I2C

 alias    char-major-89     i2c-dev
 options  i2c-core          i2c_debug=1
 options  i2c-algo-bit      bit_test=1

# BTTV (PixelView PlayTV Pro)

 alias   char-major-81        videodev
 alias   char-major-81-0      bttv
 options bttv                 card=37 tuner=1 radio=1
 options tuner                debug=1
 
# Наладка пульту аддаленага кіраваньня
 alias char-major-61  lirc_gpio
 options              lirc_gpio gpio_mask=0x1f00 gpio_lock_mask=0x8000 
  gpio_xor_mask=0 soft_gap=400 sample_rate=12  
  
# Наладка гукавага адаптару (Vortex II AU8830)
...
5. chmod 666 /dev/lircd
6. ./mode2
 ... а в ответ:
 This program is only intended for receivers supporting the pulse/space layer.
Note that this is no error, but this program simply makes no sense for your
receiver.

дык вопрос, а как с этим боротся? што ей не так?
--------------------------------------------------------
Z pazhadan'nem pos'pehaw, Vital Khilko
Mensk, Belarus





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