uh_parser/RaptorRecipe.pm
changeset 246 0a0ad5daa2f9
parent 238 09b83ca8e0cf
child 249 06db82e8efc6
--- a/uh_parser/RaptorRecipe.pm	Thu May 13 16:39:28 2010 +0100
+++ b/uh_parser/RaptorRecipe.pm	Wed May 26 10:35:45 2010 +0100
@@ -60,10 +60,12 @@
 my $CATEGORY_RECIPEFAILURE_ARMCC_GENERICWARNINGSERRORS = 'armcc_generic_warnings_errors';
 my $CATEGORY_RECIPEFAILURE_ELF2E32_SYMBOLMISSINGFROMELFFILE = 'elf2e32_symbol_missing_from_elf_file';
 my $CATEGORY_RECIPEFAILURE_MWCCSYM2_FILECANNOTBEOPENED = 'mwccsym2_file_cannot_be_opened';
+my $CATEGORY_RECIPEFAILURE_MWLDSYM2_UNDEFINEDSYMBOL = 'mwldsym2_undefined_symbol';
 my $CATEGORY_RECIPEFAILURE_BINSH_COMMANDNOTFOUND = 'binsh_command_not_found';
 my $CATEGORY_RECIPEFAILURE_AS_ERROR = 'as_error';
 my $CATEGORY_RECIPEFAILURE_GPP_ERROR = 'g++_error';
 my $CATEGORY_RECIPEFAILURE_GPP_WARNING = 'g++_warning';
+my $CATEGORY_RECIPEFAILURE_MAKEDEF_FROZENEXPORTMISSING = 'makedef_frozen_export_missing';
 
 my $mmp_with_issues = {};
 
@@ -168,6 +170,16 @@
 		my $subcategory = $CATEGORY_RECIPEFAILURE_MWCCSYM2_FILECANNOTBEOPENED;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);
 	}
+	elsif ($text =~ m,mwldsym2\.exe: Undefined symbol: '.*',)
+	{
+		my $subcategory = $CATEGORY_RECIPEFAILURE_MWLDSYM2_UNDEFINEDSYMBOL;
+		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);
+	}
+	elsif ($text =~ m,MAKEDEF ERROR: \d+ Frozen Export\(s\) missing from object files,)
+	{
+		my $subcategory = $CATEGORY_RECIPEFAILURE_MAKEDEF_FROZENEXPORTMISSING;
+		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);
+	}
 	else # log everything by default
 	{
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $config, $component, $mmp, $phase, $recipe, $file);