From: andyeloff AT yahoo DOT com (Andrew Eloff) Newsgroups: comp.os.msdos.djgpp Subject: Re: Windows2000 memory problem Date: Sat, 17 Feb 2001 06:25:11 GMT Organization: nu References: X-Newsreader: Forte Free Agent 1.21/32.243 Lines: 53 Message-ID: <3a8e1979$0$70803$1dc6e903@news.corecomm.net> NNTP-Posting-Host: ad186459.news.corecomm.net X-Trace: DXC=Pd53U5cCkNXL:]83Yo7ZD[ZacKj`b3Y4Xbo1K;GlJd>[dAcKco4nOkZ_G7E`cmWo AT VL^:NkYe\2VYRih9e]Y>dJZ X-Complaints-To: abuse AT corecomm DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I get the same repeatable problem compiling zlib with Win2K. Here's the info that I have: - using bnu2951b - compiling zlib113 prob.1: during make -fmsdos\makefile.dj2, I frequently get the following dialog box message during gcc phase (sample gcc command: "gcc -MMD -O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion -Wstrict-prototypes -Wmissing-prototypes -c compress.c -o compress.o"): ntvdm.exe - Application Error: The instruction at "0x0f048d8a" referenced memory at "0x01340ffc". The memory could not be "written". It still seems to build the object ok. prob. 2: during ar phase of make, I get the same message as Mr. Lee (sample command: ar rcs zlib.a adler32.o): "d:\djgpp\bin/ar.exe: libz.a: rename: Not enough memory (ENOMEM)" I've got tons of DPMI mem set in _default.pif (16M), so that shouldn't be a problem.. Sorry not to have plunged in to this yet myself - but I just encountered this problem tonight, and figured I'd post it after having seen this message. - Andy On Wed, 22 Nov 2000 10:35:53 +0200 (IST), Eli Zaretskii wrote: > >On Tue, 21 Nov 2000, Kangwook Lee wrote: > >> I have a memory problem of djgpp in Windows2000. >> When I make a library by using 'ar' command, I got an error message. >> >> - Not enough memory (ENOMEM) > >Please post the full command line with which `ar' was invoked in that >case. Also, what does "ar --version" print? > >If you can try that same library build on a system other than >Windows 2000, please do and tell whether it works on another OS. > >> DPMI memory available: 120080 Kb >> DPMI swap space available: 0 Kb <-- Is it normal? > >This is a known problem with the NT DPMI server: it lies about the >swap size.