"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.

> 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.

> --with-ltdl-include=./libltdl/

  Why are you doing this?  'configure' is set up to do that already.

  Stop trying to work around the automatic configure process.

...
> 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.

  I would suggest doing a plain:

$ ./configure
$ make

  as suggested in the documentation.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to