Re: [2.5.54-dj1-bk] Some interesting experiences...

Joshua Kwan (joshk@ludicrus.ath.cx)
Tue, 7 Jan 2003 21:56:30 -0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-12176-1042006048-0001-2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Ok, the problem is with scsi.h.
In a typedef for SCSI LUNs 'u8' is used, but not defined - either
'typedef u_int8_t u8' outside of the struct, or changing the
declaration to u_int8_t works. Thanks Misha...

Not sure whose repository this bug belongs to, it's either
linux-dj/linux-2.5 or linux/linux-2.5. The error is at line 185 of
scsi.h.

Regards
Josh

Rabid cheeseburgers forced Joshua Kwan<joshk@ludicrus.ath.cx> to write
this on Tue, 7 Jan 2003 20:43:03-0800:

> No, it's not fixed...
>
> joshk@fuuma:~/pcmcia-cs-3.2.4$ make all
> cc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn
> -I../include/static -I/usr/src/linux-2.5/include -I../include
> -I../modules -c cardmgr.c In file included from cardmgr.c:200:
> /usr/src/linux-2.5/include/scsi/scsi.h:185: parse error before "u8"
> /usr/src/linux-2.5/include/scsi/scsi.h:185: warning: no semicolon at
> end of struct or union
> /usr/src/linux-2.5/include/scsi/scsi.h:186: warning: type defaults to
> `int' in declaration of `ScsiLun'
> /usr/src/linux-2.5/include/scsi/scsi.h:186: warning: data
> definition has no type or storage class
> make[1]: *** [cardmgr.o] Error 1
> make[1]: Leaving directory `/home/joshk/pcmcia-cs-3.2.4/cardmgr'
>
> But is this a problem with scsi.h itself?
>
> Regards
> Josh
>
> Rabid cheeseburgers forced dhinds <dhinds@sonic.net> to write this on
> Tue, 7 Jan 2003 17:58:01 -0800:
>
> > On Tue, Jan 07, 2003 at 05:21:46PM -0800, Joshua Kwan wrote:
> >
> > > 2. [linux-2.5] pcmcia-cs 3.2.3 will no longer build: here is the
> > > build log, pertinent details only.
> > >
> > > cc -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn
> > > -I../include/static -I/usr/src/linux-2.5/include -I../include
> > > -I../modules -c cardmgr.c
> > > In file included from cardmgr.c:200:
> > > /usr/src/linux-2.5/include/scsi/scsi.h:185: parse error before
> > > "u8"
> >
> > This should be fixed in the current beta for 3.2.4 available from
> > http://pcmcia-cs.sourceforge.net/ftp/NEW.
> >
> > -- Dave
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-kernel" in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
> --
> Joshua Kwan
> joshk@mspencer.net
> pgp public key at http://joshk.mspencer.net/pubkey_gpg.asc
>
> It's hard to keep your shirt on when you're getting something off your
> chest.
>

-- 
Joshua Kwan
joshk@mspencer.net
pgp public key at http://joshk.mspencer.net/pubkey_gpg.asc
 
It's hard to keep your shirt on when you're getting something off your
chest. 

--=_courier-12176-1042006048-0001-2 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+G72Q6TRUxq22Mx4RAqYNAKCLh10xmlxJbCH2HsDPr9qHH/r9vQCgpSux ungyRDxnURi1Y3uoXZTMPAU= =FIOI -----END PGP SIGNATURE-----

--=_courier-12176-1042006048-0001-2--