2003-02-22 09:22:11

by Ivan Gyurdiev

[permalink] [raw]
Subject: Compile error, reiserfs, 2.4.21-pre4-ac5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pre4-ac5/include -Wall
- -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
- -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
- -nostdinc -iwithprefix include -DKBUILD_BASENAME=namei -c -o namei.o namei.c
namei.c: In function `reiserfs_mkdir':
namei.c:651: label `out_failed' used but not defined
namei.c: In function `reiserfs_rmdir':
namei.c:709: `windex' undeclared (first use in this function)
namei.c:709: (Each undeclared identifier is reported only once
namei.c:709: for each function it appears in.)
namei.c: In function `reiserfs_symlink':
namei.c:863: `mode' undeclared (first use in this function)
namei.c:855: warning: unused variable `windex'
make[3]: *** [namei.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-pre4-ac5/fs/reiserfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-pre4-ac5/fs/reiserfs'
make[1]: *** [_subdir_reiserfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-pre4-ac5/fs'
make: *** [_dir_fs] Error 2

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

iD8DBQE+V0P3XQ/AjixQzHcRAsGiAJ0V2TtcCcYGKvfF8yr4OeRbTlUowwCgjcBY
eIt4xPePh79tVIt7f60lxY8=
=/pwf
-----END PGP SIGNATURE-----


2003-02-22 11:40:18

by Oleg Drokin

[permalink] [raw]
Subject: Re: Compile error, reiserfs, 2.4.21-pre4-ac5

Hello!

On Sat, Feb 22, 2003 at 04:33:27AM -0500, Ivan Gyurdiev wrote:
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pre4-ac5/include -Wall
> - -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> - -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
> - -nostdinc -iwithprefix include -DKBUILD_BASENAME=namei -c -o namei.o namei.c
> namei.c: In function `reiserfs_mkdir':
> namei.c:651: label `out_failed' used but not defined
[...]

I am unable to reproduce.
Can you please show me your kernel config.
What gcc version do you use?
Did the patch applied cleanly for you?
(look for *.rej files in fs/reiserfs)

Thank you.

Bye,
Oleg