Programs always abort with a memory error.

Back to Knowledge Base Back to How To

 

Programs always abort with a memory error.

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