-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 16
-
Fix Version/s: None
-
Component/s: Installation
-
Labels:None
-
ToDo:
-
Distro Version:Oracle Linux 8 (wanpipe 7.0.34)
-
Distro:Other
Running the setup installer compiling the wanpipe modules, compilation fails with may files failing due to not finding "do_gettimeofday".
e.g., kdrvtmp/sdla_fr.c:1577:2: error: implicit declaration of function 'do_gettimeofday'; did you mean 'wp_gettimeofday'? [-Werror=implicit-function-declaration]
The kernel sources do not have do_gettimeofday. I believe that function has been obsoleted.
Appears that quite a bit of code is still using it though. The setup script seems to correctly detect that the method is not available in the kernel sources, but it seems that there are some parts of the code that are still using it.
The seconds member will overflow in about a decade, so probably should be looking at updating the methods to use a more modern kernel interface.