plustek: Missing module pt_drv


Previous by date: 16 Dec 2000 21:22:00 -0000 9636t help, Douglas
Next by date: 16 Dec 2000 21:22:00 -0000 Missing module pt_drv, Karsten Giesow
Previous in thread:
Next in thread: 16 Dec 2000 21:22:00 -0000 Missing module pt_drv, Karsten Giesow

Subject: Missing module pt_drv
From: Karsten Giesow ####@####.####
Date: 16 Dec 2000 21:22:00 -0000
Message-Id: <00121622221000.03288@nathan>

Hallo,
I just want to use my Scaner . It is a Plustek Optic Pro 4831.
For the driver I downloaded the file 
plustek-sane-0_37_20.tar.gz  .
I started to configure sane. It is sane-1.0.3, I made 
in the directory of sane-1.0.3 only  "./configure" .
Everything looked okay.
Then I copied the driver plustek-sane-0_37_20 tar.gz into the sane directory.
After that I unpacked the plustek driver, change to the backend/plustek_driver
made than
make -f Makefile
make -f Makefile install
make -f Makefile unload
make -f Makefile load

But I got only that there is an error.
modprobe said, that it can't locate the moule pt_drv  .

The instruction of bringing in the scanner is from the magazine
Linux-User 12/2000.
Perhaps you have also read it.

Can you help me?

Following I copied the lines when I started to configure sane till to the end 
of 
make -f Makefile load.


Perhaps you can tell me where I made the mistake and what I must do for 
repaire.

