<br><br><div class="gmail_quote">On Sun, Jan 3, 2010 at 10:25 AM, Paul Wouters <span dir="ltr">&lt;<a href="mailto:paul@xelerance.com">paul@xelerance.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sat, 2 Jan 2010, Elio Maldonado Batiz wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Paul, Avesh,<br>
<br>
Regarding the compile error I had the same problem and know the cause,<br>
see below<br>
</blockquote>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The problem is with the NSPR header not with openswan.<br>
Openswan uses the -Wstrict-prototypes flag (and -Werror) but the header<br>
faulty.<br>
<br>
In prlink.h the offending lines are line 52<br>
    void (*fp)();                     -----------------&gt; should use<br>
(void)<br>
and line 221<br>
typedef void (*PRFuncPtr)(); -----------------&gt; should use (void)<br>
<br>
In the meantime the attached works around it by patch relaxing prototype<br>
enforcement in the makefiles for rsasignkey and shhowhostkey.<br>
</blockquote>
<br></div>
Thanks. I&#39;ve merged in your patch, and we&#39;ll remove it again once nspr<br>
is fixed.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ll submit this work-around for fedora openswan<br>
and log a bug and send a patch for nspr.<br>
</blockquote>
<br></div>
If you have a url/bug number for us for the nspr, please let us know so<br>
we can reference it.<br></blockquote><div> </div><div>I searched and someone already filed a similar bug regarding strict prototypes<br><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=410677">https://bugzilla.mozilla.org/show_bug.cgi?id=410677</a><br>
There is a long discussion. Unfortunately, it won&#39;t be fixed for fear of breaking existing code.<br><br>Elio<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Thanks<br><font color="#888888">
<br>
Paul<br>
</font></blockquote></div><br>