Почетак › Форуми › Линукс дистрибуције › Mandriva › Софтвер › make-ovanje snapshot-a
- This topic has 2 одговора, 2 гласа, and was last updated 19 years, 7 months раније by sone13.
-
АуторЧланци
-
18. април 2005. у 4:09 pm #5178sone13Учесник
pokusavam da instaliram snapshot:
video4linux-20050403-221421.tar
ali prilikom pokretanja make-a prodju 2-3 modula
a onda cini mi se na bttv-driver.c (a ako njega izbacim ,
tacnije ako izbacim sve osim saa713x, onda na saa7134-cards.c opet
cini mi se) generise se milion errora . Naravno posle toga
ne vredi make install.
Zna li neko resenje ovih muka ❓18. април 2005. у 6:35 pm #27126LYbУчесникVerovatno neko zna, ali ce tesko to shvatiti dok ne napises koji su to errori.
19. април 2005. у 2:52 pm #27127sone13Учесникevo zasto pokusavam da instaliram snapshot – imam mandrake 10.1 community download verziju
i asus tv-fm 7135 karticu. Kompozitni signal (iz kamere) mogu da gledam u npr tvtime-u ali tv prijem nema sanse da proradi (pretpostavljam da nije odgovarajuci tuner driver).E onda iskopam na internetu sledeci sadrzaj:
***************
TVtime works great, radio and kradio work but even after manual fine tuning
known radio channels have a very poor S/R ratio and much distortion. Local
cable radio works fine with a FM tuner.dmesg:
Linux video capture interface: v1.00
saa7130/34: v4l2 driver version 0.2.12 loaded
saa7130/34: snapshot date 2005-03-10 ———= OVO SAM ODMAH UOCIO
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7133[0]: found at 0000:00:07.0, rev: 240, irq: 18, latency: 32, mmio:
0xdffff800
saa7133[0]: subsystem: 1043:4845, board: ASUS TV-FM 7135
[card=53,autodetected] ———= A TAKODJE I OVO
saa7133[0]: board init: gpio is 0
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
tuner 0-004b: chip found @ 0x96 (saa7133[0])
tuner 0-004b: tuner: type set to tda8290+75
saa7133[0]: i2c eeprom 00: 43 10 45 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: 00 ff e2 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 04 08 ff 00 89 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 0-004b: switching to v4l2
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0lspci -vn reports:
00:07.0 Class 0480: 1131:7133 (rev f0)
Subsystem: 1043:4845*********************
Kod mene rezultat je sledeci :
dmesg:
saa7134: Unknown parameter `radio’
saa7130/34: v4l2 driver version 0.2.12 loaded
saa7133[0]: found at 0000:00:0c.0, rev: 240, irq: 16, latency: 32, mmio: 0xe4001000
saa7133[0]: subsystem: 1043:4845, board: UNKNOWN/GENERIC [card=0,autodetected]
saa7133[0]: board init: gpio is 0
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: dsp access wait timeout [bit=WRR]
saa7133[0]: i2c eeprom 00: 43 10 45 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: 00 ff e2 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 04 08 ff 00 89 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0lspci -v:
00:0c.0 Multimedia controller: Philips Semiconductors SAA7133 Audio+video broadcast decoder (rev f0)
Subsystem: Asustek Computer, Inc.: Unknown device 4845
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at e4001000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2*****************
Onda pokupim i ja : video4linux-20050310-100754.tar.gz snapshot sa adrese http://www.bytesex.org.
Raspakujem ga, i krenem :[root@localhost video4linux]# make
make -C /lib/modules/2.6.8.1-10mdkcustom/build SUBDIRS=/opt/video4linux modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk’
CC [M] /opt/video4linux/video-buf.o
CC [M] /opt/video4linux/v4l1-compat.o
CC [M] /opt/video4linux/v4l2-common.o
CC [M] /opt/video4linux/btcx-risc.o
CC [M] /opt/video4linux/ir-common.o
CC [M] /opt/video4linux/bttv-driver.o
In file included from /opt/video4linux/bttv-driver.c:42:
/opt/video4linux/bttvp.h:287: warning: no semicolon at end of struct or union
/opt/video4linux/bttvp.h:287: error: syntax error before ‘*’ token
/opt/video4linux/bttvp.h:371: warning: ‘main’ is usually a function
/opt/video4linux/bttvp.h:393: error: syntax error before ‘}’ token
/opt/video4linux/bttv-driver.c: In function `show_card’:
/opt/video4linux/bttv-driver.c:145: error: dereferencing pointer to incomplete typee ova greska (dereferencing pointer to incomplete type) se posle ponavlja x-hiljada puta i
kad dodje do kraja ovog fajla prekida se dalje kompajliranje. A evo npr. i te 145 linije iz
fajla bttv-driver.c :140 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)
14 1static ssize_t show_card(struct class_device *cd, char *buf)
142 {
143 struct video_device *vfd = to_video_device(cd);
144 struct bttv *btv = dev_get_drvdata(vfd->dev);
145 return sprintf(buf, “%dn”, btv ? btv->c.type : UNSET);
146 }
147 static CLASS_DEVICE_ATTR(card, S_IRUGO, show_card, NULL);
148 #endifa evo i koda iz fajla bttvp.h (npr linija 287):
287 unsigned char __iomem *bt848_mmio; /* pointer to mmio */E jebati ga sad – ideje su mi presusile:
– da li je u pitanju verzija kernela
– da li je u pitanju linux ditribucija (mandrake i koji, redhut ili neki treci)
– da li je u pitanju prevodilac
– da li je izvorni-kod felerican (ali kako onda kod nekoga radi ?)
– da li ….Ako neko ima uputstvo sta da se radi bio bih mu veoma zahvalan, unapred hvala !
-
АуторЧланци
Форум ‘Софтвер’ је закључан за нове теме и одговоре.