[strongSwan-dev] Issue in building strongswan for mips

krishna chaitanya krishnachaitanya.sanapala at gmail.com
Wed Jul 25 07:40:33 CEST 2012

Hi Team,

I was trying to build strongswan for mips and the building is failing due
to the missing of gmp libraries.

./configure  --host=mips64-octeon-linux-gnu --build=mips64

Error :

checking for linux/udp.h... yes
checking for struct sockaddr.sa_len... no
checking for struct sadb_x_policy.sadb_x_policy_priority... yes
checking for in6addr_any... yes
checking for in6_pktinfo... yes
checking for IPSEC_MODE_BEET... yes
checking for IPSEC_DIR_FWD... yes
checking for RTA_TABLE... yes
checking for gcc atomic operations... no
checking for register_printf_specifier... no
checking for register_printf_function... yes
checking for main in -lgmp... no
configure: error: GNU Multi Precision library gmp not found

I got the gmp plugin but the issue here and tried installing in the sdk
tools which is not permissible.

../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
/bin/mkdir: cannot create directory `/krishna//gmp-4.2.2': Permission denied
make[3]: *** [install-info-am] Error 1
make[3]: Leaving directory `/home/kchaitanya/gmp-5.0.5/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/kchaitanya/gmp-5.0.5/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/kchaitanya/gmp-5.0.5'
make: *** [install] Error 2

So the question is, Is it fine if I build gmp library in a separate permissible
folder and copy the header (gmp.h) . Please let me know if its fine or in
other case let me know if I need to make changes in the make file for this.
If this is true advise/direct  me on the required changes in the make file.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20120725/17b3a56e/attachment.html>

More information about the Dev mailing list