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

Anders Holm anders.holm at sysadmin.ie
Tue Nov 4 07:59:48 CET 2008


The PPC machine has no native compiler?

You want to ensure you are dynamically linking you binaries.

./configure --help

Sent from my iPhone

On 4 Nov 2008, at 04:45, "Young-Whan Kim" <cs010101 at gmail.com> wrote:

> Hi~
>
> 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
> /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// 
> 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 -- :-)
>
> Thanks.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list