Jan Larsen wrote:
> Hej
>
> Er der nogle der har fået sub. til at virke på en linux box ??
>
> /Jan
Nu har jeg fundet noget kode til nogle moduler så det skulle virke, men en
make giver fejl
Koden er her
http://www.emuit.com/drivers/usbvision-0.9.1.tgz
En make giver dette.
gcc -D__KERNEL__ -I/lib/modules/2.4.20/build/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O4 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -DKBUILD_BASENAME=i2c_algo_usb
-DEXPORT_SYMTAB -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c
src/i2c-algo-usb.c -o src/i2c-algo-usb.o
gcc -D__KERNEL__ -I/lib/modules/2.4.20/build/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O4 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -DKBUILD_BASENAME=saa7111_new
-DEXPORT_SYMTAB -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-c -o src/saa7111-new.o src/saa7111-new.c
gcc -D__KERNEL__ -I/lib/modules/2.4.20/build/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O4 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -DKBUILD_BASENAME=bt819_new
-DEXPORT_SYMTAB -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-c -o src/bt819-new.o src/bt819-new.c
gcc -D__KERNEL__ -I/lib/modules/2.4.20/build/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O4 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -DKBUILD_BASENAME=saa7113_new
-DEXPORT_SYMTAB -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c
src/saa7113-new.c -o src/saa7113-new.o
gcc -D__KERNEL__ -I/lib/modules/2.4.20/build/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O4 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -DKBUILD_BASENAME=usbvision
-DEXPORT_SYMTAB -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c
src/usbvision.c -o src/usbvision.o
src/usbvision.c:1373: return-type is an incomplete type
src/usbvision.c: In function `usbvision_find_header':
src/usbvision.c:1407: warning: `return' with a value, in function returning
void
src/usbvision.c:1418: warning: `return' with a value, in function returning
void
src/usbvision.c:1420: warning: `return' with a value, in function returning
void
src/usbvision.c: At top level:
src/usbvision.c:1425: return-type is an incomplete type
src/usbvision.c: In function `usbvision_parse_lines_422':
src/usbvision.c:1440: warning: `return' with a value, in function returning
void
src/usbvision.c:1454: warning: `return' with a value, in function returning
void
src/usbvision.c:1458: warning: `return' with a value, in function returning
void
src/usbvision.c:1545: warning: `return' with a value, in function returning
void
src/usbvision.c:1548: warning: `return' with a value, in function returning
void
src/usbvision.c: At top level:
src/usbvision.c:1642: return-type is an incomplete type
src/usbvision.c: In function `usbvision_parse_compress':
src/usbvision.c:1661: warning: `return' with a value, in function returning
void
src/usbvision.c:1672: warning: `return' with a value, in function returning
void
src/usbvision.c:1676: warning: `return' with a value, in function returning
void
src/usbvision.c:1685: warning: `return' with a value, in function returning
void
src/usbvision.c:1695: warning: `return' with a value, in function returning
void
src/usbvision.c:1704: warning: `return' with a value, in function returning
void
src/usbvision.c:1719: warning: `return' with a value, in function returning
void
src/usbvision.c:1723: warning: `return' with a value, in function returning
void
src/usbvision.c:1728: warning: `return' with a value, in function returning
void
src/usbvision.c:1771: warning: `return' with a value, in function returning
void
src/usbvision.c:1774: warning: `return' with a value, in function returning
void
src/usbvision.c: At top level:
src/usbvision.c:1790: return-type is an incomplete type
src/usbvision.c: In function `usbvision_parse_lines_420':
src/usbvision.c:1813: warning: `return' with a value, in function returning
void
src/usbvision.c:1837: warning: `return' with a value, in function returning
void
src/usbvision.c:1841: warning: `return' with a value, in function returning
void
src/usbvision.c:2042: warning: `return' with a value, in function returning
void
src/usbvision.c:2044: warning: `return' with a value, in function returning
void
src/usbvision.c: In function `usbvision_parse_data':
src/usbvision.c:2058: storage size of `newstate' isn't known
src/usbvision.c:2058: warning: unused variable `newstate'
src/usbvision.c: In function `customdevice_procces':
src/usbvision.c:4843: parse error before `char'
src/usbvision.c:4844: `parse' undeclared (first use in this function)
src/usbvision.c:4844: (Each undeclared identifier is reported only once
src/usbvision.c:4844: for each function it appears in.)
src/usbvision.c:4863: warning: unreachable code at beginning of switch
statement
make: *** [src/usbvision.o] Fejl 1
Er der en der vil hjælpe mig vidre, da jeg ikke selv kan se hvad problemet
er.
/Jan