From: Pete Clements <clem@clem.digital.net>
To: linux-kernel@vger.kernel.org (linux-kernel)
Subject: 2.5.6-pre2 fails compile [ide.c]
Date: Thu, 28 Feb 2002 18:11:47 -0500 (EST) [thread overview]
Message-ID: <200202282311.SAA04406@clem.digital.net> (raw)
FYI:
gcc -D__KERNEL__ -I/sda3/usr/src/linux-2.5.6/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=ide -DEXPORT_SYMTAB -c ide.c
ide.c:161: parse error before `ide_pio_timings'
ide.c:161: warning: type defaults to `int' in declaration of `ide_pio_timings'
ide.c:162: warning: braces around scalar initializer
ide.c:162: warning: (near initialization for `ide_pio_timings[0]')
ide.c:162: warning: excess elements in scalar initializer
ide.c:162: warning: (near initialization for `ide_pio_timings[0]')
ide.c:162: warning: excess elements in scalar initializer
ide.c:162: warning: (near initialization for `ide_pio_timings[0]')
ide.c:163: warning: braces around scalar initializer
ide.c:163: warning: (near initialization for `ide_pio_timings[1]')
ide.c:163: warning: excess elements in scalar initializer
ide.c:163: warning: (near initialization for `ide_pio_timings[1]')
ide.c:163: warning: excess elements in scalar initializer
ide.c:163: warning: (near initialization for `ide_pio_timings[1]')
ide.c:164: warning: braces around scalar initializer
ide.c:164: warning: (near initialization for `ide_pio_timings[2]')
ide.c:164: warning: excess elements in scalar initializer
ide.c:164: warning: (near initialization for `ide_pio_timings[2]')
ide.c:164: warning: excess elements in scalar initializer
ide.c:164: warning: (near initialization for `ide_pio_timings[2]')
ide.c:165: warning: braces around scalar initializer
ide.c:165: warning: (near initialization for `ide_pio_timings[3]')
ide.c:165: warning: excess elements in scalar initializer
ide.c:165: warning: (near initialization for `ide_pio_timings[3]')
ide.c:165: warning: excess elements in scalar initializer
ide.c:165: warning: (near initialization for `ide_pio_timings[3]')
ide.c:166: warning: braces around scalar initializer
ide.c:166: warning: (near initialization for `ide_pio_timings[4]')
ide.c:166: warning: excess elements in scalar initializer
ide.c:166: warning: (near initialization for `ide_pio_timings[4]')
ide.c:166: warning: excess elements in scalar initializer
ide.c:166: warning: (near initialization for `ide_pio_timings[4]')
ide.c:167: warning: braces around scalar initializer
ide.c:167: warning: (near initialization for `ide_pio_timings[5]')
ide.c:167: warning: excess elements in scalar initializer
ide.c:167: warning: (near initialization for `ide_pio_timings[5]')
ide.c:167: warning: excess elements in scalar initializer
ide.c:167: warning: (near initialization for `ide_pio_timings[5]')
ide.c:168: warning: data definition has no type or storage class
ide.c:307: parse error before `ide_pio_data_t'
ide.c:308: warning: function declaration isn't a prototype
ide.c: In function `ide_get_best_pio_mode':
ide.c:312: `drive' undeclared (first use in this function)
ide.c:312: (Each undeclared identifier is reported only once
ide.c:312: for each function it appears in.)
ide.c:316: `mode_wanted' undeclared (first use in this function)
ide.c:361: request for member `cycle_time' in something not a structure or union
ide.c:365: `max_mode' undeclared (first use in this function)
ide.c:369: `d' undeclared (first use in this function)
ide.c:371: request for member `cycle_time' in something not a structure or union
ide.c:309: warning: `pio_mode' might be used uninitialized in this function
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/sda3/usr/src/linux-2.5.6/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/sda3/usr/src/linux-2.5.6/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/sda3/usr/src/linux-2.5.6/drivers'
make: *** [_dir_drivers] Error 2
--
Pete Clements
clem@clem.digital.net
reply other threads:[~2002-02-28 23:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200202282311.SAA04406@clem.digital.net \
--to=clem@clem.digital.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®