* 2.4.19-pre7-ac3 does not compile
@ 2002-04-30 11:20 Jean-Luc Coulon
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Luc Coulon @ 2002-04-30 11:20 UTC (permalink / raw)
To: linux-kernel
Hi !
I've the following error.
I tried several times, I get always the sig11 from cc at the same place.
make[4]: Entering directory
`/usr/src/kernel-sources-2.4.19-pre7-ac3/fs/ext2'
gcc -D__KERNEL__ -I/usr/src/kernel-sources-2.4.19-pre7-ac3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=balloc -c -o balloc.o balloc.c
balloc.c: In function `ext2_new_block':
balloc.c:524: warning: long unsigned int format, unsigned int arg (arg
4)
balloc.c:397: label `io_error' used but not defined
balloc.c:383: label `out' used but not defined
gcc: Internal compiler error: program cc1 got fatal signal 11
make[4]: *** [balloc.o] Error 1
make[4]: Leaving directory
`/usr/src/kernel-sources-2.4.19-pre7-ac3/fs/ext2'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory
`/usr/src/kernel-sources-2.4.19-pre7-ac3/fs/ext2'
make[2]: *** [_subdir_ext2] Error 2
make[2]: Leaving directory `/usr/src/kernel-sources-2.4.19-pre7-ac3/fs'
make[1]: *** [_dir_fs] Error 2
make[1]: Leaving directory `/usr/src/kernel-sources-2.4.19-pre7-ac3'
make: *** [stamp-build] Error 2
-----
Regards
Jean-Luc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.19-pre7-ac3 does not compile
@ 2002-04-30 21:32 Nicholas Petreley
0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Petreley @ 2002-04-30 21:32 UTC (permalink / raw)
To: Linux Kernel
It looks like it is just a missing brace around line 521 in fs/ext2/balloc.c
if (tmp == le32_to_cpu(gdp->bg_block_bitmap) ||
tmp == le32_to_cpu(gdp->bg_inode_bitmap) ||
in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
- sb->u.ext2_sb.s_itb_per_group))
+ sb->u.ext2_sb.s_itb_per_group)) {
ext2_error (sb, "ext2_new_block",
"Allocating block in system zone - block = %lu",
tmp);
ext2_set_bit(j, bh->b_data);
DQUOT_FREE_BLOCK(inode, 1);
goto repeat;
}
(The above is not generated by patch - I'm too lazy to do that. Just use vi
and add the dang brace - grin)
-Nick
--
***********************************************************
Nicholas Petreley http://www.VarLinux.org
nicholas@petreley.com http://www.computerworld.com
http://www.petreley.org http://www.linuxworld.com Eph 6:12
***********************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-30 21:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-30 11:20 2.4.19-pre7-ac3 does not compile Jean-Luc Coulon
-- strict thread matches above, loose matches on Subject: below --
2002-04-30 21:32 Nicholas Petreley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox