[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange Error
I am having the strangest of errors.I have changed ext3 fs to ext3cow
which is ext3 with a Copy-On-Write. But this problem is unrelated to COW
or Ext3. The original vanilla ext3 directory is as it was. My directory
is called ext3cow and is also in ../fs/ directory. Here are the steps I
used to reproduce the error :-
1.Took a vanilla 2.6.10 and did a xconfig with a working .config.
2. Did make bzImage and it complied successfully.
3. Put a new directory in ../fs/ called ext3cow which has my modified ext3.
4. Changed Kconfig in ../fs/ directory so give a new COW option.
(I assume that this is only for display and for setting a kernel option
and dosen't change anything else. Moreover, I have unchecked this option
for now.)
5. Did xconfig again and saw the new ext3 option in the GUI. But did not
set it.
6. Did make bzImage and it complied successfully.
7. Added a new line in ../fs/Makefile as
obj-$(CONFIG_EXTCOW3_FS) += extcow3/
after the line
obj-$(CONFIG_EXT3_FS) += ext3/
8. Did a Makefile and it gave strange errors related to ext3.
Here is the log:-
[root@postel linux-2.6.10]# make bzImage
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
CC fs/ext3/balloc.o
In file included from fs/ext3/balloc.c:18:
include/linux/ext3_fs.h: In function `ext3_raw_inode':
include/linux/ext3_fs.h:676: error: dereferencing pointer to incomplete type
include/linux/ext3_fs.h: At top level:
include/linux/ext3_fs.h:714: error: syntax error before '*' t......
9. Took off the line in ../fs/Makefile, saved and quit the Makefile.
(Actually first just commented and then also deleted the lines)
10. The same above errors persist, even after restoring Makefile.
Any pointers?
Thanks,
Harsha Srinath
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/