[Q] Cross-Compiling for PPC : version 1.1.7 same 2.1.1 same

Young-Whan Kim cs010101 at gmail.com
Tue Nov 4 05:45:26 CET 2008


I did compile freeradius-1.1.7 and 2.1.1. 
My build machine is : intel debian 3.1 and montavista cross-compiler

Options are : 
./configure --prefix="/root/local"
CC="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-gcc" --host="ppc"

First error was about libgdbm.a and wrong format message. 
So, I got gdbm-xxx.tar.gz package and installed to
"/opt/mvl4/pro/devkit/ppc/7xx/target/lib". And then the error disappeared.

And now, second error message occurred.

/root/ipv6/freeradius-1.1.7/src/main/mainconfig.c:827: warning: Using
'getservbyname' in statically linked applications requires at runtime the
shared libraries from the glibc version used for linking
./../../../powerpc-montavista-linux/bin/ld: attempted static link of dynamic
object `/opt/mvl4/pro/devkit/ppc/7xx/bin/../target/usr/lib//libltdl.so'
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
make[4]: *** [radiusd] Error 1
make[4]: Leaving directory `/root/ipv6/freeradius-1.1.7/src/main'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/root/ipv6/freeradius-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ipv6/freeradius-1.1.7/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/root/ipv6/freeradius-1.1.7'
make: *** [all] Error 2

In my thinking, this kinds of errors seems to be happened so often.
What can I do for this?

-- from beginner -- :-)


More information about the Freeradius-Users mailing list