plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Trouble making and installing driver with Mandrake 8.0
From: Dave Croal
Date: Sat, 16 Jun 2001 15:46:54 -0400 (EDT)

Hi,

Sorry for the delay, I was travelling this week.  The unresolved symbols I
get plus the output of the debug (from compiling with my stock
2.4.3mdk kernel) are at the bottom of this message.

More importantly, I took your suggestion and disabled IEEE 1284 transfer
modes on a new 2.4.4 kernel. When I make the plustek driver under the new
kernel it worked!!

So now I am back in business with my OpticPro 4800P. Thank you for your
advice and patience.

Best regards,
Dave Croal


On Mon, 11 Jun 2001, Jaeger, Gerhard wrote:

> Hi there,
>
> in version 0.39, I removed the stuff with the delay issue. Instead
> of that there's a module switch called slowIO which might be set
> to 1 to use the delayed I/O operations.
>
> Dave can you please enable the debug messages (see makefile of the driver) and
> send the output to the list?
> I think you might have some problems with the IEEE1284 autodetection
> of parport devices, which is now part of the 2.4.x kernel.
> To work around this problem, you have to disable this stuff in your
> kernel-configuration (see parport menu entry).
>
> Hope this helps
> Gerhard
>
> On Mon, 11 Jun 2001, Dave Croal wrote:
> > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
> >
> > On 6/8/01, 4:44:50 PM, kevin <kjsisson@bellsouth.net> wrote regarding Re:
> > Trouble making and installing driver with Mandrake 8.0:
> >
> >
> > > Dave Croal wrote:
> > > >
> > > >
> > > > I checked that parport_pc is loaded.
> > > > Proc fs is enabled and mounted too.
> > > >
> > > > I don't get unresolved symbols today, now I get:
> > > >
> > > > [root@croalnotebook plustek_driver]# make load
> > > > /sbin/modprobe pt_drv || exit 1
> > > > /lib/modules/2.4.3-20mdk-win4lin/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.3-20mdk-win4lin/misc/pt_drv.o: insmod
> > > > /lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o failed
> > > > /lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: insmod pt_drv failed
> > > > make: *** [load] Error 1
> > > >
> > > > IIRC it is after a reboot that the  unresolved symbols happen. BTW I did
> > > > update my modules.conf and did run depmod.
> > > >
> > > > I also noticed that make load fails to create the /dev/pt_drv* nodes,
> > > > guess it doesn't make it that far.
> > > >
> > > > Are you willing to send me a copy of your pt_drv.o to try? I am running
> > > > gcc 2.96,  kernel 2.4.3mdk stock on an AMD K6-450 (i586).
> > > >
> > > > Am willing to try any and all legal suggestions. Thanks for your help.
> > > >
> > > > Dave Croal
> >
> >
> > > I will send it to you if you want, but I have the debug turned on
> > > so it is large (~2 MB). I will first rebuild it with debug off so
> > > it is smaller and check that that works. The other thing you could
> > > check is in the ../h/plustek_scan.h file, near the beginning. Just
> > > before the
> >
> > >  #define _OUTB_CTRL..      outb_p...
> >
> > > statements there is an
> >
> > > #if 1 or #if 0 statement.
> >
> > > If it is 0, change it to 1 and rebuild the driver. I would also be
> > > sure the outb (lower case on right hand side of statement) is
> > > outb_p (same for inb -> inb_p). There seem to be timing issues
> > > involved here; I have only had consistent success with the outb_p
> > > statements (they put in a slight delay). Since the /dev/pt_drv do
> > > not seem to be created by the install, you might want to create
> > > them by hand (mknod /dev/pt_drv c 40 0 at least).
> >
> > >       Kevin
> >
> > I believe ../h/plustek_scan.h is compliant with your suggestions in the
> > original tarball (see below) but no luck yet. Will keep trying, thanks
> > for your help. For now I have hooked my OpticPro 4800P up to another box
> > running 2.2.17mdk, no problems there at all.
> >
> > Regards,
> > Dave Croal
> >

Output from make load:
# make load
/sbin/modprobe pt_drv || exit 1
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
create_proc_entry_R1e0e90f1
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
boot_cpu_data_R0657d037
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
proc_mkdir_Rb2518839
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
proc_root_R9b868750
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
remove_proc_entry_R339672d0
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: unresolved symbol
register_chrdev_Rbad8acdf
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: insmod
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o failed
/lib/modules/2.4.3-20mdk-win4lin/misc/pt_drv.o: insmod pt_drv failed
make: *** [load] Error 1


