Re: v8 to v9.3.3 segmentation fault on linux
Roy Marples
Mon Nov 23 13:33:04 2020
On 23/11/2020 13:07, [anp/hsw] wrote:
So dhcpcd-9 builds with privilege separation.
This requires a user to be added to your system otherwise it will be disabled.
Also, /var/db doesn't exist. dhcpcd cannot create that for you.
Either create it or adjust your configure to a different location and recompile.
Yes, i know it, it's test run and this will be fixed on production
build.
This is the second part of the problem.
Your kernel headers are vastly newer than the kernel.
IFA_F_NOPREFIXROUTE was first defined in Linux-3.13 but your running kernel is
Linux-3.2
Essentially using newer headers advertises features which are not available, and
this is what you are seeing.
I found only headers for kernel 3.2.101 and 3.4.110 (which i think
defines it), so i must specify exact version of kernel headers? Is
passing -I to compiler enough?
I tried passing -UIFA_F_NOPREFIXROUTE at compile time with no success.
That won't work.
-U only removes previously defined -D.
You could add #undef IFA_F_NOPREFIXROUTE to config.h OR src/if-linux.c after all
the #includes.
Roy
Archive administrator: postmaster@marples.name