Thanks for the reply.<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 1:32 PM, Martin Willi <span dir="ltr"><<a href="mailto:martin@strongswan.org" target="_blank">martin@strongswan.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
> ../configure --target=mips64-octeon-linux-gnu<br>
> --host=mips64-octeon-linux-gnu --prefix=krishna/gmp-4.2.2/target<br>
<br>
> test -z "krishnagmp-4.2.2/target/share/info" || /bin/mkdir -p<br>
<br>
</div>Probably this prefix is not valid. I'd try an absolute path.<br></blockquote><div><font color="#3333ff">I was earlier missing gmp library when building strongswan for mips. So I tried building the gmp library for mips but it failed as I don't have the permissions for the path. The error is due to that.</font></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> So the question is, Is it fine if I build gmp library in a separate<br>
> permissible folder and copy the header (gmp.h) .<br>
<br>
</div>As you'll be linking dynamically to libgmp, this library has to get<br>
installed on your system. I can't help you with that, as I don't know<br>
your SDK.<br></blockquote><div><font color="#3333ff">Agreed. The GMP header would be installed dynamically in the system. Is there a way to configure without GMP . I am using Octeon SDK</font></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
To build strongSwan against GMP in non-standard directories, you can<br>
pass library and include directories using -L/-I LDFLAGS/CFLAGS<br>
to ./configure, see "./configure --help".<br></blockquote><div><font color="#3333ff">Could you please elaborate on "-L/-I LDFLAGS/CFLAGS " on this.</font></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">
<br><br></font></span></blockquote><div>Thanks,</div><div>KC</div></div>