Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Can't build unixfs on macOS Catalina 10.15 #38

Closed
giovariot opened this issue Apr 6, 2020 · 1 comment
Closed

Can't build unixfs on macOS Catalina 10.15 #38

giovariot opened this issue Apr 6, 2020 · 1 comment

Comments

@giovariot
Copy link

When I try to build unixfs on macOS 10.15.4 with make this is what I get:

cc -I/usr/local/include/osxfuse -I../common/unixfs -I../common/linux -DFUSE_USE_VERSION=27 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -Wall -Werror -g   sysvfs.c -c -o sysvfs.o
sysvfs.c:50:27: error: taking address of packed member 's_tfree' of class or
      structure 'xenix_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_free_blocks = &sbd2->s_tfree;
                          ^~~~~~~~~~~~~
sysvfs.c:51:23: error: taking address of packed member 's_time' of class or
      structure 'xenix_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_sb_time = &sbd2->s_time;
                      ^~~~~~~~~~~~
sysvfs.c:107:27: error: taking address of packed member 's_tfree' of class or
      structure 'sysv2_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_free_blocks = &sbd->s_tfree;
                          ^~~~~~~~~~~~
sysvfs.c:108:23: error: taking address of packed member 's_time' of class or
      structure 'sysv2_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_sb_time = &sbd->s_time;
                      ^~~~~~~~~~~
sysvfs.c:132:27: error: taking address of packed member 's_tfree' of class or
      structure 'coh_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_free_blocks = &sbd->s_tfree;
                          ^~~~~~~~~~~~
sysvfs.c:133:23: error: taking address of packed member 's_time' of class or
      structure 'coh_super_block' may result in an unaligned pointer value
      [-Werror,-Waddress-of-packed-member]
    sbi->s_sb_time = &sbd->s_time;
                      ^~~~~~~~~~~
6 errors generated.
make[1]: *** [sysvfs.o] Error 1
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 -Wall -Werror -g  unixfs_ufs.c -c -o unixfs_ufs.o

How can I fix it?
Thanks in advance

@bfleischer
Copy link
Member

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.

@bfleischer bfleischer closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants