dhcpcd-discuss

Re: Build problems with dhcpcd-5 on uclibc

Roy Marples

Sat Jul 18 10:29:21 2009

Ed W wrote:
Hi, I am having problems building latest dhcpcd on a uclibc-0.30.1 system. Build errors are:

i386-gentoo-linux-uclibc-gcc -march=k6-2 -Os -pipe -fomit-frame-pointer -std=c99 -DDBDIR=\"/var/lib/dhcpcd\" -DSCRIPT=\ "/lib/dhcpcd/dhcpcd-run-hooks\" -DSYSCONFDIR=\"/etc\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c net.c -o net.onet.c:56:21: ifaddrs.h: No such file or directory
net.c: In function `discover_interfaces':
net.c:270: warning: implicit declaration of function `getifaddrs'

You need to upgrade your uclibc so that you have getifaddrs support. I know for sure it's in the latest version.
http://git.uclibc.org/uClibc/tree/libc/inet/ifaddrs.c

Thanks

Roy

Follow-Ups:
Re: Build problems with dhcpcd-5 on uclibcEd W
References:
Build problems with dhcpcd-5 on uclibcEd W
Archive administrator: postmaster@marples.name