Menu

#45 emerge and compile on kernel.org 2.6.4

open
nobody
None
5
2004-04-08
2004-04-08
Anonymous
No

Same error with the current cvs. I tried some tricks people suggested
for other drivers that have a similar error with no luck.

Emerging qc-usb-0.5.1 and compiling 0.6.0 on gentoo (will try cvs
next) with a vanilla 2.6.4 kernel I get:

peckwood@xev qc-usb-0.6.0 $ make clean && make all
which: no depmod in
(/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3
.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1
/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/games/bin) rm -f *.o qcset
show *~ .\#* .*.cmd *.mod.c *.ko which: no depmod in
(/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3
.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1
/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/games/bin) make -C
"/lib/modules/2.6.4/build" SUBDIRS="/home/peckwood/qc-usb-0.6.0" modules
V=1 USER_OPT="-DNDEBUG" make[1]: Entering directory
`/usr/src/linux-2.6.4' make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/genksyms
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=arch/i386/kernel
arch/i386/kernel/asm-offsets.s make[2]: `arch/i386/kernel/asm-offsets.s'
is up to date. make -f scripts/Makefile.build
obj=/home/peckwood/qc-usb-0.6.0 gcc
-Wp,-MD,/home/peckwood/qc-usb-0.6.0/.qc-driver.o.d -nostdinc
-iwithprefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3
-Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL
-DNDEBUG -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam
-c -o /home/peckwood/qc-usb-0.6.0/.tmp_qc-driver.o
/home/peckwood/qc-usb-0.6.0/qc-driver.c In file included from
include/linux/irq.h:20, from include/asm/hardirq.h:6,
from include/linux/interrupt.h:11,
from include/linux/usb.h:15,
from /home/peckwood/qc-usb-0.6.0/quickcam.h:22,
from /home/peckwood/qc-usb-0.6.0/qc-driver.c:47:
include/asm/irq.h:16:31: linux/irq_vectors.h: No such file or directory
In file included from include/asm/hardirq.h:6,
from include/linux/interrupt.h:11,
from include/linux/usb.h:15,
from /home/peckwood/qc-usb-0.6.0/quickcam.h:22,
from /home/peckwood/qc-usb-0.6.0/qc-driver.c:47:
include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from include/linux/irq.h:72,
from include/asm/hardirq.h:6,
from include/linux/interrupt.h:11,
from include/linux/usb.h:15,
from /home/peckwood/qc-usb-0.6.0/quickcam.h:22,
from /home/peckwood/qc-usb-0.6.0/qc-driver.c:47:
include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a
function) include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a
function) In file included from
/home/peckwood/qc-usb-0.6.0/qc-driver.c:47:/home/peckwood/qc-usb-0.6.0/
quickcam.h:79:2: warning: #warning "procfs support
disabled"/home/peckwood/qc-usb-0.6.0/qc-driver.c: In function
`qc_stream_add':/home/peckwood/qc-usb-0.6.0/qc-driver.c:1492: warning:
deprecated use of label at end of compound
statement/home/peckwood/qc-usb-0.6.0/qc-driver.c: In function
`qc_usb_disconnect':/home/peckwood/qc-usb-0.6.0/qc-driver.c:2984:
warning: unused variable `usbdev' make[2]: ***
[/home/peckwood/qc-usb-0.6.0/qc-driver.o] Error 1 make[1]: ***
[/home/peckwood/qc-usb-0.6.0] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.6.4' make: *** [quickcam.ko] Error 2

Discussion


Log in to post a comment.