[uClibc] nfs server on mips platform?

tom at ceisystems.com tom at ceisystems.com
Tue Apr 27 21:29:15 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael,

> Hi All,
>  I am trying to set up a nfs server on the mipsel platform. I 
> got the nfs-utils package and did configure/make  with cross 
> compiling by mipsel-uclibc-gcc, but It failed while making. 
> Because the tools rpcgen is also built to mips format. I 
> tried to revise the Makefile to build rpcgen in x86 format, 
> but it caused functions undefined reference problem.
> Below is the meessage of making.
>  
>  Thanks,
>  Michael

I've looked into this for a little bit just now, and this is what I've
concluded.  When you attempt to cross-compile the nfs-utils package, it
compiles _everything_ for the _target_ architecture.  Typically, this
would be okay.  However, in this particular situation, `rpcgen` needs to
compile for the _host_ architecture and not the target, as it appears to
generate the code for the rest of the package.  Someone correct me if
I'm wrong here, as I have not researched this _too_ thoroughly.

So, it would appear that some _major_ Makefile hacking is in order to
make nfs-utils compile properly.  Or, if your target machine is up to
the challenge, you could compile the utils there and tar them up for
later use.

Good Luck,
Thomas Cameron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAkCO0GMACgkQCnk9/RTg1dAKgACeKv9Qfp4vcY2nGqov/wSCeogU
YgAAnRaN+lHqLT+lcfFdBBmf3lVBiNT2
=H75q
-----END PGP SIGNATURE-----




More information about the uClibc mailing list