rolando Napisano Czerwiec 15, 2005 Zgłoszenie Share Napisano Czerwiec 15, 2005 Witam nie wiem (bo nie znalazłem nigdzie) czy ktoś uruchomił to cudo lexmark X5250??? z moich poszukiwań w internecie okazuje się iż nie ma gotowych sterowników do tego urządzenia, ALE.... no właśnie lexmark serwuje nam LLPDDK - Lexmark Linux Printer/AIO Driver Developer's Kit co daje nam podobno możliwość samodzielnego "stworzenia" takowych sterowników zarówno do drukarki jak i do skanera. Niestety nie ma tu wzmianki o fc3 lub fc4 jedynie rh9 NOTE: LLPDDK has been built and validated on the following Linux releases: RedHat 8.0, RedHat 9.0, Mandrake 9.0, Mandrake 9.1, SuSE 8.1 and SuSE 8.2. zresztą wszystkich zainteresowanych zapraszam do poczytania więcej TUTAJ ja spróbuję powalczyć bo chyba warto zobaczymy z jakim skutkiem :-) czekam na wasze opinie i informacje o sukcesach może jest ktoś komu to działa lub wie jak to uruchomić Pozdrawiam wszystkich!!! gcc -DMODULE -D__KERNEL__ -I/usr/src/linux-`uname -r`/include -include /usr/src/linux-`unam e -r`/include/linux/modversions.h -c lxkscanner.c cc1: /usr/src/linux-2.6.11-1.27_FC3/include/linux/modversions.h: Nie ma takiego pliku ani k atalogu In file included from /usr/include/linux/module.h:10, from lxkscanner.h:31, from lxkscanner.c:358: /usr/include/linux/config.h:5:2: #error Incorrectly using glibc headers for a kernel module In file included from lxkscanner.c:358: lxkscanner.h:34:25: asm/uaccess.h: Nie ma takiego pliku ani katalogu lxkscanner.h:36:24: linux/slab.h: Nie ma takiego pliku ani katalogu lxkscanner.h:37:25: linux/delay.h: Nie ma takiego pliku ani katalogu In file included from /usr/include/linux/sched.h:13, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/linux/times.h:7: error: syntax error before "clock_t" /usr/include/linux/times.h:9: error: syntax error before "tms_cutime" /usr/include/linux/times.h:10: error: syntax error before "tms_cstime" In file included from /usr/include/linux/sched.h:14, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/linux/timex.h:148: error: field `time' has incomplete type In file included from /usr/include/linux/signal.h:4, from /usr/include/linux/sched.h:25, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/asm/signal.h:107: error: syntax error before "sigset_t" /usr/include/asm/signal.h:110: error: syntax error before '}' token In file included from /usr/include/linux/signal.h:5, from /usr/include/linux/sched.h:25, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/asm/siginfo.h:26: error: syntax error before "pid_t" /usr/include/asm/siginfo.h:38: error: syntax error before "pid_t" /usr/include/asm/siginfo.h:41: error: syntax error before '}' token /usr/include/asm/siginfo.h:45: error: syntax error before "pid_t" /usr/include/asm/siginfo.h:48: error: syntax error before "_utime" /usr/include/asm/siginfo.h:49: error: syntax error before "_stime" /usr/include/asm/siginfo.h:62: error: syntax error before '}' token /usr/include/asm/siginfo.h:63: error: syntax error before '}' token In file included from /usr/include/linux/sched.h:65, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/linux/time.h:10: error: syntax error before "time_t" /usr/include/linux/time.h:12: error: syntax error before '}' token /usr/include/linux/time.h:18: error: syntax error before "time_t" /usr/include/linux/time.h:44: error: field `it_interval' has incomplete type /usr/include/linux/time.h:45: error: field `it_value' has incomplete type /usr/include/linux/time.h:49: error: field `it_interval' has incomplete type /usr/include/linux/time.h:50: error: field `it_value' has incomplete type In file included from /usr/include/linux/sched.h:67, from lxkscanner.h:39, from lxkscanner.c:358: /usr/include/linux/resource.h:22: error: field `ru_utime' has incomplete type /usr/include/linux/resource.h:23: error: field `ru_stime' has incomplete type lxkscanner.h:41:35: linux/devfs_fs_kernel.h: Nie ma takiego pliku ani katalogu In file included from lxkscanner.c:358: lxkscanner.h:76: error: elements of array `scanner_device_ids' have incomplete type lxkscanner.h:78: warning: excess elements in struct initializer lxkscanner.h:78: warning: (near initialization for `scanner_device_ids[0]') lxkscanner.h:79: warning: excess elements in struct initializer lxkscanner.h:79: warning: (near initialization for `scanner_device_ids[1]') lxkscanner.h:80: warning: excess elements in struct initializer lxkscanner.h:80: warning: (near initialization for `scanner_device_ids[2]') lxkscanner.h:81: warning: excess elements in struct initializer lxkscanner.h:81: warning: (near initialization for `scanner_device_ids[3]') lxkscanner.h:85: error: invalid application of `sizeof' to incomplete type `usb_device_id' lxkscanner.h:125: warning: parameter names (without types) in function declaration lxkscanner.h:129: error: syntax error before "devfs_handle_t" lxkscanner.h:129: warning: no semicolon at end of struct or union lxkscanner.h:132: error: syntax error before "scn_minor" lxkscanner.h:132: warning: data definition has no type or storage class lxkscanner.h:138: error: syntax error before "rd_wait_q" lxkscanner.h:138: warning: data definition has no type or storage class lxkscanner.h:141: error: syntax error before '}' token lxkscanner.h:143: error: syntax error before "usb_devfs_handle" lxkscanner.h:143: warning: data definition has no type or storage class lxkscanner.h:155: warning: `packed' attribute ignored lxkscanner.c: In function `irq_scanner': lxkscanner.c:371: error: dereferencing pointer to incomplete type lxkscanner.c:373: error: dereferencing pointer to incomplete type lxkscanner.c:376: error: dereferencing pointer to incomplete type lxkscanner.c:380: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:386: warning: "struct file" declared inside parameter list lxkscanner.c:386: warning: its scope is only this definition or declaration, which is proba bly not what you want lxkscanner.c:386: warning: "struct inode" declared inside parameter list lxkscanner.c: In function `open_scanner': lxkscanner.c:391: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:391: error: (Each undeclared identifier is reported only once lxkscanner.c:391: error: for each function it appears in.) lxkscanner.c:391: error: syntax error before "scn_minor" lxkscanner.c:395: error: `__this_module' undeclared (first use in this function) lxkscanner.c:397: error: `scn_mutex' undeclared (first use in this function) lxkscanner.c:399: error: dereferencing pointer to incomplete type lxkscanner.c:406: error: called object is not a function lxkscanner.c:412: error: dereferencing pointer to incomplete type lxkscanner.c:414: error: dereferencing pointer to incomplete type lxkscanner.c:419: error: called object is not a function lxkscanner.c:424: error: dereferencing pointer to incomplete type lxkscanner.c:425: error: called object is not a function lxkscanner.c:430: error: dereferencing pointer to incomplete type lxkscanner.c:431: error: called object is not a function lxkscanner.c:436: error: dereferencing pointer to incomplete type lxkscanner.c:438: error: dereferencing pointer to incomplete type lxkscanner.c:440: error: dereferencing pointer to incomplete type lxkscanner.c:445: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:454: warning: "struct file" declared inside parameter list lxkscanner.c:454: warning: "struct inode" declared inside parameter list lxkscanner.c: In function `close_scanner': lxkscanner.c:458: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:458: error: syntax error before "scn_minor" lxkscanner.c:460: error: dereferencing pointer to incomplete type lxkscanner.c:469: error: `scn_mutex' undeclared (first use in this function) lxkscanner.c:472: error: dereferencing pointer to incomplete type lxkscanner.c:473: error: dereferencing pointer to incomplete type lxkscanner.c:475: error: dereferencing pointer to incomplete type lxkscanner.c:478: error: dereferencing pointer to incomplete type lxkscanner.c:480: error: `__this_module' undeclared (first use in this function) lxkscanner.c: At top level: lxkscanner.c:487: error: syntax error before "loff_t" lxkscanner.c: In function `write_scanner': lxkscanner.c:495: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:495: error: syntax error before "scn_minor" lxkscanner.c:503: error: `file' undeclared (first use in this function) lxkscanner.c:505: error: dereferencing pointer to incomplete type lxkscanner.c:507: error: dereferencing pointer to incomplete type lxkscanner.c:509: error: dereferencing pointer to incomplete type lxkscanner.c:511: error: dereferencing pointer to incomplete type lxkscanner.c:513: error: `CURRENT_TIME' undeclared (first use in this function) lxkscanner.c:515: error: `count' undeclared (first use in this function) lxkscanner.c:517: error: `current' undeclared (first use in this function) lxkscanner.c:518: error: `ERESTARTSYS' undeclared (first use in this function) lxkscanner.c:524: error: dereferencing pointer to incomplete type lxkscanner.c:524: error: `buffer' undeclared (first use in this function) lxkscanner.c:529: error: dereferencing pointer to incomplete type lxkscanner.c:567: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:574: error: syntax error before "loff_t" lxkscanner.c: In function `read_scanner': lxkscanner.c:582: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:582: error: syntax error before "scn_minor" lxkscanner.c:591: error: `file' undeclared (first use in this function) lxkscanner.c:593: error: dereferencing pointer to incomplete type lxkscanner.c:595: error: dereferencing pointer to incomplete type lxkscanner.c:597: error: dereferencing pointer to incomplete type lxkscanner.c:599: error: dereferencing pointer to incomplete type lxkscanner.c:604: error: `CURRENT_TIME' undeclared (first use in this function) lxkscanner.c:608: error: `count' undeclared (first use in this function) lxkscanner.c:609: error: `current' undeclared (first use in this function) lxkscanner.c:610: error: `ERESTARTSYS' undeclared (first use in this function) lxkscanner.c:616: error: dereferencing pointer to incomplete type lxkscanner.c:616: error: dereferencing pointer to incomplete type lxkscanner.c:640: error: dereferencing pointer to incomplete type lxkscanner.c:640: error: dereferencing pointer to incomplete type lxkscanner.c:649: error: dereferencing pointer to incomplete type lxkscanner.c:654: error: `USB_ST_DATAUNDERRUN' undeclared (first use in this function) lxkscanner.c:675: error: `buffer' undeclared (first use in this function) lxkscanner.c:687: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:693: warning: "struct file" declared inside parameter list lxkscanner.c:693: warning: "struct inode" declared inside parameter list lxkscanner.c: In function `ioctl_scanner': lxkscanner.c:697: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:697: error: syntax error before "scn_minor" lxkscanner.c:699: error: dereferencing pointer to incomplete type lxkscanner.c:706: error: dereferencing pointer to incomplete type lxkscanner.c:711: error: dereferencing pointer to incomplete type lxkscanner.c:713: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:818: error: variable `usb_scanner_fops' has initializer but incomplete type lxkscanner.c:819: error: unknown field `read' specified in initializer lxkscanner.c:819: warning: excess elements in struct initializer lxkscanner.c:819: warning: (near initialization for `usb_scanner_fops') lxkscanner.c:820: error: unknown field `write' specified in initializer lxkscanner.c:820: warning: excess elements in struct initializer lxkscanner.c:820: warning: (near initialization for `usb_scanner_fops') lxkscanner.c:821: error: unknown field `ioctl' specified in initializer lxkscanner.c:821: warning: excess elements in struct initializer lxkscanner.c:821: warning: (near initialization for `usb_scanner_fops') lxkscanner.c:822: error: unknown field `open' specified in initializer lxkscanner.c:822: warning: excess elements in struct initializer lxkscanner.c:822: warning: (near initialization for `usb_scanner_fops') lxkscanner.c:823: error: unknown field `release' specified in initializer lxkscanner.c:823: warning: excess elements in struct initializer lxkscanner.c:823: warning: (near initialization for `usb_scanner_fops') lxkscanner.c: In function `probe_scanner': lxkscanner.c:837: error: `kdev_t' undeclared (first use in this function) lxkscanner.c:837: error: syntax error before "scn_minor" lxkscanner.c:872: error: invalid application of `sizeof' to incomplete type `({anonymous})' lxkscanner.c:872: error: invalid application of `sizeof' to incomplete type `usb_device_id' lxkscanner.c:872: warning: division by zero lxkscanner.c:873: error: dereferencing pointer to incomplete type lxkscanner.c:873: error: invalid use of undefined type `struct usb_device_id' lxkscanner.c:874: error: dereferencing pointer to incomplete type lxkscanner.c:874: error: invalid use of undefined type `struct usb_device_id' lxkscanner.c:879: error: dereferencing pointer to incomplete type lxkscanner.c:880: error: dereferencing pointer to incomplete type lxkscanner.c:892: error: dereferencing pointer to incomplete type lxkscanner.c:905: error: dereferencing pointer to incomplete type lxkscanner.c:907: error: invalid use of undefined type `struct usb_interface_descriptor' lxkscanner.c:907: error: dereferencing pointer to incomplete type lxkscanner.c:908: error: invalid use of undefined type `struct usb_interface_descriptor' lxkscanner.c:908: error: dereferencing pointer to incomplete type lxkscanner.c:909: error: invalid use of undefined type `struct usb_interface_descriptor' lxkscanner.c:909: error: dereferencing pointer to incomplete type lxkscanner.c:910: error: invalid use of undefined type `struct usb_interface_descriptor' lxkscanner.c:910: error: dereferencing pointer to incomplete type lxkscanner.c:913: error: invalid use of undefined type `struct usb_interface_descriptor' lxkscanner.c:913: error: dereferencing pointer to incomplete type lxkscanner.c:921: error: dereferencing pointer to incomplete type lxkscanner.c:933: error: dereferencing pointer to incomplete type lxkscanner.c:959: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:959: error: dereferencing pointer to incomplete type lxkscanner.c:959: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:959: error: dereferencing pointer to incomplete type lxkscanner.c:965: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:965: error: dereferencing pointer to incomplete type lxkscanner.c:971: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:971: error: dereferencing pointer to incomplete type lxkscanner.c:971: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:971: error: dereferencing pointer to incomplete type lxkscanner.c:977: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:977: error: dereferencing pointer to incomplete type lxkscanner.c:983: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:983: error: dereferencing pointer to incomplete type lxkscanner.c:989: error: invalid use of undefined type `struct usb_endpoint_descriptor' lxkscanner.c:989: error: dereferencing pointer to incomplete type lxkscanner.c:1004: error: dereferencing pointer to incomplete type lxkscanner.c:1043: error: `scn_mutex' undeclared (first use in this function) lxkscanner.c:1059: error: invalid application of `sizeof' to incomplete type `scn_usb_data' lxkscanner.c:1059: error: `GFP_KERNEL' undeclared (first use in this function) lxkscanner.c:1059: warning: assignment makes pointer from integer without a cast lxkscanner.c:1064: error: invalid application of `sizeof' to incomplete type `scn_usb_data' lxkscanner.c:1066: error: dereferencing pointer to incomplete type lxkscanner.c:1073: error: dereferencing pointer to incomplete type lxkscanner.c:1075: error: dereferencing pointer to incomplete type lxkscanner.c:1079: error: dereferencing pointer to incomplete type lxkscanner.c:1089: error: dereferencing pointer to incomplete type lxkscanner.c:1095: error: dereferencing pointer to incomplete type lxkscanner.c:1097: error: dereferencing pointer to incomplete type lxkscanner.c:1099: error: dereferencing pointer to incomplete type lxkscanner.c:1104: error: dereferencing pointer to incomplete type lxkscanner.c:1107: error: dereferencing pointer to incomplete type lxkscanner.c:1109: error: dereferencing pointer to incomplete type lxkscanner.c:1114: error: dereferencing pointer to incomplete type lxkscanner.c:1116: error: dereferencing pointer to incomplete type lxkscanner.c:1122: error: dereferencing pointer to incomplete type lxkscanner.c:1126: error: dereferencing pointer to incomplete type lxkscanner.c:1127: error: dereferencing pointer to incomplete type lxkscanner.c:1129: error: dereferencing pointer to incomplete type lxkscanner.c:1130: error: dereferencing pointer to incomplete type lxkscanner.c:1131: error: dereferencing pointer to incomplete type lxkscanner.c:1133: error: dereferencing pointer to incomplete type lxkscanner.c:1134: error: dereferencing pointer to incomplete type lxkscanner.c:1135: error: dereferencing pointer to incomplete type lxkscanner.c:1136: error: dereferencing pointer to incomplete type lxkscanner.c:1137: error: dereferencing pointer to incomplete type lxkscanner.c:1139: error: dereferencing pointer to incomplete type lxkscanner.c:1141: error: dereferencing pointer to incomplete type lxkscanner.c:1142: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function) lxkscanner.c:1142: error: `USB_MAJOR' undeclared (first use in this function) lxkscanner.c:1143: error: dereferencing pointer to incomplete type lxkscanner.c:1144: error: `S_IFCHR' undeclared (first use in this function) lxkscanner.c:1144: error: `S_IRUSR' undeclared (first use in this function) lxkscanner.c:1144: error: `S_IWUSR' undeclared (first use in this function) lxkscanner.c:1144: error: `S_IRGRP' undeclared (first use in this function) lxkscanner.c:1145: error: `S_IWGRP' undeclared (first use in this function) lxkscanner.c:1145: error: `S_IROTH' undeclared (first use in this function) lxkscanner.c:1145: error: `S_IWOTH' undeclared (first use in this function) lxkscanner.c:1146: error: dereferencing pointer to incomplete type lxkscanner.c: In function `disconnect_scanner': lxkscanner.c:1161: error: `scn_mutex' undeclared (first use in this function) lxkscanner.c:1162: error: dereferencing pointer to incomplete type lxkscanner.c:1164: error: dereferencing pointer to incomplete type lxkscanner.c:1165: error: dereferencing pointer to incomplete type lxkscanner.c:1166: error: dereferencing pointer to incomplete type lxkscanner.c:1169: error: dereferencing pointer to incomplete type lxkscanner.c:1169: error: dereferencing pointer to incomplete type lxkscanner.c:1171: error: dereferencing pointer to incomplete type lxkscanner.c:1172: error: dereferencing pointer to incomplete type lxkscanner.c:1174: error: dereferencing pointer to incomplete type lxkscanner.c:1175: error: dereferencing pointer to incomplete type lxkscanner.c:1176: error: dereferencing pointer to incomplete type lxkscanner.c:1177: error: dereferencing pointer to incomplete type lxkscanner.c: At top level: lxkscanner.c:1183: error: variable `scanner_driver' has initializer but incomplete type lxkscanner.c:1184: error: unknown field `name' specified in initializer lxkscanner.c:1184: warning: excess elements in struct initializer lxkscanner.c:1184: warning: (near initialization for `scanner_driver') lxkscanner.c:1185: error: unknown field `probe' specified in initializer lxkscanner.c:1185: warning: excess elements in struct initializer lxkscanner.c:1185: warning: (near initialization for `scanner_driver') lxkscanner.c:1186: error: unknown field `disconnect' specified in initializer lxkscanner.c:1186: warning: excess elements in struct initializer lxkscanner.c:1186: warning: (near initialization for `scanner_driver') lxkscanner.c:1187: error: unknown field `fops' specified in initializer lxkscanner.c:1187: warning: excess elements in struct initializer lxkscanner.c:1187: warning: (near initialization for `scanner_driver') lxkscanner.c:1188: error: unknown field `minor' specified in initializer lxkscanner.c:1188: warning: excess elements in struct initializer lxkscanner.c:1188: warning: (near initialization for `scanner_driver') lxkscanner.c:1189: error: unknown field `id_table' specified in initializer lxkscanner.c:1189: warning: excess elements in struct initializer lxkscanner.c:1189: warning: (near initialization for `scanner_driver') lxkscanner.h:130: error: storage size of `scn_irq' isn't known lxkscanner.h:139: error: storage size of `sem' isn't known lxkscanner.c:1183: error: storage size of `scanner_driver' isn't known lxkscanner.c:818: error: storage size of `usb_scanner_fops' isn't known make: *** [lxkscanner.o] Błąd 1 czy ktoś wie dlaczego taki błąd??? ach co to kernel development modules???czy jakoś tak :-) proszę o szybką pomoc THX Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Hadron Napisano Czerwiec 15, 2005 Zgłoszenie Share Napisano Czerwiec 15, 2005 Bardzo marna szansa http://www.fedora.pl/site/forum/index.php?...2401&hl=lexmark http://www.fedora.pl/site/forum/index.php?...2988&hl=lexmark Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się