[Mono-bugs] [Bug 611973] New: After upgrading to Monotouch 2.04 i am unable to compile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jun 5 11:36:28 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=611973

http://bugzilla.novell.com/show_bug.cgi?id=611973#c0


           Summary: After upgrading to Monotouch 2.04 i am unable to
                    compile
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tony.tromp at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Description of Problem:
After upgrading to Monotouch 2.04 and MonoDevelop 2.2.2, i cant compile both
new or old projects.
This occurs when setting the linker to 'Link SDK assemblies only' and 'link all
assemblies'.


Steps to reproduce the problem:
1. Upgrade Monotouch 2.04
2. Upgrade MonoDevelop 2.2.2
3. Upgrade XCode 3.2
4. Create new solution (using any template)
5. In the Solution Options menu=> Change linker settings => Link SDK assemblies
only.
6. Build

Actual Results:
Error 1: mtouch failed with the following message:
In file included from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:29,
                 from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:14,
                 from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:80,
                 from
/Developer/MonoTouch/SDKs/MonoTouch1.0.iphonesimulator.sdk/usr/include/monotouch/gc.h:1,
                 from
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:13:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h:166:
error: expected declaration specifiers or '...' before 'SecPadding'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h:196:
error: expected declaration specifiers or '...' before 'SecPadding'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h:228:
error: expected declaration specifiers or '...' before 'SecPadding'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h:257:
error: expected declaration specifiers or '...' before 'SecPadding'
In file included from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:58,
                 from
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:15:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:67:
error: expected specifier-qualifier-list before 'UIDataDetectorTypes'
In file included from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:63,
                 from
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:15:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h:53:
error: expected specifier-qualifier-list before 'UIDataDetectorTypes'
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m: In
function 'main':
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:1907:
warning: implicit declaration of function 'mini_get_debug_options'
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:1911:
warning: implicit declaration of function 'mono_debugger_agent_parse_options'
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:2042:
warning: cast from pointer to integer of different size
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.m:2042:
warning: initialization makes pointer from integer without a cast
i686-apple-darwin10-gcc-4.2.1:
/var/folders/va/vant5u2lGHqk6OMPGd6RpU+++TI/-Tmp-/tmp19f5a18d.tmp/main.o: No
such file or directory
 (1) (anothertest)

Expected Results:
Should compile without any problems

How often does this happen? 
Always

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list