Library restrictions for diagnostic programs
Library libc.a.min is the libc included in the standalone diagnostic package. Do not use any function that is not part of libc.a.min in your application. If a function is used in a diagnostic program that is not an exported symbol of libc.a.min, then an immediate software error (803-xxx) occurs when attempting to run the diagnostic program in standalone diagnostic mode.
To ensure that all symbols used by your diagnostics application are included in the standalone environment, compile and link the application code with the libc.a.min library found in the /usr/ccs/lib directory.
One method is to create a directory containing the libraries needed for linking:
- Copy libraries libodm.a, libcfg.a, and libcrypt.a to the new directory.
- Make a link from /usr/ccs/lib/libc.a.min to libc.a in the new directory.
- Make a link from /usr/ccs/lib/libc.a.min to libbind.a in the new directory.
- Export LIBPATH to the new directory.
- Compile and Link your application.
You can ignore any unresolved symbols coming from libasl, or others that you know about.
Errors found indicating unresolved symbols must be fixed before the program will properly execute in standalone diagnostics mode.