linux user group brescia

immagine del castello

Archivio della mailing list

per chi non è fuggito alla fiera della radiantistica...

Konsa79 andrea a konsa.zapto.org
Sab 13 Mar 2004 10:55:29 UTC
salve a tutti....
stamattina come ogni sabato pomeriggio stavo cercando di usare
periferiche di utilizzo comune sotto linux, e oggi mi stavo imbattendo
nelle fatidiche webcam usb.

ho con me una pc-cam 880 e cercando in internet l'unico driver che la
supporta è un certo "royale".

attualmente il sito ufficiale riportato da 
http://freshmeat.net/projects/zr364xx/?branch_id=47526&release_id=153010
non è raggiungibile.

giorni fa avevo scaricato il tgz di turno e avevo provato a compilarlo e
mi da l'errore sottostante:

l'unica cosa che ho capito è che in /usr/include/linux/ non trova
malloc.h (che cercando in rete pare sia di un kernel diverso ... o sto
sparando una caxxata?).

io di compilazione  e kernel ci capisco poco, riporto sotto l'output del
make se qualcuno mi vuole aiutare.

grazie in anticipo

konsa


[andrea a pcandrea zr364xx-0.3]$ make
gcc -c -DMODULE -D__KERNEL__ zr364xx.c -I/lib/modules/`uname
-r`/build/include -Idrivers/usb
zr364xx.c:21:27: linux/vmalloc.h: No such file or directory
In file included from zr364xx.c:23:
/usr/include/linux/proc_fs.h:70: error: syntax error before "atomic_t"
/usr/include/linux/proc_fs.h:72: error: syntax error before "rdev"
/usr/include/linux/proc_fs.h:187: error: syntax error before "kdev_t"
/usr/include/linux/proc_fs.h:203: error: syntax error before "void"
In file included from decode-jpg.c:10,
                 from zr364xx.c:26:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel
