On Fri, Feb 07, 2003 at 05:22:14AM -0500, Alan DeKok wrote:
> "jeffery" <[EMAIL PROTECTED]> wrote:
> >   I want to port freeradius into mipsel platform, but I got the problem. Does
> > anyone can give me a hand to resolve this problem. Thank you.My config and
> > error message as follow:

> > Configure:
> >  ./configure --target=mipsel-linux --enable-static --enable-fast-install

>   Huh?  Why are you specifying a target?  'configure' is supposed to
> do all that work for you.

It's pretty clear from the paths listed below that he's trying to
cross-build from a different platform.

Having compiled software on mips machines before, I can understand his
motivation.

> > without-pic --without-threads --without-snmp --without-rlm-acct_unique
> > --without-rlm-always --without-rlm-counter --without-rlm-cram
> > --without-rlm-dbm --without-rlm-detail --without-rlm-digest
> > --without-rlm-example --without-rlm-expr --without-rlm-ippool
> > --without-rlm-krb5 --without-rlm-ldap --without-rlm-pam --without-rlm-perl
> > --without-rlm-python --without-rlm-radutmp --without-rlm-smb --without-rlm-sql
> > --without-rlm-sqlcounter --without-rlm-x99_token

>   I have no idea why you're trying to disable almost all of the
> modules.  That will only make it more difficult to configure the server.

Probably to keep the configure script from trying to pick up on support
for these features on the native platform, if he doesn't have the
necessary libs installed for cross-building.

> ...
> > extracting global C symbols from `../modules/rlm_eap/.libs/librlm_eap.a'
> > /usr/bin/nm: rlm_eap.o: Bad value
> ...
> > /opt/toolchains/mips/lib/gcc-lib/mipsel-linux/3.1/../../../../mipsel-linux/bin/ld:
> > .libs/radiusdS.o: Relocations in generic ELF (EM: 3)
> > .libs/radiusdS.o: could not read symbols: File in wrong format

>   It looks like your system can't link libraries.

That seems a fair conclusion.  Jeffery, have you used this toolchain to
compile other software in the past?

-- 
Steve Langasek
postmodern programmer

Attachment: msg13613/pgp00000.pgp
Description: PGP signature

Reply via email to