On Sep 8, 2009, at 11:32 AM, f...@nk wrote:
> > Hello, > > After upgrading to Snow Leopard and MacFUSE 2.1.5 (Beta), I have an > issue that I didn't have before the upgrade. Each access to any > mounted fuse filesystem (even the example filesystems provided with > the fuse library), will result in an I/O error. > > For instance, the hello filesystem: > > % ./hello -d mount > unique: 0, opcode: INIT (26), nodeid: 0, insize: 56 > INIT: 7.8 > flags=0x00000000 > max_readahead=0x00100000 > INIT: 7.8 > flags=0x00000000 > max_readahead=0x00100000 > max_write=0x00400000 > unique: 0, error: 0 (Unknown error: 0), outsize: 40 > unique: 0, opcode: STATFS (17), nodeid: 1, insize: 40 > unique: 0, error: 0 (Unknown error: 0), outsize: 96 > ACCESS / 00 > unique: 1, error: -78 (Function not implemented), outsize: 16 > unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40 > unique: 2, error: 0 (Unknown error: 0), outsize: 128 > > > % ls mount > ls: mount: Input/output error This was exactly the reason why I started looking into how to compile MacFUSE. I almost forgot what I did to fix it :) When I compiled the examples myself (gcc -lfuse -o hello hello.c) it didn't work, but when I compiled the examples using ./ macfuse_buildtool.sh they worked! So I started looking what commandline the shell script uses and found out that I had to add '- mmacosx-version-min=10.5' to make it work. Don't ask my why that is, I don't even know what -mmacosx-version-min does, but I hope it helps you. tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/macfuse?hl=en -~----------~----~----~----~------~----~------~--~---
