Re: can't compile udf

From: Randy.Dunlap
Date: Fri Oct 24 2003 - 14:17:28 EST


On Fri, 24 Oct 2003 12:56:42 +0000 Giuseppe <gdm84@xxxxxxxxxxx> wrote:

| I can't compile udf filesystem support with 2.6-test8 (i compiled it in
| test6); this is what i get:
|
| CC fs/udf/super.o
| fs/udf/super.c: In function `udf_parse_options':
| fs/udf/super.c:327: `opt' undeclared (first use in this function)
| fs/udf/super.c:327: (Each undeclared identifier is reported only once
| fs/udf/super.c:327: for each function it appears in.)
| fs/udf/super.c:332: `val' undeclared (first use in this function)
| fs/udf/super.c:310: warning: unused variable `p'
| fs/udf/super.c:311: warning: unused variable `option'
| fs/udf/udf_i.h: At top level:
| fs/udf/super.c:282: warning: `tokens' defined but not used
| make[2]: *** [fs/udf/super.o] Error 1
|
| I tried to compile it as a module and inside the kernel too. Please help me!

It looks like you have a confuzed source file. Did you download the
kernel tarball or apply bk patches or apply cvs patches or what?

These errors make no sense for 2.6.0-test8. The messages are not
correct for that kernel version.
Also, I have built it successfully.

If you continue to have these errors after checking the source file,
please send me your .config file.
Maybe compare your fs/udf/super.c file to the one here:
http://linus.bkbits.net:8080/linux-2.5/anno/fs/udf/super.c@xxxx?nav=index.html|src/|src/fs|src/fs/udf


--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/