<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Arial","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Hello,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">After a successful ./configure of libgpg-error-1.36, the subsequent make failed with the error below.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">capplmgr@orafind: /fin3/app/app/capplmgr/mlc-rot/gnupg/libgpg-error-1.36> make</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> make all-recursive</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Making all in m4</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Target "all" is up to date.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Making all in src</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> make all-am</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> source='gpg-error.c' object='gpg_error-gpg-error.o' libtool=no DEPDIR=.deps depmode=xlc /bin/sh ../build-aux/depcomp cc -qlanglvl=extc89
-DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/local/share/libgpg-error\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_THREAD_SAFE -g -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo './'`gpg-error.c</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 497.1: 1506-191 (E) The character # is not a valid C source character.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 497.2: 1506-275 (S) Unexpected text 'if' encountered.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 499.1: 1506-191 (E) The character # is not a valid C source character.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 501.1: 1506-191 (E) The character # is not a valid C source character.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 498.17: 1506-277 (S) Syntax error: possible missing ')' or ','?</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">"gpg-error.c", line 496.5: 1506-045 (S) Undeclared identifier HAVE_W32_SYSTEM.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">make: 1254-004 The error code from the last command is 1.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Stop.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">make: 1254-004 The error code from the last command is 2.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Stop.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">make: 1254-004 The error code from the last command is 1.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Stop.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">make: 1254-004 The error code from the last command is 2.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue">Stop.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">I had a look inside the source src/gpg-error.c in the vicinity of lines 497 to 501. Below is a code snippet. I am not a C developer but it seems to me that the 4<sup>th</sup>
call to ARGPARSE_c below which I’ve highlighted in <span style="color:red">RED </span>
is incorrect C code.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +480 main (int argc, char *argv[])</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +481 {</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +482 enum { CMD_DEFAULT = 0,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +483 CMD_LIB_VERSION = 501,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +484 CMD_LIST,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +485 CMD_DEFINES,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +486 CMD_LOCALE,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +487 OPT_DESC</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +488 };</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +489 static gpgrt_opt_t opts[] = {</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +490 ARGPARSE_c (CMD_LIB_VERSION, "lib-version",</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +491 "Print library version"),</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +492 ARGPARSE_c (CMD_LIST, "list",</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +493 "Print all error codes"),</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +494 ARGPARSE_c (CMD_DEFINES, "defines",</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +495 "Print all error codes as #define lines"),</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +496 ARGPARSE_c (CMD_LOCALE, "locale",</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +497 #if HAVE_W32_SYSTEM</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +498 "Return the locale used for gettext"</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +499 #else</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +500 "@"</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +501 #endif</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:red"> +502 ),</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +503 ARGPARSE_s_n (OPT_DESC, "desc",</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +504 "Print with error description"),</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +505 ARGPARSE_end()</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +506 };</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt; font-family:"Courier New"; color:blue"> +507 gpgrt_argparse_t pargs = { &argc, &argv };</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Would appreciate any advise on how to fix this error.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black">Reynaldo Abeleda</span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; font-family:"Arial","sans-serif"; color:blue">Senior Analyst, Engineer</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt; font-family:"Arial","sans-serif"; color:blue">Oracle Financials | Superannuation – Retail & Corporate | Wealth Technology</span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:8.0pt; font-family:"Arial","sans-serif"; color:black">National Australia Bank</span></b></p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">
<p style="font-family:verdana; font-size:10px">The information contained in this email communication may be confidential. If you have received this email in error, please notify the sender by return email, delete this email and destroy any copy.</p>
<p style="font-family:verdana; font-size:10px">Any advice contained in this email has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this email, National Australia Bank Limited (<b>NAB</b>)
recommends that you consider whether it is appropriate for your circumstances. If this email contains reference to any financial products, NAB recommends you consider the Product Disclosure Statement (PDS) or other disclosure document available from NAB, before
making any decisions regarding any products.</p>
<p style="font-family:verdana; font-size:10px">If this email contains any promotional content that you do not wish to receive, please reply to the original sender and write "Don't email promotional material" in the subject.</p>
<br>
</font>
</body>
</html>