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..... :-)
Young-Whan Kim wrote:
Hi~~ Happy to meet you.
I'm trying to compile for PPC. The version is 1.1.7.
Why 1.1.7? Use 2.1.1 if you're going through the trouble of compiling anyway.
/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
Fairly self-explanatory. Why not start with 2.1.1, and use configure without options and see how far you get, and then take one step at a time until things are where you want them to be. //anders
participants (2)
-
Anders Holm -
Young-Whan Kim