Skip to contentSkip to conversation

Compile error, reiserfs, 2.4.21-pre4-ac5

DISCUSSION Ivan Gyurdiev 2 participants 2 messages Feb 22, 2003

lore
Share & tools
lore
#0 lore raw

-----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-----

#1 lore raw

Hello!

Quoted 6 lines · Ivan Gyurdiev

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