[Buildroot] nfs-utils build failed
Zdeněk Materna
zdenek.materna at gmail.com
Mon Feb 21 20:21:52 UTC 2011
Hello,
thanks for fix, it's ok now!
Zdenek
2011/2/20 Peter Korsgaard <jacmet at uclibc.org>
> >>>>> "Martin" == Martin Hicks <mort at bork.org> writes:
>
> Martin> 2011/2/20 Zdeněk Materna <zdenek.materna at gmail.com>:
> >> Hello,
> >>
> >> I'm back with another problem which I can't solve. I'm using buildroot
> from
> >> git, uclibc 0.9.31 and there is some problem with building nfs-utils
> (build
> >> log at bottom). If I understand it right rpcgen is used to generate
> mount.h.
> >> But rpcgen is compiled for target and can't be run on host. Then it's
> little
> >> bit strange that mount.h missing error is produced before "rpcgen:
> cannot
> >> execute binary file" error.
> >>
> >> Can anybody explain it for me? I'm quite confused with it. And any tips
> what
> >> to do to compile nfs-utils?
>
> Martin> I fought with this in a non buildroot environment this week. The
> Martin> reason is that rpcgen is compiled with your cross compiler and not
> Martin> your build host's CC. I couldn't figure out how to make automake
> use
> Martin> my host's compiler, but did eventually figure out that if you
> install
> Martin> the rpcgen program from your build server's package manager into
> Martin> /usr/bin you can specify RPCGEN=/usr/bin/rpcgen and nfs-utils
> will
> Martin> stop trying to compile this tool and just use the one you've
> Martin> specified.
>
> FYI: I've fixed the nfs-utils package in git to build rpcgen itself, so
> you no longer need this.
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110221/4086a313/attachment-0002.html>
More information about the buildroot
mailing list