[Q] compiling for ppc.

Young-Whan Kim cs010101 at gmail.com
Mon Nov 3 07:16:39 CET 2008


Hi~~ Happy to meet you.

I'm trying to compile for PPC. The version is 1.1.7.
I did compile with following options :

./configure -prefix="/root/local" CPPFLAGS="-isystem
/usr/src/linux-2.6.10/include"
CC="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-gcc"
AR="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-ar"
LD="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-ld"
RANLIB="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-ranlib"
STRIP="/opt/mvl4/pro/devkit/ppc/7xx/bin/ppc_7xx-strip" --host="ppc"

And then got next error:

/opt/mvl4/pro/devkit/ppc/7xx/bin/../lib/gcc/powerpc-montavista-linux/3.4.3/.
./../../../powerpc-montavista-linux/bin/ld: attempted static link of dynamic
object `/opt/mvl4/pro/devkit/ppc/7xx/bin/../target/usr/lib/libgdbm.a'
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


How do I next?

Thanks..... :-)




More information about the Freeradius-Users mailing list