Hi,

I know this probably isn't really the *right* place to ask this but has anyone else had any success in compliling the G400 TV video capture drivers under mandrake 10? I'm using the drivers from this site;

http://marvel.sourceforge.net/

...but because the kernel differs a lot now (Mandrake 10 uses a 26 kernel not a 2.4 one) many things appear to be different; I got this when I tried to compile:

--

[EMAIL PROTECTED] driver]# make mjpeg
cc -I. -I/usr/src/linux/include -O2 -Wall -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/media/video -include /usr/src/linux/include/linux/modversions.h -DMODVERSIONS -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -Iinclude/asm-i386/mach-default -c -o mgagrab.o mgagrab.c
<command line>:138832213:27032: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from mgagrab.c:47:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from mgagrab.c:47:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from mgagrab.c:47:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
mgagrab.c:50:27: linux/wrapper.h: No such file or directory
In file included from mgagrab.c:53:
mgacore.h: In function `uvirt_to_kva':
mgacore.h:507: warning: implicit declaration of function `pte_offset'
mgacore.h:507: warning: assignment makes pointer from integer without a cast
mgacore.h: In function `kvirt_to_pa':
mgacore.h:528: warning: implicit declaration of function `VMALLOC_VMADDR'
mgagrab.c: At top level:
mgagrab.c:110: error: field `tqnode_dpc' has incomplete type
mgagrab.c: In function `mgagrab_vsync':
mgagrab.c:1046: warning: passing arg 2 of `test_and_set_bit' from incompatible pointer type
mgagrab.c:1154: warning: implicit declaration of function `queue_task'
mgagrab.c:1154: error: `tq_immediate' undeclared (first use in this function)
mgagrab.c:1154: error: (Each undeclared identifier is reported only once
mgagrab.c:1154: error: for each function it appears in.)
mgagrab.c:1155: warning: implicit declaration of function `mark_bh'
mgagrab.c:1155: error: `IMMEDIATE_BH' undeclared (first use in this function)
mgagrab.c: In function `mgagrab_attach':
mgagrab.c:1451: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:502)
mgagrab.c: In function `mgagrab_deattach':
mgagrab.c:1471: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:514)
make: *** [mgagrab.o] Error 1
[EMAIL PROTECTED] driver]#


--

Does anyone know if there's a newer version of the drivers or source or if this program can be compiled at all? I have the 2.6 kernel source installed.

Thanks,

[EMAIL PROTECTED]


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to