From: Joshua Kwan <joshk@ludicrus.ath.cx>
To: dhinds@sonic.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5.54-dj1-bk] Some interesting experiences...
Date: Tue, 7 Jan 2003 21:56:30 -0800 [thread overview]
Message-ID: <20030107215630.6f8bd876.joshk@ludicrus.ath.cx> (raw)
In-Reply-To: <20030107204303.2dd901ca.joshk@ludicrus.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 2641 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-01-08 5:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 1:21 Joshua Kwan
2003-01-08 1:51 ` Anders Gustafsson
2003-01-08 8:52 ` Vojtech Pavlik
2003-01-09 20:04 ` Anders Gustafsson
2003-01-09 21:02 ` Joshua Kwan
2003-01-08 1:58 ` dhinds
2003-01-08 4:43 ` Joshua Kwan
2003-01-08 5:56 ` Joshua Kwan [this message]
2003-01-08 6:16 ` dhinds
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=20030107215630.6f8bd876.joshk@ludicrus.ath.cx \
--to=joshk@ludicrus.ath.cx \
--cc=dhinds@sonic.net \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®