How did you configure it for compilation? You're missing some things in your CFLAGS.
Doesn't look like you followed instructions for building sshfs in the HOWTO: http://code.google.com/p/macfuse/wiki/HOWTO Amit On Nov 6, 9:36 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to build the latest MacFuse on Leopard from source. So far > I have built fuse and now I want to build SSHFS. I am running in the > following error during the build process: > > if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DFUSE_USE_VERSION=26 > -DLIBDIR=\"/usr/local/lib\" -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 - > I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/fuse - > g -O2 -Wall -W -Icompat -MT sshfs-fuse_opt.o -MD -MP -MF ".deps/sshfs- > fuse_opt.Tpo" -c -o sshfs-fuse_opt.o `test -f 'compat/fuse_opt.c' || > echo './'`compat/fuse_opt.c; \ > then mv -f ".deps/sshfs-fuse_opt.Tpo" ".deps/sshfs-fuse_opt.Po"; else > rm -f ".deps/sshfs-fuse_opt.Tpo"; exit 1; fi > gcc -Wall -dynamiclib -g -O2 -Wall -W -Icompat -install_name "/usr/ > local/lib/sshnodelay.so" sshnodelay.c -o sshnodelay.so > sshnodelay.c: In function 'connect': > sshnodelay.c:42: warning: control reaches end of non-void function > sshfs.c:138: error: syntax error before 'sem_t' > sshfs.c:138: warning: no semicolon at end of struct or union > sshfs.c:148: error: syntax error before '}' token > sshfs.c:151: error: syntax error before 'sem_t' > > And a host of whole other errors. This problem is related to the > definition in fuse_darwin.h somehow, because if I build using > semaphore.h it builds at least (Haven't tested it though). I have > applied the patch that comes with the with the 1.0.0 release from > subversion and I have checked the source and it looks kosher to me at > that line (138), so I am at loss here what to do to check what the > real issue is. Any help would be appreciated. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" 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-devel?hl=en -~----------~----~----~----~------~----~------~--~---
