Possibly a problem of the ebuilds together with the new kernel? problem starts with irq_vector.h not find at compile time. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge qc-usb 2. 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) media-video/qc-usb-0.5.1 to / >>> md5 src_uri ;-) qc-usb-0.5.1.tar.gz >>> Unpacking source... >>> Unpacking qc-usb-0.5.1.tar.gz to /var/tmp/portage/qc-usb-0.5.1/work >>> Source unpacked. gcc -I/lib/modules/2.6.1-gentoo/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c qc-driver.c gcc -I/lib/modules/2.6.1-gentoo/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c qc-hdcs.c In file included from /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:20, from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-driver.c:47: /lib/modules/2.6.1-gentoo/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-driver.c:47: /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:72, from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-driver.c:47: /lib/modules/2.6.1-gentoo/build/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.1-gentoo/build/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:20, from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-hdcs.c:27: /lib/modules/2.6.1-gentoo/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-hdcs.c:27: /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.1-gentoo/build/include/linux/irq.h:72, from /lib/modules/2.6.1-gentoo/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-gentoo/build/include/linux/interrupt.h:11, from /lib/modules/2.6.1-gentoo/build/include/linux/usb.h:15, from quickcam.h:20, from qc-hdcs.c:27: /lib/modules/2.6.1-gentoo/build/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.1-gentoo/build/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function) qc-driver.c:68:27: linux/wrapper.h: No such file or directory qc-driver.c:145: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS' qc-driver.c:145: warning: data definition has no type or storage class qc-driver.c: In function `qc_i2c_nextpacket': qc-driver.c:408: warning: int format, long unsigned int arg (arg 5) qc-driver.c:483: too few arguments to function `usb_submit_urb' qc-driver.c: In function `qc_i2c_init': qc-driver.c:650: too few arguments to function `usb_alloc_urb' qc-driver.c:660: structure has no member named `next' qc-driver.c: In function `qc_frame_exit': qc-driver.c:1141: warning: implicit declaration of function `sem_getcount' qc-driver.c: In function `qc_isoc_handler': qc-driver.c:1527: too few arguments to function `usb_submit_urb' qc-driver.c: In function `qc_isoc_start': qc-driver.c:1564: too few arguments to function `usb_alloc_urb' qc-driver.c:1572: `USB_ISO_ASAP' undeclared (first use in this function) qc-driver.c:1572: (Each undeclared identifier is reported only once qc-driver.c:1572: for each function it appears in.) qc-driver.c:1573: warning: assignment from incompatible pointer type qc-driver.c:1595: too few arguments to function `usb_submit_urb' qc-driver.c: In function `qc_v4l_open': qc-driver.c:1949: warning: implicit declaration of function `GET_USE_COUNT' qc-driver.c:1950: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:482) qc-driver.c:1990: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:494) qc-driver.c: In function `qc_v4l_close': qc-driver.c:2031: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:494) make: *** [qc-hdcs.o] Error 1 make: *** Waiting for unfinished jobs.... qc-driver.c: At top level: qc-driver.c:2543: unknown field `initialize' specified in initializer qc-driver.c:2543: warning: initialization makes integer from pointer without a cast qc-driver.c:2544: unknown field `open' specified in initializer qc-driver.c:2544: warning: initialization from incompatible pointer type qc-driver.c:2545: unknown field `close' specified in initializer qc-driver.c:2546: unknown field `read' specified in initializer qc-driver.c:2546: warning: initialization from incompatible pointer type qc-driver.c:2547: unknown field `write' specified in initializer qc-driver.c:2548: unknown field `ioctl' specified in initializer qc-driver.c:2548: warning: initialization makes integer from pointer without a cast qc-driver.c:2549: unknown field `mmap' specified in initializer qc-driver.c:2549: warning: missing braces around initializer qc-driver.c:2549: warning: (near initialization for `qc_v4l_template.lock') qc-driver.c:2549: warning: initialization makes integer from pointer without a cast qc-driver.c:2550: unknown field `poll' specified in initializer qc-driver.c:2550: warning: initialization makes integer from pointer without a cast qc-driver.c:2550: initializer element is not computable at load time qc-driver.c:2550: (near initialization for `qc_v4l_template.devfs_name[0]') qc-driver.c:2551: initializer element is not constant qc-driver.c:2551: (near initialization for `qc_v4l_template.devfs_name') qc-driver.c:2567: warning: initialization from incompatible pointer type qc-driver.c:2568: warning: initialization from incompatible pointer type qc-driver.c: In function `qc_usb_probe': qc-driver.c:2756: request for member `altsetting' in something not a structure or union qc-driver.c:2771: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:482) qc-driver.c:2774: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:494) qc-driver.c: In function `qc_usb_disconnect': qc-driver.c:2813: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:482) qc-driver.c:2837: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.1-gentoo/build/include/linux/module.h:494) make: *** [qc-driver.o] Error 1 !!! ERROR: media-video/qc-usb-0.5.1 failed. !!! Function src_compile, Line 22, Exitcode 2 !!! (no error message) Expected Results: Compilation... emerge info: Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-gentoo) ================================================================= System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.10 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts atlas auctex autofs avi berkdb bonobo cdr cmucl crypt cups directfb dnd doc dv dvd dvdr emacs emacs-w3 encode esd evo faad fbcon fbdev ffmpeg fftw foomaticdb gdbm gif ginac glut gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 java javascript joystick jpeg kde ldap leim libg++ libwww mad mbox mikmod mmx motif mozilla mpeg mpi mule music ncurses netcdf nls nptl oggvorbis opengl openssh oss pam pda pdflib perl pic plotutils png python qt quicktime radeon readline rplay scanner sdl slang sox spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l videos wmf x86 xinerama xml xml2 xmms xosd xv xvid zlib" ############################################################### uname -a : 2.6.1-gentoo #1 Mon Jan 12 18:56:19 CET 2004 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux ############################################################### Same problem for old 2.6.0 test; ls -l /usr/src: -rw-r--r-- 1 root root 0 Oct 31 21:46 .keep drwxr-xr-x 17 root root 560 Dec 1 19:32 ../ drwxr-xr-x 18 root root 632 Dec 6 23:34 linux-2.6.0-test11-gentoo-r1/ -rw-r--r-- 1 root root 25K Dec 14 22:20 LINUX.config drwxr-xr-x 19 root root 1.3K Dec 15 21:05 linux-2.6.0-test11-gentoo-r2/ drwxr-xr-x 16 root root 872 Dec 15 21:29 linux-2.4.20-gentoo-r9/ drwxr-xr-x 15 root root 592 Jan 11 11:50 linux-2.4.24/ drwxr-xr-x 15 root root 816 Jan 12 18:39 linux-2.4.23/ lrwxrwxrwx 1 root root 19 Jan 12 18:39 linux -> linux-2.6.1-gentoo// drwxr-xr-x 19 root root 1.3K Jan 12 18:56 linux-2.6.1-gentoo/ drwxr-xr-x 16 root root 624 Jan 14 20:43 linux-2.4.22-gentoo-r5/ lrwxrwxrwx 1 root root 19 Jan 14 22:44 linux-beta -> linux-2.6.1-gentoo// drwxr-xr-x 10 root root 480 Jan 14 22:44 ./ drwxr-xr-x 16 root root 592 Jan 14 22:45 linux-2.4.22-gentoo-r4/ #######################################################
not a blocker .. the reason is because it we need a new version of qce-ga, but we can't do that yet because of sandbox violations
Hello, Sorry, I thought qce-ga and qc-usb were two separate things altogether. The fact that the irq_vectors.h is not found, even if it is present in /usr/src/linux as ./include/asm-um/irq_vectors.h ./include/asm-i386/mach-voyager/irq_vectors.h ./include/asm-i386/mach-default/irq_vectors.h ./include/asm-i386/mach-pc9800/irq_vectors.h ./include/asm-i386/mach-visws/irq_vectors.h has no impact on the problem?
I think it's more complicated than that. If you search on google you'll find that many drivers have this problem. I assume it's just that modules haven't been ported to work with 2.6 yet.
Hello, actually, as suggested in http://forums.gentoo.org/viewtopic.php?t=117938&highlight=qcset+gnomemeeting the module in itself is working, at least installed from cvs-sources. Xawtv works fine, qcset works, gnomemeeting works (until i make a a call and crashes, but this is another story). So I guess the problem is elsewhere, as possibly Alastair suggested. Best Regards
sorry for the wait guys .. this has finally been fixed thanks toe the cool kernel-mod eclass. 0.6.0 in portage now.