Re: [5.2.12/Cross-compiling] "libc support for getifaddrs is required"
Roy Marples
Tue Jun 21 22:12:11 2011
On Tue, 2011-06-21 at 18:14 +0200, Gilles Ganault wrote:
> Since the default dhcpcd client crashes at reboot on the uClinux
> appliance I'm using, I wanted to cross-compile Roy's and give it a
> shot, but compiling fails:
>
> ===============
> /usr/src/dhcpcd-5.2.12# ./configure --host=i686-pc-linux
> --target=bfin-linux-uclibc --disable-fork
> Configuring dhcpcd for ... linux
> Looking for compiler ... bfin-linux-uclibc-gcc
> There is no fork
> Testing for getifaddrs ... no
> libc support for getifaddrs is required - aborting
> ===============
>
> Does someone know if dhcpcd compiles for uClinux?
The problem is that getifaddrs isn't available in the libc uClinux ships
with.
We need to make a shim for it.
Thanks
Roy
Archive administrator: postmaster@marples.name