View Single Post
Old 02-20-2007, 11:02 PM   #53
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by scotty1024
There are two versions of the code posted here, one is not a Universal Binary and the other one is. I'll give you one guess as to which one I think you are using.

You want the 0.2 version.

To date all FUSE filesystem plug-ins follow this basic usage pattern.
...snip good info on using the plug-in...
Scotty --
I am using the 0.2 version. The problem is that you compiled for the "ppc970" (which is to say the G5). My machine is a G4 (MDD FireWire800, to be precise). So, I get the following:
Code:
[Scipio:~/Documents/Downloads] dfsuther% ls -lt ./readerfs
-rwxr-xr-x   1 dfsuther  staff  59444 Feb 12 15:24 ./readerfs
[Scipio:~/Documents/Downloads] dfsuther% mkdir readertest
[Scipio:~/Documents/Downloads] dfsuther% ./readerfs readertest
tcsh: ./readerfs: Bad CPU type in executable.
[Scipio:~/Documents/Downloads] dfsuther% file ./readerfs
./readerfs: Mach-O fat file with 2 architectures
./readerfs (for architecture i386):     Mach-O executable i386
./readerfs (for architecture ppc970):   Mach-O executable ppc
[Scipio:~/Documents/Downloads] dfsuther%
Perhaps you might build with the -mcpu=powerpc instead of -mcpu=970 flag? Or maybe something else rather odd is happening...

Xenophon
Xenophon is offline   Reply With Quote