[strongSwan] Help with Strongswan crosscompile (Ubuntu - Synology)
Luka
Lukapple80 at gmail.com
Tue Nov 19 15:46:41 CET 2013
I'm getting following error when I try to crosscompile strongswan on ubuntu
for my Synology NAS server:
*error: GNU Multi Precision library gmp not found*
Host:
hostname = ubuntu
uname -m = i686
uname -r = 3.8.0-32-generic
uname -s = Linux
Target:
Synology:
- model DS213+
- CPU: Freescale QorIQ P1022
- Arch: PowerPC
- Endianness: Big Endian
- Linux 2.6.32
- uname -a:
Linux LupoDiskStation 2.6.32.12 #3776 SMP Sat Aug 17 02:11:24 CST 2013 ppc
GNU/Linux synology_qoriq_213+
I'm using official Synology toolchain.
Here is terminal output after I run configure command:
x at ubuntu:~/strongswan-5.1.1env
CC=/usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc
LD=/usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-ld
RANLIB=/usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-ranlib
CFLAGS="-I/usr/local/powerpc-none-linux-gnuspe/include -mcpu=8548
-mhard-float -mfloat-gprs=double"
LDFLAGS="-L/usr/local/powerpc-none-linux-gnuspe/lib" ./configure
--host=powerpc-unknown-linux --target=powerpc-unknown-linux
--build=i686-pc-linux --prefix=/usr/local > configureOut.txt
configure: WARNING: using cross tools not prefixed with host triplet
configure: WARNING: linux/fib_rules.h: present but cannot be compiled
configure: WARNING: linux/fib_rules.h: check for missing prerequisite
headers?
configure: WARNING: linux/fib_rules.h: see the Autoconf documentation
configure: WARNING: linux/fib_rules.h: section "Present But Cannot Be
Compiled"
configure: WARNING: linux/fib_rules.h: proceeding with the compiler's result
configure: error: GNU Multi Precision library gmp not found
Here is full configure output:
https://dl.dropboxusercontent.com/u/2261256/forums/ipsec/crosscompile/configureOutput.txt
And here is config.log file:
https://dl.dropboxusercontent.com/u/2261256/forums/ipsec/crosscompile/config.log
Any idea what should I do to make crosscompile work ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20131119/ce9755a7/attachment.html>
More information about the Users
mailing list