[MonoTouch] Strange error compiling

fmuaddib fmuaddib at gmail.com
Sun Oct 2 11:05:17 EDT 2011


MonoDevelop started giving me this error very often:

Error 1: mtouch failed with the following message:
Process exited with code 1, command:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
-arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2 -arch i386  -std=c99
-I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
-c /var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m
-o /var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.x86.o
-DDEBUG
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:
In function 'monotouch_debug_listen':
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:1829:
warning: implicit declaration of function 'mini_get_debug_options'
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:1831:
warning: implicit declaration of function
'mono_debugger_agent_parse_options'
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:
In function 'main':
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:2148:
warning: 'return' with no value, in function returning non-void
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:2164:
warning: implicit declaration of function
'monotouch_enable_debug_tracking'
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.m:2434:
warning: implicit declaration of function 'monotouch_register_all'
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/as: can't
fork a new process to execute:
/Developer/usr/bin/../libexec/gcc/darwin/i386/as (Resource temporarily
unavailable)

Process exited with code 1, command:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
-arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2   -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.x86.o
-o /var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/TestiPhoneProject
-framework CFNetwork -framework Foundation -framework UIKit -framework
QuartzCore -framework CoreFoundation -framework CoreGraphics
-framework AudioToolbox -lz -u _mono_pmip -u _CreateZStream -u
_CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv
-lmono-2.0 -lmonotouch
-L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib -u
_catch_exception_raise -dead_strip
i686-apple-darwin10-gcc-4.2.1:
/var/folders/D+/D+mYihQFF+8G-ojrmxtT9k+++TI/-Tmp-/tmp50ca2408.tmp/main.x86.o:
No such file or directory

I don't get this all the time, only once every 1-3 compilations.
Anyone familiar with this?

Thanks in advance,

Emanuele Sabetta
Ipazia Software
www.ipaziasoftware.com


More information about the MonoTouch mailing list