evening all ive been mustering over this problem all day and after forum searching and google searching im finally giving in. Im having a problem compiling the cx88 driver under slackware 10.2. heres some general system info
lspci
Code:
root@darkstar:/home/echo# lspci
00:00.0 Host bridge: Intel Corporation 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio (rev 02)
01:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
01:09.0 Modem: Smart Link Ltd.: Unknown device 8800 (rev 02)
01:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
lspci -v (tv card only)
Code:
01:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Subsystem: LeadTek Research Inc. Leadtek Winfast 2000XP Expert
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
alright, im running the 2.6.14 kernel, with v4l compiled in and the core stuff that goes with it. heres the problem as i try and compile the cx88 driver
Code:
root@darkstar:/home/echo/cx88-0.0.4# make clean; make
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
make -C /lib/modules/2.6.14/build SUBDIRS=/home/echo/cx88-0.0.4 modules
make[1]: Entering directory `/usr/src/linux-2.6.14'
CC [M] /home/echo/cx88-0.0.4/video-buf.o
CC [M] /home/echo/cx88-0.0.4/v4l1-compat.o
CC [M] /home/echo/cx88-0.0.4/v4l2-common.o
CC [M] /home/echo/cx88-0.0.4/btcx-risc.o
CC [M] /home/echo/cx88-0.0.4/cx88-video.o
/home/echo/cx88-0.0.4/cx88-video.c: In function `cx8800_suspend':
/home/echo/cx88-0.0.4/cx88-video.c:2552: error: too many arguments to function `pci_save_state'
/home/echo/cx88-0.0.4/cx88-video.c: In function `cx8800_resume':
/home/echo/cx88-0.0.4/cx88-video.c:2571: error: too many arguments to function `pci_restore_state'
/home/echo/cx88-0.0.4/cx88-video.c: At top level:
/home/echo/cx88-0.0.4/cx88-video.c:2604: warning: initialization from incompatible pointer type
make[2]: *** [/home/echo/cx88-0.0.4/cx88-video.o] Error 1
make[1]: *** [_module_/home/echo/cx88-0.0.4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14'
make: *** [default] Error 2
any solutions? please help id like to get this working before i go to sleep.
thanks all.