OS2 World.Com Forum

Subject  :  Visual Age Compiler nmake.exe Exception on os/2
Author  :  ash
Date  :  14 Jun, 2004 on 22:38
I get the following exception while linking libraries.
c0000005 EIP = 22563

It used to dissapear when I type csetenv and compile again. BUT now even this doesnt seem to help.

Below is the popuplog.os2 entry.

06-14-2004 16:11:14 SYS3175 PID 09cf TID 0001 Slot 003c
D:\IBMCPP\BIN\NMAKE.EXE
c0000005
00022563
P1=00000001 P2=01000000 P3=XXXXXXXX P4=XXXXXXXX
EAX=01000000 EBX=0004322c ECX=00086980 EDX=00086960
ESI=00000000 EDI=00000000
DS=0053 DSACC=d0f3 DSLIM=1fffffff
ES=0053 ESACC=d0f3 ESLIM=1fffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:00022563 CSACC=d0df CSLIM=1fffffff
SS:ESP=0053:000474f8 SSACC=d0f3 SSLIM=1fffffff
EBP=00047500 FLG=00012206

NMAKE.EXE 0002:00002563

Why would this happen? Any ideas?


Hegde

Subject  :  Re:Visual Age Compiler nmake.exe Exception on os/2
Author  :  Redbill
Date  :  15 Jun, 2004 on 23:38
Hello ash,

how about running nmake.exe with option /P and posting the result then?

Have fun
Redbill


Subject  :  Re:Visual Age Compiler nmake.exe Exception on os/2
Author  :  ash
Date  :  16 Jun, 2004 on 17:56
Thanks for reply Redbill.

Heres the result,

The following appears on the screen with the /P option,

MACROS:

VISUAL_AGE = 1
SRC_DRIVE = e:
RCFLAGS = -r $(VARRCFLAGS) $(DEFINEFLG)
GENSRC = $(SRC_DRV)\$(LIBDIR)\gen\src
BASESRC = $(SRC_DRV)\$(LIBDIR)\base\src
S2IMSRC = $(SRC_SRV)\$(LIBDIR)\S2IM\src
RDSINC = $(RDS_DRV)\rds\include
LICENSE = 1
DLSINI = C:\IBMLAN\NETPROG\NETGUI.INI
LIBFLAGS = /NOI /NOE /Q
DEFINEFLG = $(32_BIT_DEF) /D__CSET2__ /D__LASER__ /DRW_NO_STL=1 /DNOMINMAX $
(STMFLAG) $(MWHRMFLAG) $(SSHRMFLAG)
VARLINKFLAGS = /EXEPACK:2 $(VISAGE_LFLAGS)
VENDORLIBDIR = $(SRC_DRV)\$(LIBDIR)\vendor\lib
IPCSRC = $(SRC_DRV)\$(LIBDIR)\rtecipc\src
INCLUDE = e:\rrsrc\gen\rc;e:\rrsrc\com\rc;e:\rrsrc\base\rc;e:\rrsrc\hardde
v\rc;e:\rrsrc\focus\rc;e:\rrsrc\pulse\rc;e:\rrsrc\com\inc;e:\rrsrc\harddev\inc;e
:\rrsrc\vendor\inc;e:\rrsrc\pcm\inc;e:\rrsrc\s2im\inc;e:\rrsrc\s2im\rc;D:\IBMCPP
\INCLUDE\;D:\IBMCPP\INCLUDE\OS2;D:\IBMCPP\INC;D:\CV31B\INCLUDE;D:\STL;d:\ROGUE;
USE_HOSTS_FIRST = 1
WORKPLACE__PROCESS = NO
CATPATH = D:\rds\catalog
VBPATH = .;D:\IBMCPP\DDE4VB
DLLLIBS = CPPOM30.LIB
CC = icc
WINUTILINC = $(SRC_DRV)\$(LIBDIR)\winutil\inc
INIT_FILE_NAMES = netgui
COMSRC = $(SRC_SRV)\$(LIBDIR)\com\src
DMIPATH = C:\DMISL\BIN
Exception = c0000005 occurred at EIP = 2b6d0.
SYS1808:
The process has stopped. The software diagnostic
code (exception code) is 0005.

The following appears in the popuplog.os2 file,

06-16-2004 11:41:22 SYS3175 PID 025c TID 0001 Slot 0067
D:\IBMCPP\BIN\NMAKE.EXE
c0000005
0002b6d0
P1=00000001 P2=00000004 P3=XXXXXXXX P4=XXXXXXXX
EAX=00000000 EBX=0004322c ECX=006a8200 EDX=00000000
ESI=00000000 EDI=00000000
DS=0053 DSACC=d0f3 DSLIM=1fffffff
ES=0053 ESACC=d0f3 ESLIM=1fffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:0002b6d0 CSACC=d0df CSLIM=1fffffff
SS:ESP=0053:00047500 SSACC=d0f3 SSLIM=1fffffff
EBP=0004752c FLG=00012206

NMAKE.EXE 0002:0000b6d0

---
Hegde


Subject  :  Re:Visual Age Compiler nmake.exe Exception on os/2
Author  :  Redbill
Date  :  19 Jun, 2004 on 01:41
Hello ash,

sorry, I was wrong with the option /p. I actually meant option /n which displays the commands it would execute, so one can see at which point nmake crashes.

Best regards,
Redbill


Subject  :  Re:Visual Age Compiler nmake.exe Exception on os/2
Author  :  ash
Date  :  21 Jun, 2004 on 15:37
Here's the response,

The attached file is the response when I type nmake with /n option.

This is the popuplog entry,

06-21-2004 09:23:35 SYS3175 PID 00e8 TID 0001 Slot 003c
D:\IBMCPP\BIN\NMAKE.EXE
c0000005
0002acbf
P1=00000001 P2=00000010 P3=XXXXXXXX P4=XXXXXXXX
EAX=00000010 EBX=0004322c ECX=000838e0 EDX=00084160
ESI=00000000 EDI=00000000
DS=0053 DSACC=d0f3 DSLIM=1fffffff
ES=0053 ESACC=d0f3 ESLIM=1fffffff
FS=150b FSACC=00f3 FSLIM=00000030
GS=0000 GSACC=**** GSLIM=********
CS:EIP=005b:0002acbf CSACC=d0df CSLIM=1fffffff
SS:ESP=0053:00047508 SSACC=d0f3 SSLIM=1fffffff
EBP=0004752c FLG=00012202

NMAKE.EXE 0002:0000acbf

---
Hegde


Powered by UltraBoard 2000 <www.ub2k.com>