critical impact:
uil - use uil64 for 64-bit applications (CrCh323)
Problem description
HP-UX has two versions of the UIL compiler: uil for 32-bit
applications and uil64 for 64-bit applications.
User Interface Language (UIL) is used by some Motif applications to specify their user interface. The UIL compiler compiles a UIL source file into a UID binary file, which the application then accesses at runtime through the Motif Resource Manager (Mrm) library.
UID files are architecture-dependent. A 32-bit application cannot use a 64-bit UID file, and a 64-bit application cannot use a 32-bit
UID file. Identifiers
 uil |
|
|
|
|
|
|
|
|
See also
Solution description
Use the appropriate UIL compiler for your application.
The locations of the two UIL compilers are as follows:
/usr/bin/X11/hpux32/uil
/usr/bin/X11/hpux64/uil64
Use uil if you are building your application in 32-bit mode (+DD32). That is the default mode for the HP-UX cc and aCC compilers.
Use uil64 if you are building in 64-bit mode (+DD64). That is the default mode for the cc and cxx drivers in the Tru64 UNIX Migration Environment for HP-UX.
There is an extra consideration for shared libraries that open UID files. If a library exists in both 32-bit and 64-bit versions, it must also have both 32-bit and 64-bit UID files. The library is responsible for opening the appropriate one since Mrm does not have
separate 32-bit and 64-bit search paths for UID files.
Finally, the uil(1) manpage on HP-UX has display problems because it is installed in the wrong directory. That will be fixed
in a future release. In the meantime, run the following command as root:
mv /usr/share/man/man1/uil.1 /usr/share/man/man1.Z
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| 64 |
Make, Script |
any HP-UX 11i version |
critical |
changed |
|