Hi Benjamin: thanks for replying in spite of your busy schedule, that definitely helps. I must have made a significant mistake; I'm not using a Power PC at all, I have a brand new Intel Macbook Pro. Moreover, I could not find a single instance of '-arch ppc' in the make file.
Why does it think I'm using PPC? Where are things are misconfigured? Thanks. -JP On Sun, May 22, 2011 at 3:27 AM, Benjamin Fleischer <[email protected]>wrote: > Hi JP, > > I'm kind of busy at the moment, but since nobody has answered your request > and you are using code from my repository I feel obligated to at least point > you in the right direction. > > Am 22.05.2011 um 01:59 schrieb JP Lew: > > > Hi there: > > > > I am trying to install sshfs following these instructions: > > http://code.google.com/p/macfuse/wiki/HOWTO > > > > In spite of my noobness, I got as far as the "make" step, until I got > > this error: > > > > [ 04:13:45 ~/sshfs-fuse-2.2 ] > make > > make all-am > > gcc -O0 -g -arch i386 -arch ppc -isysroot /Developer/SDKs/ > > MacOSX10.6.sdk -I/usr/local/include -D__FreeBSD__=10 - > > DDARWIN_SEMAPHORE_COMPAT -DSSH_NODELAY_WORKAROUND -Wall -W -Icompat - > > Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch ppc -L/ > > usr/local/lib -o sshfs sshfs-sshfs.o sshfs-cache.o sshfs-fuse_opt.o - > > pthread -L/usr/local/lib -lfuse -liconv -lgthread-2.0 -lglib-2.0 - > > lintl > > The MacFUSE release you downloaded will not run on PowerPC Macs if compiled > with default settings. But here you are building sshfs for architecture ppc > (PowerPC) and try to link it against libfuse, which does not contain any ppc > code. Basically, to fix this you have to remove every > -arch ppc > from your Makefile. > > > ld: warning: in /Developer/SDKs/MacOSX10.6.sdk/usr/local/lib/ > > libfuse.dylib, missing required architecture ppc in file > > Undefined symbols for architecture ppc: > > "_fuse_main_real", referenced from: > > _sshfs_fuse_main in sshfs-sshfs.o > > "_fuse_sem_init", referenced from: > > _sftp_request_send in sshfs-sshfs.o > > _submit_read in sshfs-sshfs.o > > "_fuse_version", referenced from: > > _main in sshfs-sshfs.o > > "_fuse_sem_post", referenced from: > > _clean_req in sshfs-sshfs.o > > _process_one_request in sshfs-sshfs.o > > _sshfs_read_end in sshfs-sshfs.o > > _wait_chunk in sshfs-sshfs.o > > "_fuse_sem_destroy", referenced from: > > _request_free in sshfs-sshfs.o > > _chunk_free in sshfs-sshfs.o > > "_fuse_sem_wait", referenced from: > > _sftp_request_wait in sshfs-sshfs.o > > _wait_chunk in sshfs-sshfs.o > > "_fuse_is_lib_option", referenced from: > > _main in sshfs-sshfs.o > > ld: symbol(s) not found for architecture ppc > > collect2: ld returned 1 exit status > > lipo: can't open input file: /var/folders/3Z/3ZKeYOe-EPKf-I0xxHqnUE++ > > +TI/-Tmp-//ccYwkogq.out (No such file or directory) > > make[1]: *** [sshfs] Error 1 > > make: *** [all] Error 2 > > > > I compiled all the following myself: > > Macfuse 2.1.11 (https://github.com/bfleischer/macfuse) > > pkg-config-0.25 > > glib-2.28.6 > > gettext-0.18.1.1 > > -- > 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. > > > -- 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.
