mahinthjoe / macfuse

Automatically exported from code.google.com/p/macfuse
0 stars 0 forks source link

Can't Build load_fusefs #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Running

$ xcodebuild -target load_fusefs -configuration Release

Gives the the following output 

=== BUILDING NATIVE TARGET load_fusefs WITH CONFIGURATION Release ===

Checking Dependencies...

Ld
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs
normal i386
    cd /app/macfuse/fusefs
    /usr/bin/gcc-4.0 -o
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs
-L/app/macfuse/fusefs/build/Release -F/app/macfuse/fusefs/build/Release
-filelist
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.LinkFileList
-arch i386 -Wl,-Y,1455 -mmacosx-version-min=10.4 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../li
bgcc_s.10.4.dylib
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (file not loaded)
/usr/bin/ld: warning
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../li
bSystem.dylib
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
___error
__exit
_execl
_fork
_wait4
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined ___keymgr_dwarf2_register_sections
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined __cthread_init_routine
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined _atexit
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined _errno
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined _exit
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../cr
t1.o
reference to undefined _mach_init_routine
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.o
reference to undefined ___error
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.o
reference to undefined __exit
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.o
reference to undefined _execl
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.o
reference to undefined _fork
/app/macfuse/fusefs/build/fusefs.build/Release/load_fusefs.build/Objects-normal/
i386/load_fusefs.o
reference to undefined _wait4
collect2: ld returned 1 exit status
** BUILD FAILED **

Done on OSX 10.4.8

Xcode 2.4.1

Original issue reported on code.google.com by wkm...@gmail.com on 12 Jan 2007 at 7:33

GoogleCodeExporter commented 8 years ago
Weird. Seems to build for me on both PowerPC and x86. Could it be possible that 
there's something up with your 
Xcode installation? Perhaps with respect to the Universal SDKs? Can you build 
mount_fusefs as Universal? Can 
you build load_fusefs as native?

Original comment by si...@gmail.com on 12 Jan 2007 at 9:33

GoogleCodeExporter commented 8 years ago
Is it possible that you stripped MacOSX10.4u.sdk off its PPC binary segments, 
perhaps with Monolingual or a 
similar tool?

Original comment by chucker...@gmail.com on 12 Jan 2007 at 4:54

GoogleCodeExporter commented 8 years ago
Yeah i have used monolingual, i will reinstall xcode and give it another try!
thanks for the help

Original comment by wkm...@gmail.com on 13 Jan 2007 at 12:02

GoogleCodeExporter commented 8 years ago

Original comment by si...@gmail.com on 13 Jan 2007 at 12:19