Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal build set, but not built




On 2006 Jan 18, at 10:29, Rhon Fitzwater wrote:

I had the same problem with one of my projects.  Open your project and goto the Project menu then select Update to Native Target.  Rebuild your program and just like magic it should show PPC & i386 or if you are running 10.4.4 it will say Universal Binary.


Let me know if this does or does not work for you.


This seems to be going horribly wrong. 'Update To Native Target' was greyed out, so tried 'Update All Target in Project To Native'. Then Clean & Build. It seems to work in Deployment, but I get 5 warnings and 1 error in Development, and fails to build. Here's the build log:

Building target “MathWallah (Upgraded)” — (1 error, 5 warnings)
    mkdir "/Users/markfb/Documents/MathWallah Development/MathWallah/build/MathWallah.build/Development/MathWallah (Upgraded).build/Objects-normal/i386"
    cd "/Users/markfb/Documents/MathWallah Development/MathWallah"
    /usr/bin/gcc-4.0 -o "/Users/markfb/Documents/MathWallah Development/MathWallah/build/MathWallah.build/Development/MathWallah (Upgraded).build/Objects-normal/i386/MathWallah" -arch i386 /System/Library/PrivateFrameworks/ZeroLink.framework/Resources/libZeroLinkAppStub.a -Wl,-all_load "-L/Users/markfb/Documents/MathWallah Development/MathWallah/build/Development" "-F/Users/markfb/Documents/MathWallah Development/MathWallah/build/Development" -framework Cocoa -framework AppleScriptKit -framework ZeroLink -F/System/Library/PrivateFrameworks/ -Wl,-x -Wl,-unexported_symbols_list -Wl,/System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/Resources/ZeroLinkAppStub.nexp -Wl,-sectcreate -Wl,__TEXT -Wl,__zerolink "-Wl,/Users/markfb/Documents/MathWallah Development/MathWallah/build/MathWallah.build/Development/MathWallah (Upgraded).build/Objects-normal/i386/MathWallah.zerolink"
/usr/bin/ld: warning /System/Library/Frameworks/Cocoa.framework/Cocoa cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /System/Library/Frameworks/AppleScriptKit.framework/AppleScriptKit cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.0/../../../libmx.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.0/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: warning fat file: /usr/lib/libSystem.B.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_NSAddressOfSymbol
_NSLookupAndBindSymbol
_abort
___sF
_fflush
_fprintf
_memcpy
_memset
_pthread_once
__keymgr_get_and_lock_processwide_ptr
__keymgr_set_and_unlock_processwide_ptr
__keymgr_unlock_processwide_ptr
_calloc
_free
_getsectdatafromheader
_malloc
_NSAddImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSCreateObjectFileImageFromFile referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSGetSectionDataInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSHasModInitObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSInstallLinkEditErrorHandlers referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSLinkModule referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSLookupAndBindSymbol referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSSymbolDefinitionCountInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSSymbolDefinitionNameInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
___sF referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_get_image_header referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_get_image_name referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_image_count referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_register_func_for_add_image referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_abort referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_fprintf referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_getenv referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_getsectbynamefromheader referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_malloc referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcat referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcmp referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcpy referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSAddressOfSymbol referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSFindSectionAndOffsetInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSIsSymbolNameDefined referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_fwrite referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_calloc referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
collect2: ld returned 1 exit status
/usr/bin/ld: warning /System/Library/Frameworks/Cocoa.framework/Cocoa cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /System/Library/Frameworks/AppleScriptKit.framework/AppleScriptKit cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.0/../../../libmx.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-darwin8/4.0.0/../../../libSystem.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: warning fat file: /usr/lib/libSystem.B.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
___keymgr_dwarf2_register_sections
__cthread_init_routine
_atexit
_errno
_exit
_mach_init_routine
_NSAddressOfSymbol
_NSLookupAndBindSymbol
_abort
___sF
_fflush
_fprintf
_memcpy
_memset
_pthread_once
__keymgr_get_and_lock_processwide_ptr
__keymgr_set_and_unlock_processwide_ptr
__keymgr_unlock_processwide_ptr
_calloc
_free
_getsectdatafromheader
_malloc
_NSAddImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSCreateObjectFileImageFromFile referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSGetSectionDataInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSHasModInitObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSInstallLinkEditErrorHandlers referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSLinkModule referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSLookupAndBindSymbol referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSSymbolDefinitionCountInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSSymbolDefinitionNameInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
___sF referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_get_image_header referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_get_image_name referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_image_count referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
__dyld_register_func_for_add_image referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_abort referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_fprintf referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_getenv referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_getsectbynamefromheader referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_malloc referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcat referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcmp referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_strcpy referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSAddressOfSymbol referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSFindSectionAndOffsetInObjectFileImage referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_NSIsSymbolNameDefined referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_fwrite referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
_calloc referenced from ZeroLink expected to be defined in /usr/lib/libSystem.B.dylib
collect2: ld returned 1 exit status
Build failed for target "MathWallah (Upgraded)" (1 error, 5 warnings)

MarkB
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Universal build set, but not built (From: Mark Butcher <email@hidden>)
 >Re: Universal build set, but not built (From: Rhon Fitzwater <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.