You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.
When trying to compile on macOS 10.13 I got the following errors:
cc -I/usr/local/include/osxfuse -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -DFUSE_USE_VERSION=27 -I. -I../common/linux -I../common
/linux/kernel/include -I../common/linux/kernel/fs -I../common/unixfs -g unixfs_ufs.c -c -o unixfs_ufs.o
In file included from unixfs_ufs.c:7:
In file included from ./ufs.h:18:
../common/linux/kernel/fs/ufs/swab.h:28:6: warning: implicit declaration of function 'UFS_SB' is invalid in C99 [-Wimplicit-function-declaration]
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
^
../common/linux/kernel/fs/ufs/swab.h:28:19: error: member reference type 'int' is not a pointer
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
~~~~~~~~~~~ ^
../common/linux/kernel/fs/ufs/swab.h:37:19: error: member reference type 'int' is not a pointer
if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE)
~~~~~~~~~~~ ^
../common/linux/kernel/fs/ufs/swab.h:46:19: error: member reference type 'int' is not a pointer
I worked around it by editing swab.h and adding #include "ufs.h" at the top which allowed it to build. I'm not sure if that's the right approach though...
The text was updated successfully, but these errors were encountered:
This repository contains legacy demo file systems that are unmaintained. Therefore I'm closing the issue. Please refer to https://github.com/macfuse/demo for maintained demo file systems.
When trying to compile on macOS 10.13 I got the following errors:
I worked around it by editing swab.h and adding #include "ufs.h" at the top which allowed it to build. I'm not sure if that's the right approach though...
The text was updated successfully, but these errors were encountered: