[Comm] scaner primax 2_add

John A. Gladkikh =?iso-8859-1?q?jaglad_=CE=C1_gala=2Enet?=
Вт Мар 11 10:12:14 MSK 2003


> Нужно разобраться с 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



Подробная информация о списке рассылки community