Kenwood HP 9000 Personal Computer User Manual


 
Chapter 3 101
Linker Tasks
Linker Compatibility Warnings
printf ("\tfoo = %d\n", foo);
}
If these files are compiled and linked as:
cc -c main.c
cc -c archive.c
ar rv liba.a archive.o
ld /opt/langtools/lib/crt0.o -v \
+vallcompatwarnings main.o liba.a -lc -o test
The linker issues the following warning:
ld: (Warning) The file liba.a(archive.o) has not been fully
checked for unsatisfied symbols. This behavior may change
in future releases.
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.