Karsten Giesow
----------------------------------------------------
####@####.#### > ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for libintl.h... yes
checking for libc.h... no
checking for sys/dsreq.h... no
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for jconfig.h... yes
checking for sys/scanio.h... no
checking for scsi.h... no
checking for sys/scsi.h... no
checking for sys/scsicmd.h... no
checking for sys/scsiio.h... no
checking for bsd/dev/scsireg.h... no
checking for scsi/sg.h... yes
checking for /usr/src/linux/include/scsi/sg.h... yes
checking for io/cam/cam.h... no
checking for camlib.h... no
checking for os2.h... no
checking for sys/socket.h... yes
checking for sys/io.h... yes
checking for asm/io.h... yes
checking for gscdds.h... no
checking for sys/hw.h... no
checking for sys/types.h... yes
checking for sys/scsi/sgdefs.h... no
checking for sys/scsi/targets/scgio.h... no
checking for apollo/scsi.h... no
checking for sys/sdi_comm.h... no
checking for sys/passthrudef.h... no
checking for working const... yes
checking for inline... inline
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for linux/videodev.h... yes
checking Video4Linux version 1 or 2... v4l
checking for scsireq_enter in -lscsi... no
checking for cam_open_device in -lcam... no
checking for sqrt in -lm... yes
checking for gettext in -lintl... no
checking for syslog in -lsyslog... no
checking for jpeg_start_decompress in -ljpeg... yes
checking for gethostbyaddr in -lnsl... yes
checking for socket in -lsocket... no
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for atexit... yes
checking for ioperm... yes
checking for mkdir... yes
checking for scsireq_enter... no
checking for sigprocmask... yes
checking for strdup... yes
checking for strndup... yes
checking for strftime... yes
checking for strstr... yes
checking for strsep... yes
checking for strtod... yes
checking for snprintf... yes
checking for cfmakeraw... yes
checking for tcsendbreak... yes
checking for usleep... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for _portaccess... no
checking for getenv... yes
checking for isfdtype... yes
checking for vsyslog... yes
checking for ranlib... ranlib
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared 
librar
ies... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for dl.h... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 0.99.13... yes
checking for gtk_tooltips_set_tips... no
checking for gtk_events_pending... yes
checking for libgimp/gimp.h... no
enabling DC210 backend
disabling PINT backend
enabling QuickCam backend
enabling Video4Linux backend
enabling NET backend
scsi buffersize: 131072
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating sanei/Makefile
creating frontend/Makefile
creating japi/Makefile
creating backend/Makefile
creating include/Makefile
creating doc/Makefile
creating tools/Makefile
creating tools/sane-config
creating include/sane/config.h
****************************************************************
* Please be sure to read file PROBLEMS in this directory       *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************
####@####.#### > cd
root@nathan:~ > which sane
which: no sane in (/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin)
root@nathan:~ > cd /home/karsten/Scanner/sane-1.0.3
####@####.#### > tar xvzf 
plustek-sane-0_37_20.tar.gz
./backend/plustek_driver/src/dac.c
./backend/plustek_driver/src/detect.c
./backend/plustek_driver/src/genericio.c
./backend/plustek_driver/src/image.c
./backend/plustek_driver/src/io.c
./backend/plustek_driver/src/map.c
./backend/plustek_driver/src/misc.c
./backend/plustek_driver/src/models.c
./backend/plustek_driver/src/motor.c
./backend/plustek_driver/src/p48xx.c
./backend/plustek_driver/src/p9636.c
./backend/plustek_driver/src/procfs.c
./backend/plustek_driver/src/ptdrv.c
./backend/plustek_driver/src/scale.c
./backend/plustek_driver/src/transform.c
./backend/plustek_driver/h/debug.h
./backend/plustek_driver/h/drvtypes.h
./backend/plustek_driver/h/hwdefs.h
./backend/plustek_driver/h/plustek_scan.h
./backend/plustek_driver/h/procs.h
./backend/plustek_driver/h/scandata.h
./backend/plustek_driver/h/sysdep-2.1.h
./backend/plustek_driver/COPYING
./backend/plustek_driver/ChangeLog
./backend/plustek_driver/INSTALL
./backend/plustek_driver/INSTALL.GER
./backend/plustek_driver/README
./backend/plustek_driver/BUILD
./backend/plustek_driver/FAQ
./backend/plustek_driver/TODO
./backend/plustek_driver/Makefile
./backend/plustek_driver/VERSION0
./backend/plustek_driver/VERSION1
./MakeDist
./plustek.kdevprj
./backend/Makefile.in
./backend/dll.conf
./backend/plustek.desc
./backend/plustek.conf
./backend/plustek.c
./backend/plustek.h
./backend/plustek-share.h
./doc/sane-plustek.man
./doc/Makefile.in
####@####.#### > cd backend/plustek_driver/
####@####.#### > make -f 
Makefile
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -M ./src/*.c > .depend
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/dac.c -o obj/dac.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/detect.c -o obj/detect.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/genericio.c -o obj/genericio.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/image.c -o obj/image.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/map.c -o obj/map.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/misc.c -o obj/misc.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/models.c -o obj/models.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/io.c -o obj/io.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/procfs.c -o obj/procfs.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/motor.c -o obj/motor.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/p9636.c -o obj/p9636.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/ptdrv.c -o obj/ptdrv.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/scale.c -o obj/scale.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/transform.c -o obj/transform.o
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 
-D_PTDRV_V0=37 -D_PTDRV_BUILD=21 -D__KERNEL__ -I/usr/src/linux/include -I./h 
-I./.. -O2 -DMODULE  -c src/p48xx.c -o obj/p48xx.o
ld -r obj/dac.o obj/detect.o obj/genericio.o obj/image.o obj/map.o obj/misc.o 
obj/models.o obj/io.o obj/procfs.o obj/motor.o obj/p9636.o obj/ptdrv.o 
obj/scale.o obj/transform.o obj/p48xx.o -o pt_drv.o
####@####.#### > make -f 
Makefile install
mkdir -p /lib/modules/2.2.16/misc
install -c pt_drv.o /lib/modules/2.2.16/misc
####@####.#### > make -f 
Makefile unload
/sbin/modprobe -r pt_drv || exit 1
rm -f /dev/pt_drv*
####@####.#### > make -f 
Makefile load
/sbin/modprobe pt_drv || exit 1
modprobe: Can't locate module pt_drv
make: *** [load] Error 1
####@####.#### > 
----------------------------------------------------------

-- 
Karsten Giesow
Adolf-Donders-Allee 32
46419 Issleburg-Anholt
Tel.: 0172/1655696
Fax: 02874/902680

Previous by date: 16 Dec 2000 21:22:00 -0000 9636t help, Douglas
Next by date: 16 Dec 2000 21:22:00 -0000 Missing module pt_drv, Karsten Giesow
Previous in thread:
Next in thread: 16 Dec 2000 21:22:00 -0000 Missing module pt_drv, Karsten Giesow


Powered by ezmlm-browse 0.20.