<br><br><div class="gmail_quote">On Sun, Jan 3, 2010 at 10:25 AM, Paul Wouters <span dir="ltr"><<a href="mailto:paul@xelerance.com">paul@xelerance.com</a>></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)(); -----------------> should use<br>
(void)<br>
and line 221<br>
typedef void (*PRFuncPtr)(); -----------------> 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've merged in your patch, and we'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'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'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>