Bug 7060 - Failed to compile the generated registrar code
Summary: Failed to compile the generated registrar code
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 5.4.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2012-09-11 06:59 UTC by Pirlitu Vasilica
Modified: 2012-09-11 09:15 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Pirlitu Vasilica 2012-09-11 06:59:03 UTC
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:6:41: error: coreanimation/coreanimation.h: No such file or directory
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5886: error: expected declaration specifiers or '...' before 'CATransform3D'
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m: In function 'native_to_managed_trampoline_Mediawire_PrintStand_Mobile_Presentation_CarouselDelegate_carousel':
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5898: error: 'p2' undeclared (first use in this function)
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5898: error: (Each undeclared identifier is reported only once
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5898: error: for each function it appears in.)
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m: At top level:
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5984: error: expected declaration specifiers or '...' before 'CATransform3D'
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m: In function 'native_to_managed_trampoline_Mediawire_PrintStand_Mobile_Presentation_CarouselThumbnailDelegate_carousel':
/var/folders/1w/3j5ls0f939s5jjz2d7kjbj_00000gn/T/tmp49daa3e2.tmp/registrar.m:5996: error: 'p2' undeclared (first use in this function)

error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-09-11 07:04:34 UTC
Can you attach a test case I can use to reproduce this issue?
Comment 2 Pirlitu Vasilica 2012-09-11 07:14:22 UTC
I can't because we have an NDA agreement. I only used a binding here and the issue is only on the latest stable version of Monodevelop. It's the iCarousel binding from IOS.
Comment 3 Pirlitu Vasilica 2012-09-11 07:25:48 UTC
How can i revert the actual monotouch version with another one before?
Comment 4 Rolf Bjarne Kvinge [MSFT] 2012-09-11 07:56:58 UTC
Try adding --noregistrar to the additional mtouch arguments in the project's options (iPhone Build page).
Comment 5 Pirlitu Vasilica 2012-09-11 08:06:12 UTC
Yes it seems that now it's working with no troubles. Thanks!
Comment 6 Pirlitu Vasilica 2012-09-11 08:12:33 UTC
Is there a difference if i use the --nonregistrar mtouch argument? Does it have any impact on any application?
Comment 7 Rolf Bjarne Kvinge [MSFT] 2012-09-11 08:23:10 UTC
It's a little bit slower on startup than 5.2 - and you do not get the performance improvements we have in 5.4.