<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Sorry to bother you with a newbie question. I&#8217;m trying to send a simple Hello World program through translate. It&#8217;s failing to compile platcheck_1.c. I&#8217;m getting:</div>
<div>&nbsp;</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c: In function `dump_section_PROCESS_QUERY_LIMITED_INFORMATION':</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: `PROCESS_QUERY_LIMITED_INFORMATION' undeclared (first use in this function)</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: (Each undeclared identifier is reported only once</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: for each function it appears in.)</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c: In function `dump_section_PROCESS_SUSPEND_RESUME':</div>
<div>[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:403: error: `PROCESS_SUSPEND_RESUME' undeclared (first use in this function)</div>
<div>&nbsp;</div>
<div>I tried to figure out where the values in platcheck_1.c were getting defined in the first place so I could determine what I was doing wrong, but couldn&#8217;t quite get a handle on it. I&#8217;m on Windows, running MinGW through Msys. I launched translate like this:</div>
<div>&nbsp;</div>
<div>pypy-1.9/pypy.exe pypy-pypy-341e1e3821ff/pypy/translator/goal/translate.py --cc=gcc --batch hello.py</div>
<div>&nbsp;</div>
<div>The compile line that is failing looks like this:</div>
<div>&nbsp;</div>
<div>[platform:execute] gcc -c -O3 c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\gcctest.c &#8211;o c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\gcctest.o</div>
<div>&nbsp;</div>
<div>Any help would be appreciated. Do I need a different environment? Is it not MinGW/Msys friendly?</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>