← Back to team overview

sslug-teknik team mailing list archive

modul til 2.6 kerne

 

Hej,
Jeg kører fedora 4 og vil gerne have en ny version af ov511 installeret.
Jeg har downloadet kildekoden og gør som der står i README.
Er det mig som er dum, eller gør jeg noget forkert, sinden jeg får al det
brok?

Mvh.,
Christian

[root@dhcp215 ov511-2.28]# vim README
[root@dhcp215 ov511-2.28]# make clean
rm -f *.o *.ko *.mod.* .[a-z]* core *.i
[root@dhcp215 ov511-2.28]# make
    Building OVCam drivers for 2.6 kernel.
    PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
make -C /lib/modules/2.6.14-1.1653_FC4/build SUBDIRS=/root/ov511-2.28 modules
make[1]: Entering directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'
  CC [M]  /root/ov511-2.28/ov511_core.o
/root/ov511-2.28/ov511_core.c: In function ‘i2c_attach_inform’:
/root/ov511-2.28/ov511_core.c:1590: error: ‘TUNER_SET_TYPE’ undeclared (first use in this function)
/root/ov511-2.28/ov511_core.c:1590: error: (Each undeclared identifier is reported only once
/root/ov511-2.28/ov511_core.c:1590: error: for each function it appears in.)
/root/ov511-2.28/ov511_core.c:1608: warning: implicit declaration of function ‘i2c_clientname’
/root/ov511-2.28/ov511_core.c:1608: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
/root/ov511-2.28/ov511_core.c:1613: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
/root/ov511-2.28/ov511_core.c: In function ‘i2c_detach_inform’:
/root/ov511-2.28/ov511_core.c:1628: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
/root/ov511-2.28/ov511_core.c: At top level:
/root/ov511-2.28/ov511_core.c:1655: error: unknown field ‘name’ specified in initializer
/root/ov511-2.28/ov511_core.c:1655: warning: initialization from incompatible pointer type
/root/ov511-2.28/ov511_core.c:1656: error: unknown field ‘id’ specified in initializer
/root/ov511-2.28/ov511_core.c:1656: error: ‘I2C_ALGO_SMBUS’ undeclared here (not in a function)
/root/ov511-2.28/ov511_core.c:1663: error: unknown field ‘name’ specified in initializer
/root/ov511-2.28/ov511_core.c:1663: warning: initialization from incompatible pointer type
/root/ov511-2.28/ov511_core.c:1664: error: unknown field ‘id’ specified in initializer
/root/ov511-2.28/ov511_core.c:1671: warning: implicit declaration of function ‘I2C_DEVNAME’
/root/ov511-2.28/ov511_core.c:1671: error: initializer element is not constant
/root/ov511-2.28/ov511_core.c:1671: error: (near initialization for ‘i2c_adap_template.owner’)
/root/ov511-2.28/ov511_core.c: In function ‘ov51x_mmap’:
/root/ov511-2.28/ov511_core.c:4886: warning: implicit declaration of function ‘remap_page_range’
make[2]: *** [/root/ov511-2.28/ov511_core.o] Error 1
make[1]: *** [_module_/root/ov511-2.28] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'
make: *** [default] Error 2


Follow ups