HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 64 (of 101)
Chapter 11 Software Development
October 29, 2013
Solving Common Problems
Software development is is a very wide field, and there are not many common problems that
have standard solutions. Unlike in other areas, the products described here do not require
complex configurations nor are there general rules for their usage. There are however a few
standard situations that allow a common approach.
This chapter is under continuous construction and therefore can not be viewed as complete. It
can only try to give some general advice, and on the other hand, list some particular problems
which are likely to reoccur:
Installation Problems
Build Problems
Problems Starting A Program
Error Messages From The Dynamic Loader
Program Aborts
Also, there are a few environment variables that can be helpful when analyzing problems.
Many problems described here are caused by user errors. But there is always a chance that the
problem is caused by internal errors or bugs in compilers, the linker or in runtime libraries. In
such a case it might become necessary to involve the WTEC team (HP internal). There are different
teams responsible for different issues:
Languages WTEC [7]: compilers, linker, java, debuggers or runtime libraries for
programming languages
HP-UX WTEC [7]: libc and other HP-UX runtime libraries, shells and unix commands
X/Graphics WTEC [7]: X11/Motif/3D development and runtime libraries
Installation Problems
General Information
The products discussed here can be divided into three categories regarding their installation. The
first category is installed with the HP-UX operating system:
C, C++, Fortran runtime libraries
Bundled C compiler
Linker, linker tools and dynamic loader
libc header files