[1968] in linux-scsi channel archive
Iomega Zip new Driver
daemon@ATHENA.MIT.EDU (Albatross)
Mon Jun 9 13:58:27 1997
Date: Mon, 09 Jun 1997 19:53:30 +0200 (MET DST)
From: Albatross <mercury@digicron.com>
To: linux-scsi@vger.rutgers.edu
Hi all,
To get better perfomance from my iomega zip I've downloaded the new ppa module
(now I'm using the driver delivered with Kernel 2.0.27), I've unzipped And
copied ppa.c ppa.h from .../ppa_1_21/ppa_parport/ to
/usr/src/linux//drivers/scsi.
I started compilation but when I typed `make modules` at the end I found the
following error message:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-streng
th-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
-DCPU=586 -DMODULE -DMODVERSIO
NS -include /usr/src/linux/include/linux/modversions.h -c -o ppa.o ppa.c
In file included from ppa.c:101:
ppa.h:38: linux/parport.h: No such file or directory
ppa.c: In function `ppa_wakeup':
ppa.c:193: warning: implicit declaration of function `parport_claim'
ppa.c: In function `ppa_release':
ppa.c:205: warning: implicit declaration of function `parport_unregister_device'
ppa.c: In function `ppa_pb_claim':
ppa.c:216: dereferencing pointer to incomplete type
ppa.c: In function `ppa_disconnect':
ppa.c:239: dereferencing pointer to incomplete type
ppa.c:246: warning: implicit declaration of function `parport_release'
ppa.c: In function `ppa_connect':
ppa.c:261: dereferencing pointer to incomplete type
ppa.c: In function `ppa_select':
ppa.c:281: dereferencing pointer to incomplete type
ppa.c: In function `ppa_wait':
ppa.c:331: dereferencing pointer to incomplete type
ppa.c: In function `ppa_init':
ppa.c:367: dereferencing pointer to incomplete type
ppa.c: In function `ppa_send_command':
ppa.c:402: dereferencing pointer to incomplete type
ppa.c:402: dereferencing pointer to incomplete type
ppa.c:402: dereferencing pointer to incomplete type
ppa.c:402: dereferencing pointer to incomplete type
ppa.c: In function `ppa_out':
ppa.c:472: dereferencing pointer to incomplete type
ppa.c: In function `ppa_in':
ppa.c:566: dereferencing pointer to incomplete type
ppa.c: In function `ppa_engine':
ppa.c:742: dereferencing pointer to incomplete type
ppa.c: In function `ppa_reset':
ppa.c:851: dereferencing pointer to incomplete type
ppa.c: In function `ppa_detect':
ppa.c:911: warning: implicit declaration of function `parport_enumerate'
ppa.c:911: warning: initialization makes pointer from integer without a cast
ppa.c:916: dereferencing pointer to incomplete type
ppa.c:920: warning: implicit declaration of function `parport_register_device'
ppa.c:921: `PARPORT_DEV_TRAN' undeclared (first use this function)
ppa.c:921: (Each undeclared identifier is reported only once
ppa.c:921: for each function it appears in.)
ppa.c:921: warning: assignment makes pointer from integer without a cast
ppa.c:926: dereferencing pointer to incomplete type
ppa.c:929: dereferencing pointer to incomplete type
ppa.c:932: `PARPORT_MODE_EPP' undeclared (first use this function)
ppa.c:932: `PARPORT_MODE_ECPEPP' undeclared (first use this function)
ppa.c:934: `PARPORT_MODE_ECP' undeclared (first use this function)
ppa.c:937: `PARPORT_MODE_PS2' undeclared (first use this function)
ppa.c:971: dereferencing pointer to incomplete type
ppa.c:916: warning: value computed is not used
ppa.c:917: warning: `ppb' might be used uninitialized in this function
ppa.c: In function `ppa_proc_info':
ppa.c:1034: dereferencing pointer to incomplete type
make[2]: *** [ppa.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [modules] Error 2
What's wrong?
Had I to copy the makefile enclosed with the new ppa.zip to
/usr/linux/drivers/scsi too?
I didn't this beacuse: the README tells nothing about it and because I don't
know if the new Makefile has setting only for the Zip or for every scsi device.
Thanks in advance.