[MonoTouch] mtouch(1) failed with no output after updating to 3.2.3 and SDK 4.2

Geoff Norton gnorton at novell.com
Wed Dec 22 13:43:24 EST 2010


You should never be turning the linker off for device builds, since with the linker off you will include the ENTIRE BCL in your app, resulting in massive binaries.  Regardless, this specific AudioUnit issue will be fixed in 3.2.4 tho.

-g

On 2010-12-22, at 1:41 PM, David Moles wrote:

> Hmm, looks like this is a common problem. In the MT forums I see:
> 
> "The solution to this is to turn the Linker back on and it will know
> to not use AudioUnit and allow things to compile nicely."
> 
> http://forums.monotouch.net/yaf_postsm3600.aspx#post3600
> 
> I switched from "Don't link" to "Link SDK only" and that seems to have
> fixed the problem.
> 
> This seems like more of a hack than a solution, though.
> 
> On Wed, Dec 22, 2010 at 10:12 AM, David Moles <davidmoles at thegogame.com> wrote:
>> 
>> Looks like the problem is this:
>> ld: framework not found AudioUnit
>> But when I look for it, it's right there where I'd expect it, in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/AudioUnit.framework
>> It's only got header files, but that was true in 4.1 as well.
>> Any ideas? This is where I regret not having a proper C background...
>> Last lines of verbose output below:
>> ====
>> ld: framework not found AudioUnit
>> collect2: ld returned 1 exit status
>> Process exited with code 1, command:
>> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=4.2 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/Orbiter.exe.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/mscorlib.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/monotouch.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/System.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/Mono.Security.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/System.Core.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/GoGame.iOS.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/GoGame.Util.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/GoGame.Orbiter.Core.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/System.Json.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/AVUtils.dll.o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/main.o -o /var/folders/N6/N6T3c09TFjquEAWhyPKidU+++TM/-Tmp-/tmp47ba25a0.tmp/Orbiter -framework CFNetwork -framework AssetsLibrary -framework CoreTelephony -framework EventKit -framework Foundation -framework CoreMotion -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit -framework AddressBookUI -framework iAd -framework SystemConfiguration -framework AddressBook -framework AudioToolbox -framework AudioUnit -framework AVFoundation -framework QuartzCore -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework ImageIO -framework Security -framework CoreMedia -framework ExternalAccessory -framework EventKitUI -framework QuickLook -framework AudioToolbox -lz -u _catch_exception_raise -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib -L/Users/work/Projects/orbiter-mobile/orbiter-ios -lAVUtils -framework Foundation -framework AVFoundation -force_load /Users/work/Projects/orbiter-mobile/orbiter-ios/libAVUtils.a
>> ====
>> --
>> David Moles
>> davidmoles at thegogame.com
> 
> 
> 
> --
> David Moles
> davidmoles at thegogame.com
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch



More information about the MonoTouch mailing list