Logged output from make:
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -M ./src/*.c > .depend
In file included from h/plustek_scan.h:166,
                 from ./src/dac.c:47:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/dac.c:47:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/detect.c:45:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/detect.c:45:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/genericio.c:52:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/genericio.c:52:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/image.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/image.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
./src/image.c:1614:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/io.c:39:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/io.c:39:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/map.c:46:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/map.c:46:
h/plustek_procs.h:228:79: warning: no newline at end of file
./src/map.c:306:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/misc.c:50:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/misc.c:50:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/models.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/models.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/motor.c:55:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/motor.c:55:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/p12.c:33:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/p12.c:33:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/p12ccd.c:34:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/p12ccd.c:34:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/p48xx.c:56:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/p48xx.c:56:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/p9636.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/p9636.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/procfs.c:35:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/procfs.c:35:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/ptdrv.c:77:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/ptdrv.c:77:
h/plustek_procs.h:228:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/scale.c:38:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/scale.c:38:
h/plustek_procs.h:228:79: warning: no newline at end of file
./src/scale.c:133:79: warning: no newline at end of file
In file included from h/plustek_scan.h:166,
                 from ./src/tpa.c:46:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from ./src/tpa.c:46:
h/plustek_procs.h:228:79: warning: no newline at end of file
./src/tpa.c:1150:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/dac.c -o obj/dac.o
In file included from h/plustek_scan.h:166,
                 from src/dac.c:47:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/dac.c:47:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/detect.c -o obj/detect.o
In file included from h/plustek_scan.h:166,
                 from src/detect.c:45:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/detect.c:45:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/genericio.c -o obj/genericio.o
In file included from h/plustek_scan.h:166,
                 from src/genericio.c:52:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/genericio.c:52:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/image.c -o obj/image.o
In file included from h/plustek_scan.h:166,
                 from src/image.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/image.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
src/image.c:1614:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/map.c -o obj/map.o
In file included from h/plustek_scan.h:166,
                 from src/map.c:46:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/map.c:46:
h/plustek_procs.h:228:79: warning: no newline at end of file
src/map.c:306:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/misc.c -o obj/misc.o
In file included from h/plustek_scan.h:166,
                 from src/misc.c:50:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/misc.c:50:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/models.c -o obj/models.o
In file included from h/plustek_scan.h:166,
                 from src/models.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/models.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/io.c -o obj/io.o
In file included from h/plustek_scan.h:166,
                 from src/io.c:39:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/io.c:39:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/procfs.c -o obj/procfs.o
In file included from h/plustek_scan.h:166,
                 from src/procfs.c:35:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/procfs.c:35:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/motor.c -o obj/motor.o
In file included from h/plustek_scan.h:166,
                 from src/motor.c:55:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/motor.c:55:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/p9636.c -o obj/p9636.o
In file included from h/plustek_scan.h:166,
                 from src/p9636.c:53:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/p9636.c:53:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/ptdrv.c -o obj/ptdrv.o
In file included from h/plustek_scan.h:166,
                 from src/ptdrv.c:77:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/ptdrv.c:77:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/scale.c -o obj/scale.o
In file included from h/plustek_scan.h:166,
                 from src/scale.c:38:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/scale.c:38:
h/plustek_procs.h:228:79: warning: no newline at end of file
src/scale.c:133:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/tpa.c -o obj/tpa.o
In file included from h/plustek_scan.h:166,
                 from src/tpa.c:46:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/tpa.c:46:
h/plustek_procs.h:228:79: warning: no newline at end of file
src/tpa.c:1150:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/p48xx.c -o obj/p48xx.o
In file included from h/plustek_scan.h:166,
                 from src/p48xx.c:56:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/p48xx.c:56:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/p12.c -o obj/p12.o
In file included from h/plustek_scan.h:166,
                 from src/p12.c:33:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/p12.c:33:
h/plustek_procs.h:228:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=39 -D_PTDRV_BUILD=4
-D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O -g -DDEBUG  -DMODULE  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c src/p12ccd.c -o obj/p12ccd.o
In file included from h/plustek_scan.h:166,
                 from src/p12ccd.c:34:
h/plustek_types.h:212:8: warning: extra tokens at end of #endif directive
h/plustek_types.h:214:79: warning: no newline at end of file
In file included from h/plustek_scan.h:169,
                 from src/p12ccd.c:34:
h/plustek_procs.h:228:79: warning: no newline at end of file
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


plustek@linuxhacker.org