/* * Common messages catalogue. * * It could be extended by defining additional types, usages and entries. * * $TenDRA: tendra/src/libten/catstd.cat,v 1.3 2004/09/05 03:38:39 bp Exp $ */ /* * AUTOMATICALLY GENERATED BY mkerr.awk FROM /mnt/gmirror/ports/lang/TenDRA/work/tendra/src/libten/catstd.cat * AUTOMATICALLY GENERATED BY mkerr.awk FROM /mnt/gmirror/ports/lang/TenDRA/work/tendra/src/tools/tld/messages.cat */ #include #include "catstd.h" /* Error catalogue */ MSG_CONST char *MSG_NAME = "messages"; MSG_DATA MSG_CATALOG [] = { { "_prefix_info", NULL, 0, 0, "Info" }, { "_prefix_debug", NULL, 0, 0, "Debug" }, { "_prefix_warning", NULL, 0, 0, "Warning" }, { "_prefix_error", NULL, 0, 0, "Error" }, { "_prefix_fatal", NULL, 0, 0, "Fatal error" }, { "_prefix_internal", NULL, 0, 0, "Internal error" }, { "_prefix_assert", NULL, 0, 0, "Assertion failed" }, { "fmm_malloc_failed", "3", MSG_SEV_FATAL, 0, "Memory allocation of %0 byte(s) failed." }, { "fmm_frt_still_allocated", "35", MSG_SEV_DEBUG, 0, "fmm_remove_type: %0 bytes of '%1' still allocated" }, { "fmm_data_modified", "952288", MSG_SEV_DEBUG, 0, "fmm_malloc: Data modified on freelist: object %0(%1)[%2] size %3 (%4 != %5)" }, { "fmm_wrong_bucket", NULL, MSG_SEV_FATAL, 0, "fmm_malloc: wrong bucket" }, { "fmm_lost_data", NULL, MSG_SEV_FATAL, 0, "fmm_malloc: lost data" }, { "fmm_free_modified", "9", MSG_SEV_FATAL, 0, "fmm_free: free item %0 modified" }, { "fmm_multiple_free", "9", MSG_SEV_FATAL, 0, "fmm_free: multiple freed item %0" }, { "caught_signal", "05", MSG_SEV_NONE, 0, "\nCaught signal %0 in '%1'" }, { "removed_core", NULL, MSG_SEV_WARNING, 0, "Removed core" }, { "tenapp_version", "555", MSG_SEV_NONE, 0, "%0, Version: %1 (Release: %2)" }, { "crown_copyright", NULL, MSG_SEV_INFO, 0, "\t\tCrown Copyright (c) 1997, 1998\n\n This TenDRA(r) Computer Program is subject to Copyright\n owned by the United Kingdom Secretary of State for Defence\n acting through the Defence Evaluation and Research Agency\n (DERA). It is made available to Recipients with a\n royalty-free licence for its use, reproduction, transfer\n to other parties and amendment for any purpose not excluding\n product development provided that any such use et cetera\n shall be deemed to be acceptance of the following conditions:\n\n\t(1) Its Recipients shall ensure that this Notice is\n\treproduced upon any copies or amended versions of it;\n\n\t(2) Any amended version of it shall be clearly marked to\n\tshow both the nature of and the organisation responsible\n\tfor the relevant amendment or amendments;\n\n\t(3) Its onward transfer from a recipient to another\n\tparty shall be deemed to be that party's acceptance of\n\tthese conditions;\n\n\t(4) DERA gives no warranty or assurance as to its\n\tquality or suitability for any purpose and DERA accepts\n\tno liability whatsoever in relation to any use to which\n\tit may be put.\n\n" }, { "cant_open_input_file", "5", MSG_SEV_ERROR, 1, "Can't open input file, '%0': %a" }, { "cant_open_output_file", "5", MSG_SEV_FATAL, 0, "Can't open output file, '%0': %a" }, { "file_read_error", "5", MSG_SEV_FATAL, 0, "error reading from file '%0': %a" }, { "file_write_error", "5", MSG_SEV_FATAL, 0, "error writing to file '%0': %a" }, { "ostream_write_error", "5", MSG_SEV_FATAL, 0, "error writing to output stream '%0': %a" }, { "getopt_unknown_option", "5", MSG_SEV_FATAL, 0, "Unknown option, '%0'" }, { "getopt_not_enough_arguments", NULL, MSG_SEV_FATAL, 0, "Not enough arguments" }, { "getopt_too_many_arguments", NULL, MSG_SEV_FATAL, 0, "Too many arguments" }, { "arg_parse_missing_argument", "5", MSG_SEV_FATAL, 0, "missing argument for option '%0'" }, { "arg_parse_unknown_option", "5", MSG_SEV_FATAL, 0, "unknown option '%0'" }, { "arg_parse_missing_short_arg", "55", MSG_SEV_FATAL, 0, "missing argument for option '%0' at '%1'" }, { "arg_parse_ambiguous_option", "5", MSG_SEV_FATAL, 0, "ambiguous option '%0'" }, { "arg_parse_unknown_short_opt", "55", MSG_SEV_FATAL, 0, "unknown short option '%0' at '%1'" }, { "description_of_help", NULL, MSG_SEV_NONE, 0, "Print this message" }, { "description_of_version", NULL, MSG_SEV_NONE, 0, "Report program version" }, { "fatal_tdf_stream_read_error", "B", MSG_SEV_FATAL, 0, "%0System error '%a' while reading TDF file" }, { "fatal_tdf_stream_seek_error", "B", MSG_SEV_FATAL, 0, "%0Seek error" }, { "fatal_tdf_cant_encode_0_as_extended_value", "B", MSG_SEV_FATAL, 0, "%0Can't encode 0 as an extended value" }, { "fatal_tdf_integer_too_big", "B2", MSG_SEV_FATAL, 0, "%0TDFINT value too big (%1)" }, { "tdf_integer_too_long", "B2", MSG_SEV_FATAL, 0, "%0TDFINT value too long (%1)" }, { "fatal_tdf_string_element_too_big", "B0", MSG_SEV_FATAL, 0, "%0TDFSTRING element too big (%1)" }, { "fatal_tdf_expect_eof", "B", MSG_SEV_FATAL, 0, "%0End of file expected, but data found" }, { "fatal_tdf_unexpected_eof", "B", MSG_SEV_FATAL, 0, "%0Unexpected end of file" }, { "fatal_tdf_bad_magic", "B55", MSG_SEV_FATAL, 0, "%0Unknown TDF file header. Expected '%2', but got '%1'" }, { "fatal_tdf_bad_version", "B1", MSG_SEV_FATAL, 0, "%0Illegal major version number '%1'" }, { "fatal_tdf_version_mismatch", "B11", MSG_SEV_FATAL, 0, "%0Major version number mismatch: (%1 should be %2)" }, { "int_tdf_extend_unaligned", "B2", MSG_SEV_INTERNAL, 0, "%0Extending unaligned stream at %1" }, { "int_tdf_unaligned_access", "B5", MSG_SEV_INTERNAL, 0, "%0Function %1 requires byte aligned TDF stream" }, { "debug_tdf_version", "B11", MSG_SEV_DEBUG, 0, "%0TDF version: %1.%2" }, { "cant_open_library_file", "5", MSG_SEV_ERROR, 1, "Can't open library file, '%0': %a" }, { "bad_mode", "5", MSG_SEV_FATAL, 0, "illegal mode option '%0'; should be one of 'c', 'l', 't' or 'x'" }, { "missing_files", NULL, MSG_SEV_FATAL, 0, "no files specified for processing" }, { "no_memory", NULL, MSG_SEV_FATAL, 0, "cannot allocate memory" }, { "illegal_external_name", "5", MSG_SEV_ERROR, 0, "illegal external name '%0'" }, { "multiply_renamed_name", "55", MSG_SEV_ERROR, 0, "%0 '%1' is renamed multiple times" }, { "tld_multiple_debug_files", NULL, MSG_SEV_FATAL, 0, "more than one debug file specified" }, { "tld_cannot_open_debug_file", "5", MSG_SEV_FATAL, 0, "cannot open debug file '%0': %a" }, { "tld_multiple_output_files", NULL, MSG_SEV_FATAL, 0, "more than one output file specified" }, { "tld_multiple_unit_files", NULL, MSG_SEV_FATAL, 0, "more than one unit set file specified" }, { "duplicate_capsule_name", "5", MSG_SEV_ERROR, 0, "capsule name '%0' occurs more than once in input capsule list" }, { "cant_hide_shape", "5", MSG_SEV_ERROR, 0, "there are no external %0 names to hide" }, { "cant_hide", "55", MSG_SEV_ERROR, 0, "there is no external %0 named '%1' to hide" }, { "cant_hide_undefined", "55", MSG_SEV_ERROR, 0, "cannot hide undefined external %0 named '%1'" }, { "cant_keep_shape", "5", MSG_SEV_ERROR, 0, "there are no external %0 names to keep" }, { "cant_keep", "55", MSG_SEV_ERROR, 0, "there is no external %0 named '%1' to keep" }, { "cant_open_unit_set_file", "5", MSG_SEV_FATAL, 0, "cannot open unit set file '%0': %a" }, { "unit_set_expected_quote", "G", MSG_SEV_FATAL, 0, "%0expected double quote to begin unit set name" }, { "unit_set_illegal_escape", "G", MSG_SEV_FATAL, 0, "%0illegal escape sequence in unit set name" }, { "unit_set_eof_in_name", "G", MSG_SEV_FATAL, 0, "%0end of file in unit set name" }, { "unit_set_duplicate_name", "55", MSG_SEV_FATAL, 0, "%0: unit set name '%1' occurs more than once" }, { "unit_set_no_tld_name", "5", MSG_SEV_FATAL, 0, "%0: linker information unit set name 'tld' does not occur" }, { "capsule_bad_magic", "ECC", MSG_SEV_ERROR, 0, "%0bad magic number '%1' should be '%2'" }, { "capsule_bad_version", "E1", MSG_SEV_ERROR, 0, "%0illegal major version number %1" }, { "capsule_version_mismatch", "E11", MSG_SEV_ERROR, 0, "%0major version number mismatch (%1 should be %2)" }, { "duplicate_unit_set_name", "EC", MSG_SEV_ERROR, 0, "%0unit set '%1' occurs more than once" }, { "out_of_order_unit_set_name", "EC", MSG_SEV_ERROR, 0, "%0unit set '%1' occurs in wrong order" }, { "unknown_unit_set_name", "EC", MSG_SEV_ERROR, 0, "%0unit set '%1' is unknown" }, { "duplicate_shape_name", "EC", MSG_SEV_ERROR, 0, "%0shape '%1' occurs more than once" }, { "shape_and_name_count_mismatch", "E11", MSG_SEV_ERROR, 0, "%0external name count %2does not equal shape count %1" }, { "name_id_out_of_range", "ECD11", MSG_SEV_ERROR, 0, "%0 external %1 name '%2' has out of range identifier %3 (greater than %4)" }, { "name_id_used_multiple_times", "ECD1", MSG_SEV_ERROR, 0, "%0external %1 name '%2' is bound to previously used identifier %3" }, { "too_many_tld_units", "E", MSG_SEV_ERROR, 0, "%0capsule contains wrong number of units in linker information unit set (should be one)" }, { "tld2_unit_set_type_obsolete", "E", MSG_SEV_WARNING, 0, "%0capsule contains 'tld2' unit set type which is no longer supported" }, { "too_many_tld_unit_counts", "E", MSG_SEV_ERROR, 0, "%0capsule contains wrong number of counts in linker information unit (should be zero)" }, { "too_many_tld_unit_mappings", "E", MSG_SEV_ERROR, 0, "%0capsule contains wrong number of mappings in linker information unit (should be zero)" }, { "tld_unit_wrong_size", "E11", MSG_SEV_ERROR, 0, "%0linker information unit contents is the wrong size (final offset is %2 but should be %1)" }, { "unknown_tld_unit_type", "E1", MSG_SEV_ERROR, 0, "%0linker information unit version number %1 is not supported in this implementation" }, { "unit_set_count_mismatch", "E11", MSG_SEV_ERROR, 0, "%0unit count %2 does not equal unit set count %1" }, { "missing_tld_unit_set", "5", MSG_SEV_WARNING, 0, "capsule '%0' has no linker information unit set" }, { "extra_tld_unit_set", "E", MSG_SEV_ERROR, 0, "%0capsule contains both a 'tld' and a 'tld2' unit set" }, { "defined_but_not_declared", "ECD", MSG_SEV_ERROR, 0, "%0external %1 '%2' is defined but not declared" }, { "illegally_multiply_defined", "ECD", MSG_SEV_ERROR, 0, "%0external %1 '%2' has the multiply defined bit set illegally" }, { "bad_usage", "ECD1", MSG_SEV_ERROR, 0, "%0external %1 '%2' has usage %3 which has no meaning in this implementation" }, { "multiply_defined", "ECD5", MSG_SEV_ERROR, 0, "%0external %1 '%2' is defined more than once (previous definition in '%3')" }, { "unit_count_num_mismatch", "E111C", MSG_SEV_ERROR, 0, "%0illegal count number %1 in %4 unit %3 (should be 0 or %2)" }, { "unit_mapping_num_mismatch", "E111C", MSG_SEV_ERROR, 0, "%0illegal mapping number %1 in %4 unit %3 (should be %2)" }, { "id_out_of_range", "E11C1C", MSG_SEV_ERROR, 0, "%0%3 identifier %1 is out of range in mapping table of %5 unit %4 (should be less than %2)" }, { "too_many_library_files", NULL, MSG_SEV_FATAL, 0, "too many library files specified (should be one)" }, { "all_specified_with_capsules", NULL, MSG_SEV_FATAL, 0, "cannot extract all capsules and named capsules" }, { "no_capsules_specified", NULL, MSG_SEV_FATAL, 0, "no capsules specified to extract" }, { "exception_unhandled", "I51", MSG_SEV_INTERNAL, 0, "unhandled exception '%0' thrown from line %2, file '%1'" }, { "exception_corrupt_handler", "51", MSG_SEV_INTERNAL, 0, "corrupt exception handler installed at line %1, file '%0'" }, { "assertion_failed", "551", MSG_SEV_INTERNAL, 0, "assertion '%0' failed at line %2, file '%1'" }, { "dalloc_multi_deallocate", "95151", MSG_SEV_INTERNAL, 0, "memory block %0 allocated at line %4 in '%3' is deallocated more than once (second deallocation at line %2 in file '%1')" }, { "dalloc_corrupt_block", "951", MSG_SEV_INTERNAL, 0, "memory block %0 is corrupt at deallocation (deallocation at line %2 in file '%1')" }, { "library_bad_magic", "FCC", MSG_SEV_ERROR, 0, "%0bad magic number '%1' should be '%2'" }, { "library_bad_version", "F1", MSG_SEV_ERROR, 0, "%0illegal major version number%1" }, { "library_version_mismatch", "F11", MSG_SEV_ERROR, 0, "%0major version number mismatch (%1 should be %2)" }, { "null_in_file_name", "FC", MSG_SEV_ERROR, 0, "%0capsule name '%1' contains null character" }, { "capsule_not_found", "55", MSG_SEV_ERROR, 0, "capsule '%0' is not contained in library '%1'" }, { "extracting_capsule", "55", MSG_SEV_INFO, 0, "extracted capsule '%0' into '%1'" }, { "lib_unknown_type", "F1", MSG_SEV_ERROR, 0, "%0library version number %1 is not supported in this implementation" }, { "lib_defined_but_not_declared", "FCD", MSG_SEV_ERROR, 0, "%0external %1 '%2' is defined but not declared" }, { "lib_illegally_mult_defined", "FCD", MSG_SEV_ERROR, 0, "%0external %1 '%2' has the multiply defined bit set illegally" }, { "lib_bad_usage", "FCD1", MSG_SEV_ERROR, 0, "%0external %1 '%2' has usage %3 which has no meaning in this implementation" }, { "lib_multiply_defined", "FCDJ", MSG_SEV_ERROR, 0, "%0external %1 '%2' is defined more than once in libraries (previous definition in '%3')" }, { "capsule_index_too_big", "FCD11", MSG_SEV_ERROR, 0, "%0external %1 '%2' has capsule index %3 (should be less than %4)" }, { "no_single_definition", "CD", MSG_SEV_FATAL, 0, "no single definition for %0 '%1'" }, { "rename_cycle", "CD", MSG_SEV_ERROR, 0, "cycle in %0 renaming including name '%1'" }, { "no_definition_found", "CD", MSG_SEV_WARNING, 0, "no definition found for %0 '%1'" }, { "cant_open_rename_file", "5", MSG_SEV_ERROR, 0, "cannot open rename file '%0': %a" }, { "rename_expected_shape", "G", MSG_SEV_ERROR, 0, "%0expected shape name" }, { "rename_expected_name", "G", MSG_SEV_ERROR, 0, "%0expected external name" }, { "rename_expected_semi", "G", MSG_SEV_ERROR, 0, "%0expected semi colon" }, { "rename_unexpected_eof", "G", MSG_SEV_ERROR, 0, "%0unexpected end of file" }, { "rename_unexpected_newline", "G", MSG_SEV_ERROR, 0, "%0unexpected newline" }, { "rename_illegal_escape", "G", MSG_SEV_ERROR, 0, "%0illegal escape sequence" }, { "rename_illegal_char", "G4", MSG_SEV_ERROR, 0, "%0illegal character '%1'" }, { "too_many_ids", NULL, MSG_SEV_FATAL, 0, "too many identifiers for this implementation" }, { "unexpected_eof_in_tdf", "H", MSG_SEV_ERROR, 0, "%0unexpected end of file" }, { "tdf_integer_too_big_in_tdf", "H", MSG_SEV_ERROR, 0, "%0TDF integer is too large for this machine" }, { "unsupported_char_size_in_tdf", "H1", MSG_SEV_ERROR, 0, "%0string character size %1 is not supported on this machine" }, { "bad_name_type_in_tdf", "H1", MSG_SEV_ERROR, 0, "%0name type %1 is unknown" }, { "expected_eof_in_tdf", "H", MSG_SEV_ERROR, 0, "%0expected end of file" }, { "description_of_mode", NULL, MSG_SEV_NONE, 0, "MODE Select operation mode, where MODE is one of \n c create library \n l link capsules (default) \n t library table of contents \n x extract from library" }, { "description_of_all", NULL, MSG_SEV_NONE, 0, "Enable/disable extraction of all capsules." }, { "description_of_all_hide_defined", NULL, MSG_SEV_NONE, 0, "Enable/disable hiding of all external names of any shape that have a definition." }, { "description_of_basename", NULL, MSG_SEV_NONE, 0, "Enable/disable extraction of capsules to their basename." }, { "description_of_debug_file", NULL, MSG_SEV_NONE, 0, "FILE Write debugging output to FILE." }, { "description_of_hide", NULL, MSG_SEV_NONE, 0, "SHAPE NAME Hide the external SHAPE NAME." }, { "description_of_hide_defined", NULL, MSG_SEV_NONE, 0, "SHAPE Hide all external SHAPE names that have a definition." }, { "description_of_include_library", NULL, MSG_SEV_NONE, 0, "LIBRARY Include the contents of LIBRARY in the output library." }, { "description_of_index", NULL, MSG_SEV_NONE, 0, "Enable/disable the display of the library index as well as the capsule names." }, { "description_of_info", NULL, MSG_SEV_NONE, 0, "Enable/disable informational messages." }, { "description_of_keep", NULL, MSG_SEV_NONE, 0, "SHAPE NAME Ensure that external SHAPE NAME is not hidden." }, { "description_of_keep_all", NULL, MSG_SEV_NONE, 0, "SHAPE Ensure that no external SHAPE is hidden." }, { "description_of_library_file", NULL, MSG_SEV_NONE, 0, "FILE Use FILE as a TDF library." }, { "description_of_match_basename", NULL, MSG_SEV_NONE, 0, "Enable/disable matching capsules by their basename." }, { "description_of_output_file", NULL, MSG_SEV_NONE, 0, "FILE Write output to FILE (default 'library.tl')." }, { "description_of_path", NULL, MSG_SEV_NONE, 0, "DIRECTORY Append DIRECTORY to library search path." }, { "description_of_rename", NULL, MSG_SEV_NONE, 0, "SHAPE FROM TO Rename SHAPE FROM to TO." }, { "description_of_rename_file", NULL, MSG_SEV_NONE, 0, "FILE Parse FILE as a rename file." }, { "description_of_size", NULL, MSG_SEV_NONE, 0, "Enable/disable the display of the size of library capsules as well as their names." }, { "description_of_suppress", NULL, MSG_SEV_NONE, 0, "SHAPE NAME Do not try to find a definition for SHAPE NAME." }, { "description_of_suppress_all", NULL, MSG_SEV_NONE, 0, "SHAPE Do not try to find a definition for any SHAPE." }, { "description_of_suppress_mult", NULL, MSG_SEV_NONE, 0, "Enable/disable the suppression of multiple definitions as library definitions." }, { "description_of_tdf_version", NULL, MSG_SEV_NONE, 0, "Enable/disable the display of the version of a TDF library." }, { "description_of_unit_file", NULL, MSG_SEV_NONE, 0, "FILE Read unit set names from FILE." }, { "description_of_warning", NULL, MSG_SEV_NONE, 0, "Enable/disable warning messages." }, { "root_usage", NULL, MSG_SEV_NONE, 0, "Usage: tld -m{c|l|t|x} [options ...] files ... \nwhere options are:" }, { "builder_usage", NULL, MSG_SEV_NONE, 0, "Usage: tld -mc [options ...] files ... \nwhere options are:" }, { "linker_usage", NULL, MSG_SEV_NONE, 0, "Usage: tld [-ml] [options ...] files ... \nwhere options are:" }, { "contents_usage", NULL, MSG_SEV_NONE, 0, "Usage: tld -mt [options ...] files ... \nwhere options are:" }, { "extract_usage", NULL, MSG_SEV_NONE, 0, "Usage: tld -mx [options ...] files ... \nwhere options are:" }, { NULL, NULL, 0, 0, NULL } };