RTF_CLONING has been removed from /usr/include/net/route.h. However, dhcpcd seems to need it. FYI, http://svnweb.freebsd.org/base/stable/9/sys/net/route.h?r1=185747&r2=186119 Reproducible: Always Steps to Reproduce: 1. emerge dhcpcd 2. 3. Actual Results: >>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-5.6.2/work/dhcpcd-5.6.2 ... gmake -j1 x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c arp.c -o arp.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c bind.c -o bind.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c common.c -o common.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c control.c -o control.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c dhcp.c -o dhcp.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c dhcpcd.c -o dhcpcd.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c duid.c -o duid.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c eloop.c -o eloop.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c configure.c -o configure.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c if-options.c -o if-options.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c if-pref.c -o if-pref.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c ipv4ll.c -o ipv4ll.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c net.c -o net.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c signals.c -o signals.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c ipv6.c -o ipv6.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c ipv6rs.c -o ipv6rs.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c ipv6ns.c -o ipv6ns.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c bpf.c -o bpf.o x86_64-gentoo-freebsd9.1-gcc -O2 -pipe -mtune=generic -c if-bsd.c -o if-bsd.o if-bsd.c: In function 'if_route6': if-bsd.c:366:24: error: 'RTF_CLONING' undeclared (first use in this function) if-bsd.c:366:24: note: each undeclared identifier is reported only once for each function it appears in gmake: *** [if-bsd.o] Error 1 I've changed the section dhcpcd to emerge '<net-misc/dhcpcd-5.6' on the wiki.
I reported to the upstream. Added to the field URL.
Created attachment 327306 [details, diff] patch for dhcpcd-5.6.2.ebuild
Created attachment 327308 [details, diff] files/dhcpcd-5.6.2-if-bsd.patch Issue has been resolved in the upstream. Please apply the patch if you want to use dhcpcd-5.6.2. Taken from http://roy.marples.name/projects/dhcpcd/changeset/4d6bbabd08d1a1696f5db67af60c9883c4c367f4#file0
applied, thanks