gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=fdomain_stub -c -o fdomain_stub.o fdomain_stub.c
fdomain_stub.c:98: unknown field `abort' specified in initializer
fdomain_stub.c:98: warning: initialization from incompatible pointer type
fdomain_stub.c:98: unknown field `reset' specified in initializer
fdomain_stub.c:98: warning: initialization from incompatible pointer type
make[3]: *** [fdomain_stub.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5/drivers/scsi/pcmcia'
On Tue, Jun 04, 2002 at 11:42:18AM -0700, Miles Lane wrote:
> gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=fdomain_stub -c -o fdomain_stub.o fdomain_stub.c
> fdomain_stub.c:98: unknown field `abort' specified in initializer
> fdomain_stub.c:98: warning: initialization from incompatible pointer type
> fdomain_stub.c:98: unknown field `reset' specified in initializer
> fdomain_stub.c:98: warning: initialization from incompatible pointer type
> make[3]: *** [fdomain_stub.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5/drivers/scsi/pcmcia'
You should be able to compile it by setting the
CONFIG_BROKEN_SCSI_ERROR_HANDLING config option.
-- Patrick Mansfield
On Tue, 2002-06-04 at 11:46, Patrick Mansfield wrote:
> On Tue, Jun 04, 2002 at 11:42:18AM -0700, Miles Lane wrote:
> > gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=fdomain_stub -c -o fdomain_stub.o fdomain_stub.c
> > fdomain_stub.c:98: unknown field `abort' specified in initializer
> > fdomain_stub.c:98: warning: initialization from incompatible pointer type
> > fdomain_stub.c:98: unknown field `reset' specified in initializer
> > fdomain_stub.c:98: warning: initialization from incompatible pointer type
> > make[3]: *** [fdomain_stub.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux-2.5/drivers/scsi/pcmcia'
>
> You should be able to compile it by setting the
> CONFIG_BROKEN_SCSI_ERROR_HANDLING config option.
Thanks Patrick,
The compile still breaks with that option enabled,
but it looks like that driver still hasn't been
ported to the current 2.5 api.
../fdomain.c: In function `do_fdomain_16x0_intr':
../fdomain.c:1568: structure has no member named `address'
../fdomain.c:1601: structure has no member named `address'
../fdomain.c: In function `fdomain_16x0_queue':
../fdomain.c:1687: structure has no member named `address'