Re: Error in MAC filesystem support in 2.1.78

Todd Roy (tmr@holstein.com)
Wed, 7 Jan 1998 07:25:31 -0500


> Date: Tue, 6 Jan 1998 14:08:02 -0500
> From: Gestor de Sistemes <sistema@readysoft.es>
> Content-Type: TEXT/plain; charset=iso-8859-1
> X-Orcpt: rfc822;linux-kernel@vger.rutgers.edu
> Sender: owner-linux-kernel@vger.rutgers.edu
> Precedence: bulk
>
>
> it doesn´t compile :(
>
> /usr/src/linux-2.1.78/include/linux/hfs_fs.h: In function `hfs_drop_special':
> In file included from filesystems.c:28:
> /usr/src/linux-2.1.78/include/linux/hfs_fs.h:345: dereferencing pointer to incomplete type
> /usr/src/linux-2.1.78/include/linux/hfs_fs.h:345: dereferencing pointer to incomplete type
> make[2]: *** [filesystems.o] Error 1
>
> Pau Aliagas
> Ready Soft
>
>

This is because hfs_fs.h refers to a struct in fs/hfs/hfs.h. (Which is not
currently referenced). It looks like a simple oversight. A *temporary* fix
to allow you to compile is to add #include "fs/hfs.h" right before
#include <linux/hfs_fs.h> in filesystems.c. Another solution is
to omit hfs entirely and compile the still available separate source
as a module.

-- todd --