can't compile udf
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.ofs/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!
On Fri, 24 Oct 2003 12:56:42 +0000 Giuseppe <[email protected]> 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/[email protected]?nav=index.html|src/|src/fs|src/fs/udf
--
~Randy