| United States-English |
|
|
|
![]() |
HP-UX Linker and Libraries User's Guide: HP 9000 Computers > Chapter 3 Linker TasksLinker Compatibility Warnings |
|
Beginning with the HP-UX 10.20 release, the linker generates compatibility warnings. These warnings include HP 9000 architecture issues, as well as linker features that may change over time. Compatibility warnings can be turned off with the +vnocompatwarnings linker option. Also, detailed warnings can be turned on with the +vallcompatwarnings linker option. See the ld(1) man page for a description of these options. Link-time compatibility warnings include the following:
If you link a program that contains a reference to an archive library, and the archive library contains an undefined symbol, you may see the following warning:
The 32-bit mode linker does not include an object from an archive library simply because it contains a needed definition of an uninitialized global data symbol. Instead, it changes the existing undefined symbol to an uninitialized data symbol. This symbol has the same size as the definition of the global variable in the library. For example, given these source files: archive.c
main.c
If these files are compiled and linked as:
The linker issues the following warning:
due to an unresolved symbol for unsat(). In the HP-UX 11.00 release, the linker includes the archive library object definition rather than fixing up the external reference. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||