cross compiling freeradius

Erich Titl erich.titl at think.ch
Thu Oct 15 10:46:41 CEST 2020


Hello

I am trying to cross compile freeradius-server-3.0.21. Until recently we
used a 2.x series but upgrading to openssl 1.1.1 forced us to upgrade
freeradius too (it is probably reasonable anyway).

Now with freeradius 3.0.21 I am running into an impasse as configuration
barfs at me:

checking for __builtin_choose_expr support in compiler... configure:
error: in
`/home/mega/leaf/devel/master-new-openssl/source/x86_64-unknown-linux-uclibc/radius/freeradius-server-3.0.21':
configure: error: cannot run test program while cross compiling

configure reads

Configured with:
/home/mega/leaf/devel/master-new-openssl/source/x86_64-unknown-linux-uclibc/toolchain/gcc-8.4.0/configure
--target=x86_64-unknown-linux-uclibc
--with-sysroot=/home/mega/leaf/devel/master-new-openssl/staging/x86_64-unknown-linux-uclibc
--includedir=/home/mega/leaf/devel/master-new-openssl/staging/x86_64-unknown-linux-uclibc/usr/include
--prefix=/home/mega/leaf/devel/master-new-openssl/toolchain/x86_64-unknown-linux-uclibc
--enable-shared --with-gnu-ld --with-gnu-as --disable-libmudflap
--disable-libssp --disable-libmpx --disable-libquadmath
--disable-libgomp --disable-multilib --enable-languages=c++

It appears that I have to disable parallel testing of the capabilities.
Could anyone point me what to look at?

Thank you

ET


-- 
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com



More information about the Freeradius-Users mailing list