* problem compiling 2.5.30
@ 2002-08-02 16:53 Ognen Duzlevski
2002-08-03 13:06 ` Brad Heilbrun
0 siblings, 1 reply; 2+ messages in thread
From: Ognen Duzlevski @ 2002-08-02 16:53 UTC (permalink / raw)
To: linux-kernel
Hi, sorry if this popped up before. It is a redhat 7.3 box, gcc 2.96.
this happens when I include devfs into the kernel.
See below:
make[2]: Entering directory `/usr/src/linux-2.5.30/fs/partitions'
gcc -Wp,-MD,./.check.o.d -D__KERNEL__ -I/usr/src/linux-2.5.30/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=check
-DEXPORT_SYMTAB -c -o check.o check.c
check.c: In function `devfs_register_partitions':
check.c:470: array subscript is not an integer
make[2]: *** [check.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.30/fs/partitions'
make[1]: *** [partitions] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.30/fs'
make: *** [fs] Error 2
Thanks,
Ognen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problem compiling 2.5.30
2002-08-02 16:53 problem compiling 2.5.30 Ognen Duzlevski
@ 2002-08-03 13:06 ` Brad Heilbrun
0 siblings, 0 replies; 2+ messages in thread
From: Brad Heilbrun @ 2002-08-03 13:06 UTC (permalink / raw)
To: Ognen Duzlevski, Linus Torvalds; +Cc: linux-kernel, Alexander Viro
On Fri, Aug 02, 2002 at 11:53:21AM -0500, Ognen Duzlevski wrote:
> Hi, sorry if this popped up before. It is a redhat 7.3 box, gcc 2.96.
> this happens when I include devfs into the kernel.
Courtesy of a nice typo... this should fix it (not tested however).
--
Brad Heilbrun
--- ./linus-2.5/fs/partitions/check.c Thu Aug 1 22:48:50 2002
+++ ./brad-2.5/fs/partitions/check.c Sat Aug 3 05:52:29 2002
@@ -467,7 +467,7 @@
for (part = 1; part < max_p; part++) {
if ( unregister || (p[part].nr_sects < 1) ) {
devfs_unregister(p[part].de);
- dev->part[p].de = NULL;
+ p[part].de = NULL;
continue;
}
devfs_register_partition (dev, minor, part);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-03 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-02 16:53 problem compiling 2.5.30 Ognen Duzlevski
2002-08-03 13:06 ` Brad Heilbrun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox