Archie Cobbs wrote 2009-10-20 15.58: > #3. If stuff doesn't work, edit /usr/local/lib/pkgconfig/fuse.pc and > change "-lfuse" to "-lfuse_ino64", then repeat step #2 and rebuild >
Instead of guessing between '-lfuse' and '-lfuse_ino64' you could of course explicitly define which version of struct stat you want to use in the program, and then simply link to the corresponding fuse library. If you open sys/stat.h, you'll see that if you define __DARWIN_64_BIT_INO_T to 1 before including the header, you'll get the 64-bit inode version of struct stat (and so you can link with -lfuse_ino64), and when you define __DARWIN_64_BIT_INO_T to 0, you will get the old stat structure with 32-bit inode numbers (and so you can link with -lfuse). For compatibility with Mac OS X 10.4 you would need to use the 32-bit inodes version. Regards, - Erik --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
