Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 27 Sep 2018 12:00:58 +0200
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: Compiling issue on Debian 9 with vanilla kernel
 4.18.9

Hi,

Unfortunately, I won't be able to investigate this issue right know because I'm 
in the middle of move between the states. As soon as I'll be back to the normal 
state I will take a look on this. Sorry about that.

Thanks,
Adam

On Tue, Sep 25, 2018 at 11:00:51PM +0200, Tino Hirschmann wrote:
> Hi,
> 
> when I try to compile the latest lkrg version on my debian 9 systems i run into error. I am running the latest vanilla kernel 4.18.9 and I am using gcc 7.3.0.
> 
> root@...ian9:/usr/src/download/lkrg-main# make -j4
> make -C /lib/modules/4.18.9/build M=/usr/src/download/lkrg-main modules
> make[1]: Entering directory '/usr/src/download/linux-4.18.9'
>   CC [M]  /usr/src/download/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/comm_channel/p_comm_channel.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/wrap/p_struct_wrap.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/database/CPU.o
>   CC [M]  /usr/src/download/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.o
> In file included from /usr/src/download/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:84:0,
>                  from /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.c:22:
> /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.c: In function ‘p_count_modules_from_module_list’:
> /usr/src/download/lkrg-main/src/modules/kmod/../../modules/wrap/p_struct_wrap.h:28:14: error: inlining failed in call to always_inline ‘p_module_core’: function body not available
>  inline void *p_module_core(struct module *p_mod);
>               ^~~~~~~~~~~~~
> /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.c:133:12: note: called from here
>        if (!p_module_core(p_mod) || !p_core_text_size(p_mod))
>             ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/src/download/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:84:0,
>                  from /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.c:22:
> /usr/src/download/lkrg-main/src/modules/kmod/../../modules/wrap/p_struct_wrap.h:30:21: error: inlining failed in call to always_inline ‘p_core_text_size’: function body not available
>  inline unsigned int p_core_text_size(struct module *p_mod);
>                      ^~~~~~~~~~~~~~~~
> /usr/src/download/lkrg-main/src/modules/kmod/p_kmod.c:133:37: note: called from here
>        if (!p_module_core(p_mod) || !p_core_text_size(p_mod))
>                                      ^~~~~~~~~~~~~~~~~~~~~~~
> scripts/Makefile.build:317: recipe for target '/usr/src/download/lkrg-main/src/modules/kmod/p_kmod.o' failed
> make[2]: *** [/usr/src/download/lkrg-main/src/modules/kmod/p_kmod.o] Error 1
> 
> I already modified src/modules/integrity_timer/p_stext_diff.c to get rid of the "‘JUMP_LABEL_NOP_SIZE’ undeclared here…” error, which was already discussed on the mailing list.
> 
> Any idea of what might be the problem?
> 
> Many thanks & Regards,
> 
> Tino
> 
> 

-- 
pi3 (pi3ki31ny) - pi3 (at) itsec pl
http://pi3.com.pl

Powered by blists - more mailing lists

Your e-mail address:

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