From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 11 Mar 2003 09:12:14 +0200 From: "John A. Gladkikh" To: community@altlinux.ru Subject: Re: [Comm] scaner primax 2_add Message-Id: <20030311091214.29da07d5.jaglad@gala.net> In-Reply-To: <200303081141.21676.LAV@VL3143.spb.edu> References: <20030305164019.11a3265b.jaglad@gala.net> <200303060135.27842.LAV@VL3143.spb.edu> <20030307084214.2e301c35.jaglad@gala.net> <200303081141.21676.LAV@VL3143.spb.edu> Organization: Vigio X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: > Нужно разобраться с pt_drv, и всё будет нормально. > > plustek-module-0_41_5 - это самый распоследний? нет, но заявлена поддержка sane 1.0.7 > Можете прислать полный протокол сборки? см. p.s. > Компилятор gcc 2.96 стоит? gcc --version 2.96 > И что говорит > # modprobe pt_drv /sbin/modprobe pt_drv /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: init_module: Success Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o failed /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod pt_drv failed Спасибо за внимание. P.S. # make all gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -M ./src/*.c > .depend In file included from h/plustek_scan.h:167, from ./src/dac.c:49: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/detect.c:47: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/genericio.c:54: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/image.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/io.c:43: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/map.c:48: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive ./src/map.c:308:79: warning: no newline at end of file In file included from h/plustek_scan.h:167, from ./src/misc.c:53: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/models.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/motor.c:59: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/p12.c:35: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/p12ccd.c:38: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/p48xx.c:58: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/p9636.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/procfs.c:37: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/ptdrv.c:80: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive In file included from h/plustek_scan.h:167, from ./src/scale.c:40: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive ./src/scale.c:135:79: warning: no newline at end of file In file included from h/plustek_scan.h:167, from ./src/tpa.c:48: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive ./src/tpa.c:1152:79: warning: no newline at end of file gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/dac.c -o obj/dac.o In file included from h/plustek_scan.h:167, from src/dac.c:49: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/detect.c -o obj/detect.o In file included from h/plustek_scan.h:167, from src/detect.c:47: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/genericio.c -o obj/genericio.o In file included from h/plustek_scan.h:167, from src/genericio.c:54: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/image.c -o obj/image.o In file included from h/plustek_scan.h:167, from src/image.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/map.c -o obj/map.o In file included from h/plustek_scan.h:167, from src/map.c:48: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive src/map.c:308:79: warning: no newline at end of file gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/misc.c -o obj/misc.o In file included from h/plustek_scan.h:167, from src/misc.c:53: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/models.c -o obj/models.o In file included from h/plustek_scan.h:167, from src/models.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/io.c -o obj/io.o In file included from h/plustek_scan.h:167, from src/io.c:43: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/procfs.c -o obj/procfs.o In file included from h/plustek_scan.h:167, from src/procfs.c:37: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/motor.c -o obj/motor.o In file included from h/plustek_scan.h:167, from src/motor.c:59: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p9636.c -o obj/p9636.o In file included from h/plustek_scan.h:167, from src/p9636.c:55: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/ptdrv.c -o obj/ptdrv.o In file included from h/plustek_scan.h:167, from src/ptdrv.c:80: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/scale.c -o obj/scale.o In file included from h/plustek_scan.h:167, from src/scale.c:40: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive src/scale.c:135:79: warning: no newline at end of file gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/tpa.c -o obj/tpa.o In file included from h/plustek_scan.h:167, from src/tpa.c:48: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive src/tpa.c:1152:79: warning: no newline at end of file gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p48xx.c -o obj/p48xx.o In file included from h/plustek_scan.h:167, from src/p48xx.c:58: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p12.c -o obj/p12.o In file included from h/plustek_scan.h:167, from src/p12.c:35: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p12ccd.c -o obj/p12ccd.o In file included from h/plustek_scan.h:167, from src/p12ccd.c:38: h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive 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/tpa.o obj/p48xx.o obj/p12.o obj/p12ccd.o -o pt_drv.o $ make install mkdir -p /lib/modules/2.4.18-alt6master-up/misc install -c -m "644" pt_drv.o /lib/modules/2.4.18-alt6master-up/misc /sbin/depmod -a depmod: *** Unresolved symbols in /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o