Darling: error: implicit declaration of function ‘put_filp’;

Created on 26 Dec 2018  Â·  2Comments  Â·  Source: darlinghq/darling

Hello,
I am trying to build darling's kernel module and it results with an error:

darling/src/lkm/darling/traps.c:1462:2: error: implicit declaration of function ‘put_filp’; did you mean ‘get_file’? [-Werror=implicit-function-declaration]
  put_filp(f);
  ^~~~~~~~
  get_file

I have already seen this issue: https://github.com/darlinghq/darling/issues/295 but I think it's a different one.

My specs:
Debian
Kernel version 4.19.0-1-amd64
gcc 8.2.0
binutils 2.31

Linux Kernel Module

Most helpful comment

Should be fixed now.

All 2 comments

Should be fixed now.

It compiles now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmannle picture pmannle  Â·  7Comments

Arucard1983 picture Arucard1983  Â·  3Comments

CuriousTommy picture CuriousTommy  Â·  6Comments

andyneff picture andyneff  Â·  3Comments

mrtino picture mrtino  Â·  3Comments