jv@mhres.mh.nl (Johan Vromans) (07/24/89)
This has probably be answered before, but ...
I'm porting Icon 7.5 to a VAX running Ultrix 3.0. I choose the
"vax_ultrix" configuration file.
First, Ultrix doesn't like fopen(...,"rb") and fopen(...,"wb"), so I
changed them.
Now I'm running into memory allocation problems.
When I run a program, iconx opens the icon-executable with fopen(...),
which apparetly calls malloc. However, initalloc is not yet called,
so iconx aborts with a stratup error "malloc: static region not
initialized".
Has anyone solved this problem, and how? Are other problems to be
expected?
Thanks in advance.
Johan
--
Johan Vromans jv@mh.nl via internet backbones
Multihouse Automatisering bv uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500
------------------------ "Arms are made for hugging" -------------------------ralph@ARIZONA.EDU ("Ralph Griswold") (07/25/89)
These are known problems with Version 7.5 under Ultrix. They are fixed in our development version, but it will be a while until it's available for distribution. To work around the memory allocation problem, add #define FixedRegions to define.h. Icon's memory regions won't expand automatically, but you can set them to large values with environment variables. Ralph Griswold / Dept of Computer Science / Univ of Arizona / Tucson, AZ 85721 +1 602 621 6609 ralph@Arizona.EDU uunet!arizona!ralph