ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "John A. Gladkikh" <jaglad@gala.net>
To: community@altlinux.ru
Subject: Re: [Comm] scaner primax 2_add
Date: Tue, 11 Mar 2003 09:12:14 +0200
Message-ID: <20030311091214.29da07d5.jaglad@gala.net> (raw)
In-Reply-To: <200303081141.21676.LAV@VL3143.spb.edu>

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


  reply	other threads:[~2003-03-11  7:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 14:40 [Comm] scaner primax John A. Gladkikh
2003-03-05 22:35 ` Vitaly Lipatov
2003-03-06  8:08   ` John A. Gladkikh
2003-03-06 12:54   ` [Comm] scaner primax 2 John A. Gladkikh
2003-03-07  6:42   ` [Comm] scaner primax 2_add John A. Gladkikh
2003-03-08  8:41     ` Vitaly Lipatov
2003-03-11  7:12       ` John A. Gladkikh [this message]
2003-03-13 17:27         ` Vitaly Lipatov
2003-03-14  6:35           ` John A. Gladkikh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030311091214.29da07d5.jaglad@gala.net \
    --to=jaglad@gala.net \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git