LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 12-23-2004, 01:45 AM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
Question module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2


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.
 
Old 11-13-2005, 03:31 PM   #2
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Rep: Reputation: 15
http://home.insightbb.com/~foolsh/

Last edited by foolsh; 04-24-2006 at 02:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no kernel module build environment" Error message during RPM install gotmonkey Linux - Hardware 7 12-07-2007 03:08 AM
Installing Module-Assistant Sleepy_Sentry Ubuntu 4 01-18-2006 09:19 PM
Problem with module-assistant fakesource WoofDeF Debian 1 06-29-2005 09:37 PM
nvidia module-assistant not working Nurdin Debian 2 02-19-2005 02:19 AM
USB Webcam Howto? Problems with OV511 module... Goeland86 Linux - Hardware 14 02-16-2004 12:17 PM


All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration