Mail Archives: djgpp/2001/02/17/02:41:54
> From: andyeloff AT yahoo DOT com (Andrew Eloff)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 17 Feb 2001 06:25:11 GMT
>
> 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".
I think this is related to the known problem with W2K whereby NTVDM
crashes when DJGPP programs are nested more than 2 levels deep. You
are lucky: in your case, it doesn't crash. (You should be able to
verify that the instruction ay 0x0f048d8a is in NTVDM's code.)
> 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)"
This is another known problem with W2K: its system call that renames a
file returns a funky error code when the target file already exists,
which confuses the DJGPP's implementation of the library function
`rename'. This was only fully debugged lately (most DJGPP developers
don't have access to a Windows 2000 machine), and a fix for this is in
the development sources. But to fix this in ar.exe, you will have to
rebuild Binutils after getting the fixed version of the function
`_rename' from the DJGPP CVS.
- Raw text -