go to
> translate_et(1)
Homepage > Man Pages > Category > General Commands
Homepage > Man Pages > Name > A


man page of afs_compile_et

afs_compile_et: Produce error text tables for compilation

afs_compile_et - Produce error text tables for compilation


afs_compile_et [-debug] [-language <lang>] [-prefix <prefix>] [-v <version>] <error_table>


The afs_compile_et command builds the error text tables for compilation. This includes both a header file that contains a set of mappings between error names and values and a .c (or .msf) file that provides a text table of descriptions. The <error_table> argument specifies which error table to generate. The error table specification should exist in the current working directory or in the directory specified with -prefix and should be named error_table.et.


This command is used internally within the build process for OpenAFS. Most users will access this information via translate_et(1) rather than via afs_compile_et. This command does not use the standard AFS command-line parsing package.


-debug Does nothing. It neither adds debugging information to the output nor provides additional information on its operation. -language <lang> Specifies the type of output to generate. Currently, only ANSI C and K&R are supported values (via the c and k&r-c values, respectively). The default is ANSI C. There is some support for C++ started, but that is not yet supported. -prefix <prefix Specifies the directory to search for the error_table.et file. -v <version> Specified the type of output file: valid values are 1 (the default, for C files) or 2, for .msf file generation.
The following command generates the files pterror.h and pterror.c, suitable for use with C programs: % afs_compile_et -p path/to/src/ptserver pterror The following command generates K&R style files instead: % afs_compile_et -p path/to/src/ptserver -lang 'k&r-c' pterror


Copyright 2009 Steven Jenkins <steven@endpoint.com> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Steven Jenkins for OpenAFS. AFS_COMPILE_ET(1)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 21.97ms.

daelim-forum.spreadshirt.de | amazing-wings.de | brauchbar.de