Because of changes to libraries used with the ANSI C compiler on HP/UX 10.2, you must set the environment variable CCOPTS before attempting to compile. In the .profile:
CCOPTS="-l Hcurses"
export CCOPTS
The quotation marks used when specifying the environment variable value are necessary because of the embedded space.
http://807199.827977/r5/knowledgebase/howto/general/unix/hpuxCCOPTS.htm last modified on 05/05/98 17:17PM