I don't know much about what I'm doing but I'm trying to install the driver for my webcam, so I did
Code:
apt-get install module-assistant ov511-source
, after that I did
Code:
module-assistant auto-install ov511
but it finished unsuccessfully, got some errors, but I have no idea what to do about them so copied few of the bottom lines of my build log and pasted them into google and tried to find some people with a similar problem but I just came out empty.
Anywhay here is my build log:
Code:
Build log starting, file: /var/cache/modass/ov511-source.buildlog.2.6.8-1-386.1103784172
Date: Thu, 23 Dec 2004 06:42:52 +0000
sed -e "s§KVERS§2.6.8-1-386§g" -e "s§KDREV§2.6.8-10§g" -e "s§KSRC§/usr/src/kernel-headers-2.6.8-1-386§g" -e "s§KEMAIL§§g" -e "s§KMAINT§§g" -e "s§DEBDATE§Thu, 23 Dec 2004 06:42:52 +0000§g" < debian/control.tmpl > debian/control
sed -e "s§KVERS§2.6.8-1-386§g" -e "s§KDREV§2.6.8-10§g" -e "s§KSRC§/usr/src/kernel-headers-2.6.8-1-386§g" -e "s§KEMAIL§§g" -e "s§KMAINT§§g" -e "s§DEBDATE§Thu, 23 Dec 2004 06:42:52 +0000§g" < debian/changelog.tmpl > debian/changelog
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make INCLUDEDIR=/usr/src/kernel-headers-2.6.8-1-386/include
make[1]: Entering directory `/usr/src/modules/ov511'
gcc -c -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/kernel-headers-2.6.8-1-386/include -DEXPORT_SYMTAB ov511.c
ov511.c:47:47: linux/modversions.h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.8-1-386/include/asm/processor.h:18,
from /usr/src/kernel-headers-2.6.8-1-386/include/asm/thread_info.h:16,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/thread_info.h:21,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/spinlock.h:12,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/capability.h:45,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/sched.h:7,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/module.h:10,
from ov511.c:53:
/usr/src/kernel-headers-2.6.8-1-386/include/asm/system.h: In function `__set_64bit_var':
/usr/src/kernel-headers-2.6.8-1-386/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/kernel-headers-2.6.8-1-386/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
ov511.c:64:27: linux/wrapper.h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.8-1-386/include/linux/irq.h:20,
from /usr/src/kernel-headers-2.6.8-1-386/include/asm/hardirq.h:6,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/interrupt.h:12,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/usb.h:15,
from ov511.h:7,
from ov511.c:112:
/usr/src/kernel-headers-2.6.8-1-386/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/kernel-headers-2.6.8-1-386/include/asm/hardirq.h:6,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/interrupt.h:12,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/usb.h:15,
from ov511.h:7,
from ov511.c:112:
/usr/src/kernel-headers-2.6.8-1-386/include/linux/irq.h: At top level:
/usr/src/kernel-headers-2.6.8-1-386/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/kernel-headers-2.6.8-1-386/include/linux/irq.h:72,
from /usr/src/kernel-headers-2.6.8-1-386/include/asm/hardirq.h:6,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/interrupt.h:12,
from /usr/src/kernel-headers-2.6.8-1-386/include/linux/usb.h:15,
from ov511.h:7,
from ov511.c:112:
/usr/src/kernel-headers-2.6.8-1-386/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/kernel-headers-2.6.8-1-386/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
ov511.c: In function `rvmalloc':
ov511.c:448: warning: implicit declaration of function `mem_map_reserve'
ov511.c: In function `rvfree':
ov511.c:466: warning: implicit declaration of function `mem_map_unreserve'
ov511.c: In function `request_decompressor':
ov511.c:3651: warning: implicit declaration of function `__MOD_INC_USE_COUNT'
ov511.c: In function `release_decompressor':
ov511.c:3674: warning: implicit declaration of function `__MOD_DEC_USE_COUNT'
ov511.c: In function `ov51x_init_isoc':
ov511.c:4547: warning: assignment from incompatible pointer type
ov511.c: In function `ov518_configure':
ov511.c:6677: warning: initialization from incompatible pointer type
ov511.c:6678: error: structure has no member named `wMaxPacketSize'
ov511.c: In function `ov51x_probe':
ov511.c:6782: warning: assignment from incompatible pointer type
ov511.c:7096: error: initializer element is not constant
ov511.c:7096: error: (near initialization for `ov511_driver.disconnect')
ov511.c: In function `ov511_register_decomp_module':
ov511.c:7152: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/kernel-headers-2.6.8-1-386/include/linux/module.h:555)
ov511.c: In function `ov511_deregister_decomp_module':
ov511.c:7179: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/kernel-headers-2.6.8-1-386/include/linux/module.h:567)
ov511.c: In function `ov51x_probe':
ov511.c:7218: error: initializer element is not constant
ov511.c:7218: error: (near initialization for `__ksymtab_ov511_register_decomp_module.value')
ov511.c:7219: error: initializer element is not constant
ov511.c:7219: error: (near initialization for `__ksymtab_ov511_deregister_decomp_module.value')
ov511.c:7219: error: parse error at end of input
ov511.c:287: warning: `ov511_driver' defined but not used
make[1]: *** [ov511.o] Error 1
make[1]: Leaving directory `/usr/src/modules/ov511'
make: *** [build-stamp] Error 2
Any help is much appreciated.