dhcpcd vs CentOS 6.6?
Doug Wiley
Fri Jul 17 15:22:05 2015
dhcpcd doesn't seem to compile in CentOS 6.6 (64 bit). The configure script
seems to run fine, but when I run make, I get this error message:
/usr/include/linux/netlink.h:35: error: expected specifier-qualifier-list
before ‘sa_family_t’
However, dhcpcd 6.8.2 WILL compile and run well if I add a line from
http://patchwork.ozlabs.org/patch/425005/ to the configure script:
echo "#include <sys/socket.h> /* for sa_family_t on old toolchains
*/" >>$CONFIG_H
That trick doesn't work for dhcpcd 6.9.0 and up, though. When I run make
for those newer versions, I get this error message:
config.h:20:28: error: compat/pollts.h: No such file or directory
I see on http://roy.marples.name/projects/dhcpcd/info/d2258a93ad45ab00 that
compat/pollts.h
<http://roy.marples.name/projects/dhcpcd/finfo?name=compat/pollts.h> was
deliberately removed, but the configure script still contains a reference
to it. I'm guessing that's a bug?
What do I need to do for the latest version of dhcpcd to compile
successfully on CentOS 6.6?
Archive administrator: postmaster@marples.name