instalacja Plusteka 12000T
: 16 listopada 2007, 16:20
Posiadam skaner plustek 12000T jest to skaner na LPT. Chciałbym go zainstalować na debianku. Próbowałem tego opisu link lecz nie mogę pobrać sterowników. Może znacie inny opis z działającymi linkami. A może sami pomożecie przy instalacji
[ Dodano: 2007-11-16, 17:49 ]
ok udało mi się zdobyć sane-backends oraz sane-frontends kompilaja i instalacja poszła pez problemowo. Jednak przy kompliacji sterownika plustek-module-0_41_5 coś takiego !
[ Dodano: 2007-11-16, 17:49 ]
ok udało mi się zdobyć sane-backends oraz sane-frontends kompilaja i instalacja poszła pez problemowo. Jednak przy kompliacji sterownika plustek-module-0_41_5 coś takiego !
Kod: Zaznacz cały
# make
Makefile to create the Plustek-Scanner kernel-module:
all ... builds the module
all DEBUG=y ... builds the module with debug-messages enabled
clean ... cleans up the show
install ... installs the module to the library path
uninstall ... removes the module from the library path
load ... tries to load the module and creates device nodes
unload ... unloads the module
# make all
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=42 -D_PTDRV_BUILD=10 -
D__KERNEL__ -I/lib/modules/2.6.23.1/build/include -I./h -I./.. -O2 -DMODULE -DMODVERSIONS -include
/lib/modules/2.6.23.1/build/include/linux/modsetver.h -c src/dac.c -o obj/dac.o
cc1: error: /lib/modules/2.6.23.1/build/include/linux/modsetver.h: Nie ma takiego pliku ani katalog
u
In file included from /lib/modules/2.6.23.1/build/include/asm/system.h:7,
from /lib/modules/2.6.23.1/build/include/asm/processor.h:18,
from /lib/modules/2.6.23.1/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.23.1/build/include/linux/list.h:8,
from /lib/modules/2.6.23.1/build/include/linux/wait.h:22,
from /lib/modules/2.6.23.1/build/include/linux/poll.h:9,
from ./h/plustek_sysdep.h:92,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/asm/cmpxchg.h: In function ‘__set_64bit_var’:
/lib/modules/2.6.23.1/build/include/asm/cmpxchg.h:57: warning: dereferencing type-punned pointer wi
ll break strict-aliasing rules
/lib/modules/2.6.23.1/build/include/asm/cmpxchg.h:57: warning: dereferencing type-punned pointer wi
ll break strict-aliasing rules
In file included from /lib/modules/2.6.23.1/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.23.1/build/include/linux/list.h:8,
from /lib/modules/2.6.23.1/build/include/linux/wait.h:22,
from /lib/modules/2.6.23.1/build/include/linux/poll.h:9,
from ./h/plustek_sysdep.h:92,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/asm/processor.h: At top level:
/lib/modules/2.6.23.1/build/include/asm/processor.h:83: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclar
ed here (not in a function)
/lib/modules/2.6.23.1/build/include/asm/processor.h:83: error: requested alignment is not a constan
t
/lib/modules/2.6.23.1/build/include/asm/processor.h: In function ‘cpuid_count’:
/lib/modules/2.6.23.1/build/include/asm/processor.h:611: warning: pointer targets in passing argume
nt 1 of ‘native_cpuid’ differ in signedness
/lib/modules/2.6.23.1/build/include/asm/processor.h:611: warning: pointer targets in passing argume
nt 2 of ‘native_cpuid’ differ in signedness
/lib/modules/2.6.23.1/build/include/asm/processor.h:611: warning: pointer targets in passing argume
nt 3 of ‘native_cpuid’ differ in signedness
/lib/modules/2.6.23.1/build/include/asm/processor.h:611: warning: pointer targets in passing argume
nt 4 of ‘native_cpuid’ differ in signedness
In file included from /lib/modules/2.6.23.1/build/include/linux/sched.h:54,
from /lib/modules/2.6.23.1/build/include/linux/poll.h:12,
from ./h/plustek_sysdep.h:92,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:33:3: error: #error You lose.
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
/lib/modules/2.6.23.1/build/include/linux/jiffies.h:225:31: error: division by zero in #if
In file included from /lib/modules/2.6.23.1/build/include/linux/aio.h:5,
from /lib/modules/2.6.23.1/build/include/linux/sched.h:298,
from /lib/modules/2.6.23.1/build/include/linux/poll.h:12,
from ./h/plustek_sysdep.h:92,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/linux/workqueue.h: In function ‘cancel_delayed_work’:
/lib/modules/2.6.23.1/build/include/linux/workqueue.h:165: warning: dereferencing type-punned point er will break strict-aliasing rules
In file included from /lib/modules/2.6.23.1/build/include/linux/poll.h:12,
from ./h/plustek_sysdep.h:92,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/linux/sched.h: In function ‘dequeue_signal_lock’:
/lib/modules/2.6.23.1/build/include/linux/sched.h:1508: warning: implicit declaration of function ‘ local_irq_save’
/lib/modules/2.6.23.1/build/include/linux/sched.h:1510: warning: implicit declaration of function ‘ local_irq_restore’
In file included from ./h/plustek_sysdep.h:147,
from ./h/plustek_scan.h:60,
from src/dac.c:48:
/lib/modules/2.6.23.1/build/include/asm/io.h: In function ‘virt_to_phys’:
/lib/modules/2.6.23.1/build/include/asm/io.h:77: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
/lib/modules/2.6.23.1/build/include/asm/io.h:77: error: (Each undeclared identifier is reported onl y once
/lib/modules/2.6.23.1/build/include/asm/io.h:77: error: for each function it appears in.)
/lib/modules/2.6.23.1/build/include/asm/io.h: In function ‘phys_to_virt’:
/lib/modules/2.6.23.1/build/include/asm/io.h:95: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
make: *** [obj/dac.o] Błąd 1