Re: dhcpcd vs CentOS 6.6?
Roy Marples
Sat Jul 18 10:42:47 2015
On 2015-07-17 16:22, Doug Wiley wrote:
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/ [1] to the configure script:
echo "#include <sys/socket.h> /* for sa_family_t on old
toolchains */" >>$CONFIG_H
Added here, thanks
http://roy.marples.name/projects/dhcpcd/info/ec21536f63cf5a39
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
Fixed here, hopefully
http://roy.marples.name/projects/dhcpcd/info/31aecf53597c988e
I see on http://roy.marples.name/projects/dhcpcd/info/d2258a93ad45ab00
[2] that compat/pollts.h [3] 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?
Hopefully this now compiles for you.
Let me know!
Roy
Archive administrator: postmaster@marples.name