Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJbH2PwfCNcB0LfHniZKxSxzMYKMVnpUiSg9MsNZLuBPepGwtw@mail.gmail.com>
Date: Thu, 21 Nov 2019 19:38:48 +0100
From: Michael de Lang <kingoipo@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: lkrg-0.7 implicit declaration of 'stack_trace_print'

Hello,

When compiling lkrg-0.7 on ubuntu 19.10 and kernel 5.40-rc7 I get the
following error:

$ make
make -C /lib/modules/5.4.0-rc7-custom/build M=/home/oipo/Downloads/lkrg-0.7
modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-rc7-custom'
  CC [M]
 /home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.o
/home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.c:
In function ‘p_ed_enforce_pcfi’:
/home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.c:1092:7:
error: implicit declaration of function ‘stack_trace_print’; did you mean
‘acpi_trace_point’? [-Werror=implicit-function-declaration]
 1092 |       stack_trace_print(p_trace.entries, p_trace.nr_entries, 0);
      |       ^~~~~~~~~~~~~~~~~
      |       acpi_trace_point
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266:
/home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.o]
Error 1
make[1]: *** [Makefile:1652: /home/oipo/Downloads/lkrg-0.7] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-rc7-custom'
make: *** [Makefile:91: all] Error 2

including linux/ftrace did not seem to resolve this.

Met vriendelijke groet,
Michael de Lang

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.