Re: Compiler error IFLA_AF_SPEC
Roy Marples
Fri Nov 07 10:02:21 2014
On 07/11/2014 09:03, Michel, Matthias wrote:
> I use try to cross compile dhcpcd V6.6.0 on my computer. Kernel on
> target 2.6.32.63. Seems there is no support for older kernels because
> I got an error during compilation
> if-linux.c: In function 'if_disable_autolinklocal':
> if-linux.c:1532:45: error: 'IFLA_AF_SPEC' undeclared (first use in this
> function)
> if-linux.c:1532:45: note: each undeclared identifier is reported only
> once for each function it appears in
>
> Is there a solution to use dhcpcd V6.6.0 with --enable_ipv6 on older
> kernels?
Patch here:
http://roy.marples.name/projects/dhcpcd/ci/213edc2d9f9a357570f0e46ed8f913604b8611a0?sbs=0
Please tell the linux kernel developers that exlcusive use of enums
makes compile time decisions impossible hence this very nasty hack.
Thanks
Roy
Archive administrator: postmaster@marples.name