[strongSwan-dev] Issue in building strongswan for mips

krishna chaitanya krishnachaitanya.sanapala at gmail.com
Thu Aug 2 09:14:06 CEST 2012


Hi Martin,

I tried changing the configure,in option but was not succesful. Could you
please guide me on building strongSwan against GMP in non-standard
directories and the changes to be made in cofigure script.

On Wed, Jul 25, 2012 at 2:08 PM, krishna chaitanya <
krishnachaitanya.sanapala at gmail.com> wrote:

> Thanks for the reply.
>
> On Wed, Jul 25, 2012 at 1:32 PM, Martin Willi <martin at strongswan.org>wrote:
>
>> Hi,
>>
>> > ../configure --target=mips64-octeon-linux-gnu
>> > --host=mips64-octeon-linux-gnu --prefix=krishna/gmp-4.2.2/target
>>
>> > test -z "krishnagmp-4.2.2/target/share/info" || /bin/mkdir -p
>>
>> Probably this prefix is not valid. I'd try an absolute path.
>>
> 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.
>
>
>>
>> > So the question is, Is it fine if I build gmp library in a separate
>> > permissible folder and copy the header (gmp.h) .
>>
>> As you'll be linking dynamically to libgmp, this library has to get
>> installed on your system. I can't help you with that, as I don't know
>> your SDK.
>>
> Agreed. The GMP header would be installed dynamically in the system. Is
> there a way to configure without GMP . I am using Octeon SDK
>
>>
>> To build strongSwan against GMP in non-standard directories, you can
>> pass library and include directories using -L/-I LDFLAGS/CFLAGS
>> to ./configure, see "./configure --help".
>>
> Could you please elaborate on  "-L/-I LDFLAGS/CFLAGS " on this.
>
>>
>>
>> Thanks,
> KC
>
Thanks,
KC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20120802/fbec798d/attachment.html>


More information about the Dev mailing list