Closed GoogleCodeExporter closed 8 years ago
It would greatly help if you at least mention the version of MacFUSE you are
using.
Secondly, *PLEASE* use http://groups.google.com/group/macfuse to discuss things
and to get general help on
using/developing with MacFUSE. Open a formal bug report (here) only if we have
an actual bug in MacFUSE.
By the way, your compile command line should have -D__FreeBSD__=10 instead of
just -D__FreeBSD__.
Looks like you are using an old version of Apple's Developer Tools (Xcode). The
"cmd (0x0000001b) Unknown load
command" error means that the linker is not identifying the LC_UUID load
command in the libfuse object file. There
have been similar reports where Tiger(PowerPC) kernel extension binaries
compiled with a newer version of Apple's
Developer Tools failed to load on older systems, even though they should have.
Search for "unknown cmd field" in this
section after selecting "All Issues" to search.
So now apparently we have a similar issue with libfuse. Try upgrading to the
newest Xcode for Tiger. You can download
it for free from Apple's web site
(http://developer.apple.com/technology/xcode.html). It should solve your
problem. In
the off chance that it doesn't, report back--in that case, libfuse will have to
be recompiled with the -no_uuid linker
option.
Original comment by si...@gmail.com
on 2 Sep 2008 at 6:34
[deleted comment]
As I said earlier, you should try upgrading your Developer Tools and see if
that fixes your problem. Although this
is not a MacFUSE problem per se, it is annoying enough for developers/users
that I'll remove the offending load
command from libfuse in the Tiger version of the next MacFUSE release.
You can manually strip the command from the library too:
strip -S -arch ppc -no_uuid /usr/local/lib/libfuse.dylib
Original comment by si...@gmail.com
on 2 Sep 2008 at 6:57
Sorry for my problems with mac fuse. I am not a Mac developer like you - I only
try
to port my filesystem ot this great macfuse project. I am running 1.7.
Thanks for answering and helping me.
I add -D__FreeBSD__=10. ok.
I did follow your comment: "Try upgrading to the newest Xcode for Tiger. You can
download it for free from Apple's web site
(http://developer.apple.com/technology/xcode.html)" - first I did subscribe to
the
Apple developer and then i mentioned that Apple do only provides a Xcode for
Leopard
- unfortunately I am using 10.4. Do you have the latest Xcode for 10.4?
The "strip -S -arch ppc -no_uuid /usr/local/lib/libfuse.dylib" did not work on
10.4.
or on my 10.4?
[edv027:andreas/Desktop/dtsmfs] andreas# strip -S -arch ppc -no_uuid
/usr/local/lib/libfuse.dylib
strip: unrecognized option: -no_uuid
Usage: strip [-AnuSXx] [-] [-d filename] [-s filename] [-R filename] [-o
output] file
[...]
Greetings and best wishes
Andreas
Original comment by abo...@gmx.de
on 2 Sep 2008 at 8:01
Well, yes, you need a strip that understands no_uuid. So you'll need a newer
Xcode, or a Leopard machine, or
you can also compile strip yourself from source.
As for a newer Xcode for Tiger, try searching for "Xcode 2.5" -- I'd be
surprised if Apple still doesn't have it up
for download. For example:
https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundl
eID=19907
Original comment by si...@gmail.com
on 2 Sep 2008 at 8:49
*wow* you are right. I get the Xcode from
https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundl
eID=19907
and did a "strip -S -arch ppc -no_uuid /usr/local/lib/libfuse.dylib" and live is
like a bowl of cherries :) Did work.
Thank your very much.
Will you deliver the newer versions of mac fuse with a stripped lib?
Greetings -- Andreas
Original comment by abo...@gmx.de
on 2 Sep 2008 at 12:41
Thanks! I met the same problem. And I fixed it following singh's words.
Original comment by shaohong...@gmail.com
on 1 Apr 2010 at 5:57
Original issue reported on code.google.com by
abo...@gmx.de
on 2 Sep 2008 at 5:53