header; include <endian.h> instead!
zr364xx.c:89: error: field `vdev' has incomplete type
zr364xx.c: In function `send_control_msg':
zr364xx.c:114: error: `GFP_KERNEL' undeclared (first use in this
function)
zr364xx.c:114: error: (Each undeclared identifier is reported only once
zr364xx.c:114: error: for each function it appears in.)
zr364xx.c:114: warning: initialization makes pointer from integer
without a cast
zr364xx.c:127: error: called object is not a function
zr364xx.c: In function `zoran_open':
zr364xx.c:177: error: dereferencing pointer to incomplete type
zr364xx.c:181: error: called object is not a function
zr364xx.c:188: error: called object is not a function
zr364xx.c: In function `zoran_close':
zr364xx.c:198: error: dereferencing pointer to incomplete type
zr364xx.c:202: error: called object is not a function
zr364xx.c:209: error: called object is not a function
zr364xx.c: In function `zoran_read':
zr364xx.c:221: error: dereferencing pointer to incomplete type
zr364xx.c:222: error: called object is not a function
zr364xx.c:225: error: `EINVAL' undeclared (first use in this function)
zr364xx.c: In function `zoran_mmap':
zr364xx.c:242: error: dereferencing pointer to incomplete type
zr364xx.c:245: error: `ENODEV' undeclared (first use in this function)
zr364xx.c:247: error: called object is not a function
zr364xx.c:264: error: `ENOMEM' undeclared (first use in this function)
zr364xx.c:271: error: `PAGE_SHARED' undeclared (first use in this
function)
zr364xx.c:273: error: `EAGAIN' undeclared (first use in this function)
zr364xx.c: In function `zoran_video_init':
zr364xx.c:290: error: called object is not a function
zr364xx.c: In function `zoran_write':
zr364xx.c:296: error: called object is not a function
zr364xx.c:297: error: `EINVAL' undeclared (first use in this function)
zr364xx.c: In function `read_frame':
zr364xx.c:313: error: called object is not a function
zr364xx.c:314: error: called object is not a function
zr364xx.c:317: error: called object is not a function
zr364xx.c:322: error: called object is not a function
zr364xx.c:337: error: called object is not a function
zr364xx.c:357: error: called object is not a function
zr364xx.c:367: error: called object is not a function
zr364xx.c:372: error: called object is not a function
zr364xx.c:383: error: called object is not a function
zr364xx.c:386: error: called object is not a function
zr364xx.c:397: error: called object is not a function
zr364xx.c: In function `zoran_ioctl':
zr364xx.c:427: error: dereferencing pointer to incomplete type
zr364xx.c:430: error: `ENODEV' undeclared (first use in this function)
zr364xx.c:441: error: syntax error before "struct"
zr364xx.c:445: error: called object is not a function
zr364xx.c:446: error: `b' undeclared (first use in this function)
zr364xx.c:456: error: `EFAULT' undeclared (first use in this function)
zr364xx.c:462: error: syntax error before "struct"
zr364xx.c:466: error: called object is not a function
zr364xx.c:467: error: `v' undeclared (first use in this function)
zr364xx.c:472: error: `EINVAL' undeclared (first use in this function)
zr364xx.c:445: warning: unreachable code at beginning of switch
statement
zr364xx.c:469: error: break statement not within loop or switch
zr364xx.c:473: error: break statement not within loop or switch
zr364xx.c:485: error: break statement not within loop or switch
zr364xx.c: At top level:
zr364xx.c:488: error: syntax error before "case"
zr364xx.c:507: error: syntax error before '&' token
zr364xx.c:584: error: syntax error before "if"
zr364xx.c:585: error: syntax error before '&' token
zr364xx.c:634: warning: parameter names (without types) in function
declaration
zr364xx.c:634: error: conflicting types for `read_frame'
zr364xx.c:301: error: previous declaration of `read_frame'
zr364xx.c:634: warning: data definition has no type or storage class
zr364xx.c:636: error: syntax error before "break"
zr364xx.c:671: error: variable `zoran_template' has initializer but
incomplete type
zr364xx.c:673: error: unknown field `owner' specified in initializer
zr364xx.c:673: warning: excess elements in struct initializer
zr364xx.c:673: warning: (near initialization for `zoran_template')
zr364xx.c:674: error: unknown field `name' specified in initializer
zr364xx.c:674: warning: excess elements in struct initializer
zr364xx.c:674: warning: (near initialization for `zoran_template')
zr364xx.c:675: error: unknown field `type' specified in initializer
zr364xx.c:675: warning: excess elements in struct initializer
zr364xx.c:675: warning: (near initialization for `zoran_template')
zr364xx.c:676: error: unknown field `hardware' specified in initializer
zr364xx.c:676: warning: excess elements in struct initializer
zr364xx.c:676: warning: (near initialization for `zoran_template')
zr364xx.c:677: error: unknown field `open' specified in initializer
zr364xx.c:677: warning: excess elements in struct initializer
zr364xx.c:677: warning: (near initialization for `zoran_template')
zr364xx.c:678: error: unknown field `close' specified in initializer
zr364xx.c:678: warning: excess elements in struct initializer
zr364xx.c:678: warning: (near initialization for `zoran_template')
zr364xx.c:679: error: unknown field `read' specified in initializer
zr364xx.c:679: warning: excess elements in struct initializer
zr364xx.c:679: warning: (near initialization for `zoran_template')
zr364xx.c:680: error: unknown field `write' specified in initializer
zr364xx.c:680: warning: excess elements in struct initializer
zr364xx.c:680: warning: (near initialization for `zoran_template')
zr364xx.c:681: error: unknown field `ioctl' specified in initializer
zr364xx.c:681: warning: excess elements in struct initializer
zr364xx.c:681: warning: (near initialization for `zoran_template')
zr364xx.c:682: error: unknown field `mmap' specified in initializer
zr364xx.c:682: warning: excess elements in struct initializer
zr364xx.c:682: warning: (near initialization for `zoran_template')
zr364xx.c:683: error: unknown field `initialize' specified in
initializer
zr364xx.c:683: warning: excess elements in struct initializer
zr364xx.c:683: warning: (near initialization for `zoran_template')
zr364xx.c:684: error: unknown field `minor' specified in initializer
zr364xx.c:685: warning: excess elements in struct initializer
zr364xx.c:685: warning: (near initialization for `zoran_template')
zr364xx.c:688: warning: `struct usb_device_id' declared inside parameter
list
zr364xx.c: In function `zoran_probe':
zr364xx.c:698: error: dereferencing pointer to incomplete type
zr364xx.c:698: error: dereferencing pointer to incomplete type
zr364xx.c:703: error: called object is not a function
zr364xx.c:704: error: called object is not a function
zr364xx.c:706: error: `GFP_KERNEL' undeclared (first use in this
function)
zr364xx.c:706: warning: assignment makes pointer from integer without a
cast
zr364xx.c:708: error: called object is not a function
zr364xx.c:713: error: invalid application of `sizeof' to an incomplete
type
zr364xx.c:718: warning: assignment makes pointer from integer without a
cast
zr364xx.c:720: error: called object is not a function
zr364xx.c:724: warning: assignment makes pointer from integer without a
cast
zr364xx.c:726: error: called object is not a function
zr364xx.c:733: error: called object is not a function
zr364xx.c:738: error: called object is not a function
zr364xx.c:743: error: called object is not a function
zr364xx.c:765: error: `VFL_TYPE_GRABBER' undeclared (first use in this
function)
zr364xx.c:768: error: called object is not a function
zr364xx.c:772: error: called object is not a function
zr364xx.c: In function `zoran_disconnect':
zr364xx.c:781: error: called object is not a function
zr364xx.c: At top level:
zr364xx.c:790: error: variable `zoran_driver' has initializer but
incomplete type
zr364xx.c:792: error: unknown field `name' specified in initializer
zr364xx.c:792: warning: excess elements in struct initializer
zr364xx.c:792: warning: (near initialization for `zoran_driver')
zr364xx.c:793: error: unknown field `probe' specified in initializer
zr364xx.c:793: warning: excess elements in struct initializer
zr364xx.c:793: warning: (near initialization for `zoran_driver')
zr364xx.c:794: error: unknown field `disconnect' specified in
initializer
zr364xx.c:794: warning: excess elements in struct initializer
zr364xx.c:794: warning: (near initialization for `zoran_driver')
zr364xx.c:795: error: extra brace group at end of initializer
zr364xx.c:795: error: (near initialization for `zoran_driver')
zr364xx.c:795: warning: excess elements in struct initializer
zr364xx.c:795: warning: (near initialization for `zoran_driver')
zr364xx.c: In function `zoran_init':
zr364xx.c:807: error: called object is not a function
zr364xx.c: In function `zoran_exit':
zr364xx.c:814: error: called object is not a function
zr364xx.c: At top level:
zr364xx.c:671: error: storage size of `zoran_template' isn't known
zr364xx.c:790: error: storage size of `zoran_driver' isn't known
make: *** [zr364xx] Error 1





Maggiori informazioni sulla lista Lug