Dear Alan, I use x86 host to cross compile mipsel-linux code. Will "configure" know that I will use mipsel-linux-gcc to compile freeradius not gcc? As the result I run. It will guess my compiler is gcc, not mipsel-linux-gcc. So I think that maybe I should add --target parameter. But it also cannot find out my crosscompiler. How do you do that will make a Makefile that can use mipsel-linux-gcc to compile freeradius? Could you please kindly tell me! Thank you. ¦b ¶g¤, 2003-02-07 18:22, Alan DeKok ¼g¹D¡G > "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 -- Regard, Jeffery Huang iMining Technology Co., Ltd. 8F-4, No.432, Sec.1 Keelung Rd., Taipei, Taiwan, ROC TEL:886-2-27235122 ext 20 FAX:886-2-27232287 http://www.imining.com.tw mail:[EMAIL PROTECTED]
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html