Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ruuinf!praxis!edwin From: edwin@praxis.cs.ruu.nl (Edwin Kremer) Newsgroups: comp.windows.x Subject: Re: realloc/xtalk/HPUX7.0/cc/R4 problem Keywords: HP 7.0 realloc Message-ID: <3570@ruuinf.cs.ruu.nl> Date: 5 Jul 90 09:29:23 GMT References: <2155@dino.cs.iastate.edu> Sender: news@ruuinf.cs.ruu.nl Lines: 29 In <2155@dino.cs.iastate.edu> dmartin@cs.iastate.edu writes: | I just installed R4 with patches 1-12 under HPUX 7.0 (not gcc). The | core clients seem to work, but there are several contrib clients that | all die with the same error message: | Error: Cannot perform realloc When I installed X11R4 on HP-UX 7.0 the latest fix available was #5 so things might have changed by now. Anyway, there was a problem in the "hp.cf" config file: the -DMALLOC_0_RETURNS_NULL should be defined. Well, I did that and still it didn't work, probably my own stupidity, but I solved it by putting this at the beginning of the file "mit/lib/X/Xlibos.h": #ifdef hpux # define MALLOC_0_RETURNS_NULL #endif hpux Next I did a 'make World' again, and it's runs great since then... good luck, --[ Edwin ]-- -- Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Telephone: +31-30-534104 | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin Telefax : +31-30-513791 | Email: edwin@cs.ruu.nl [131.211.80.5]