ov511
Hello debian-user-polish,
Witam grupowiczow!
Wczesniej juz na grupie wspominalem ze mam kamerke usb Chicony
TwinkleCam PRO i prosilem o wskazowki odnosnie instalacji.
Znalazlem informacje iz "gra" ona na poprawionym module ov511 ktory
to tzeba sobie "dograc" ze stronki projektu http://alpha.dyndns.org/ov511
Jadro mam wersji 2.4.26 (kernel image + kernel headers)
No i po wykonaniu "make" mam oto:
zst2:/home/przemek/ov511-2.27# make
grep: /lib/modules/2.4.26/build/include/linux/autoconf.h: No such file or directory
gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/`uname -r`/build/include -DCONFIG_OV511_DECOMP -DCONFIG_OV518_DECOMP -o ov511_core.o ov511_core.c
In file included from /lib/modules/2.4.26/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.26/build/include/linux/list.h:6,
from /lib/modules/2.4.26/build/include/linux/module.h:12,
from ov511_core.c:37:
/lib/modules/2.4.26/build/include/asm/processor.h:75: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.26/build/include/asm/smp.h:17,
from /lib/modules/2.4.26/build/include/linux/smp.h:14,
from /lib/modules/2.4.26/build/include/linux/sched.h:23,
from /lib/modules/2.4.26/build/include/linux/vmalloc.h:4,
from ov511_core.c:39:
/lib/modules/2.4.26/build/include/asm/mpspec.h:205: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.26/build/include/asm/mpspec.h:205: size of array `quad_local_to_mp_bus_id' has non-integer type
In file included from /lib/modules/2.4.26/build/include/asm/smp.h:21,
from /lib/modules/2.4.26/build/include/linux/smp.h:14,
from /lib/modules/2.4.26/build/include/linux/sched.h:23,
from /lib/modules/2.4.26/build/include/linux/vmalloc.h:4,
from ov511_core.c:39:
/lib/modules/2.4.26/build/include/asm/apic.h:88: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.26/build/include/linux/smp.h:14,
from /lib/modules/2.4.26/build/include/linux/sched.h:23,
from /lib/modules/2.4.26/build/include/linux/vmalloc.h:4,
from ov511_core.c:39:
/lib/modules/2.4.26/build/include/asm/smp.h:66: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.26/build/include/asm/smp.h:68: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.26/build/include/linux/vmalloc.h:4,
from ov511_core.c:39:
/lib/modules/2.4.26/build/include/linux/sched.h:366: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.26/build/include/linux/sched.h:366: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.26/build/include/linux/sched.h:528: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.26/build/include/linux/highmem.h:5,
from /lib/modules/2.4.26/build/include/linux/vmalloc.h:8,
from ov511_core.c:39:
/lib/modules/2.4.26/build/include/asm/pgalloc.h:228: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.26/build/include/asm/smplock.h:9,
from /lib/modules/2.4.26/build/include/linux/smp_lock.h:16,
from ov511.h:16,
from ov511_core.c:59:
/lib/modules/2.4.26/build/include/linux/interrupt.h:137: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.26/build/include/linux/interrupt.h:138: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from ovcamchip.h:20,
from ov511.h:20,
from ov511_core.c:59:
compat.h:53: redefinition of `video_get_drvdata'
/lib/modules/2.4.26/build/include/linux/videodev.h:71: `video_get_drvdata' previously defined here
compat.h:58: redefinition of `video_set_drvdata'
/lib/modules/2.4.26/build/include/linux/videodev.h:76: `video_set_drvdata' previously defined here
compat.h:63: warning: static declaration for `video_device_alloc' follows non-static
compat.h:74: warning: static declaration for `video_device_release' follows non-static
make: *** [ov511_core.o] Error 1
zst2:/home/przemek/ov511-2.27#
I nie wiem co z tym fantem zrobic. Bardzo bym chcial odpalic wreszcie
te kamerke..
Czy ktos moze poratowac mnie jakimis wskazowkami?
Z gory bardzo dziekuje!
--
Best regards,
pszemaz[wp] mailto:pszemaz@wp.pl
Reply to:
- Follow-Ups:
- Re: ov511
- From: pawciobiel <pawciobiel@kozmianet.kom.pl>