Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bobm From: bobm@hpcvlx.cv.hp.com (Bob May) Newsgroups: comp.windows.x Subject: Re: X11R4 under HP-UX 7.0 Message-ID: <100920183@hpcvlx.cv.hp.com> Date: 2 Mar 90 16:55:45 GMT References: <1990Mar1.220422.19821@kaukau.comp.vuw.ac.nz> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 26 > Has anyone build R4 under HP-UX 7.0 on a series 300 machine? > Everything built and worked fine under 6.5. > Under 7.0 everything builds without complaint (except for warnings because > SIGCHLD is now defined in signal.h), the server works, some of the clients > work, but other clients (notably xterm, xman, xcalc, xdm) fail immediately > with the message: > > Cannot perform realloc > > Any ideas what is going on? There's a bug in the hp.cf file on the standard distribution bits. The compiler flag MALLOC_0_RETURNS_NULL must be defined if you are using the standard libc malloc package. If you don't, you see the realloc errors. Try adding -DMALLOC_0_RETURNS_NULL to the compile line for the Xt code, and recompile Alloc.c. This should help you. Yes, the bug's been submitted to MIT... > cheers > mark Bob May Hewlett-Packard Interface Technology Operation bobm@hpcvlx.cv.hp.com