I had exactly the same problem on XP. The original from the build tools worked on 2k but not on XP for me. So I went on and compiled a new one from the build tool sources and wow it seemed to work. Until I tried the original again....which strangely enough worked now suddenly, too.
Sounds very much like an uninitialized memory problem. I think the SAPDB people already know about the problem...but I guess the p2c thing is pretty old and noone wants to touch it anmore... ----- Original Message ----- From: "Mikhail Moussikhine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 12:05 AM Subject: [SAP DB Dev] !!! pgenc.exe fails under Windows XP !!! > Hi, > > I have just found the weirdest thing about pgenc.exe. I have no logical > explanation for its behaviour except due to the (phantom?) bug in the code. > First of all I was unable to build SAP DB under Windows XP. My env is quite > alright as I have exactly the same configuration for Windows 2000 and > everything is just fine. > > This is what I get trying to execute imf.pl all : > > .................. > C:\Perl\bin\perl.exe D:\SAPDB\DevTool/bin/mfsize.pl \ > -check=no \ > -trace=none \ > gsp00.con \ > gsp00.typ > Mon Dec 30 14:20 2002 gsp00.p: > 1017 (**) > E ----------------------^--- Duplicate case labels > 1026 tsp_moveobj_ptr = ^tsp00_MoveObj; (* used by P\ > TOC macro *) > E ----------------------^--- Duplicate case labels > 1036 nBufAddr = ^tsp00_ScreenBuf; > E ----------------------^--- Duplicate case labels > 1075 FALSE : > E ----------------------^--- Duplicate case labels > > .................. > ERROR : gsp00.c is empty ... deleting gsp00.c > Possible previous pascal syntax error! > COMMAND error 2 > > .................. > > This has no sense at all! After that everything is going to hell... > > Going through numerous .mac and .pl files (oh boy...) I finally reached > pgenc.exe - the culprit of all this crap. > > Now, call "pgenc.exe gsp00.p" under Windows 2000 and you shall get output as > a normal C file. > Then do the same under Windows XP and you shall get the above crappy dump! > The same files! > Furthermore, if you run the same thing through any "debugger" (ex: MSVC or > BoundsChecker) - IT WILL WORK!!! > > Seems to me memory leak or un-initialized pointer somewhere. > > Building the tools under Windows is a pain in the ass, so could you PLEASE > solve this issue ASAP, as it REALLY gets on my way. (I am on XP now) > > Thanks in advance and Happy New Year. > > -- > Mike > > > > > _______________________________________________ > sapdb.sources mailing list > [EMAIL PROTECTED] > http://listserv.sap.com/mailman/listinfo/sapdb.sources > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
