Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 18 Sep 2018 20:26:37 +0200
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: LKRG doesn't want to compile under Centos-7 -
 kernel Linux 4.18.8-1.el7.elrepo.x86_64

Hello,

Problem which you are hitting is fixed in the latest LKRG version available
from the bitbucket repo here:

https://bitbucket.org/Adam_pi3/lkrg-main/

Can you try it and verify if everythink works fine?

Thanks,
Adam


On 
Mon, Sep 17, 2018 at 11:17:50PM +0200, bryn1u85 wrote:
> Hey guys,
> 
> LKRG doesn't want to compile under Centos-7 with kernel-ml -> Linux
> 4.18.8-1.el7.elrepo.x86_64
> 
> [root@...tofon lkrg-0.4]# make
> > make -C /lib/modules/4.18.8-1.el7.elrepo.x86_64/build M=/root/lkrg-0.4
> > modules
> > make[1]: Wejście do katalogu `/usr/src/kernels/4.18.8-1.el7.elrepo.x86_64'
> >   CC [M]  /root/lkrg-0.4/src/modules/kmod/p_kmod.o
> >   CC [M]  /root/lkrg-0.4/src/modules/database/CPU.o
> >   CC [M]  /root/lkrg-0.4/src/modules/database/arch/x86/IDT_MSR_CRx.o
> >   CC [M]  /root/lkrg-0.4/src/modules/database/p_database.o
> >   CC [M]  /root/lkrg-0.4/src/modules/notifiers/p_notifiers.o
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c: In function
> > ‘p_register_notifiers’:
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:118:4: error: implicit
> > declaration of function ‘task_handoff_register’
> > [-Werror=implicit-function-declaration]
> >     task_handoff_register(&p_taskfree_notifier_nb);
> >     ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:119:4: error: implicit
> > declaration of function ‘profile_event_register’
> > [-Werror=implicit-function-declaration]
> >     profile_event_register(PROFILE_TASK_EXIT,
> > &p_profile_event_exit_notifier_nb);
> >     ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:119:27: error:
> > ‘PROFILE_TASK_EXIT’ undeclared (first use in this function)
> >     profile_event_register(PROFILE_TASK_EXIT,
> > &p_profile_event_exit_notifier_nb);
> >                            ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:119:27: note: each
> > undeclared identifier is reported only once for each function it appears in
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:120:27: error:
> > ‘PROFILE_MUNMAP’ undeclared (first use in this function)
> >     profile_event_register(PROFILE_MUNMAP,
> > &p_profile_event_munmap_notifier_nb);
> >                            ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c: In function
> > ‘p_deregister_notifiers’:
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:348:4: error: implicit
> > declaration of function ‘task_handoff_unregister’
> > [-Werror=implicit-function-declaration]
> >     task_handoff_unregister(&p_taskfree_notifier_nb);
> >     ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:349:4: error: implicit
> > declaration of function ‘profile_event_unregister’
> > [-Werror=implicit-function-declaration]
> >     profile_event_unregister(PROFILE_TASK_EXIT,
> > &p_profile_event_exit_notifier_nb);
> >     ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:349:29: error:
> > ‘PROFILE_TASK_EXIT’ undeclared (first use in this function)
> >     profile_event_unregister(PROFILE_TASK_EXIT,
> > &p_profile_event_exit_notifier_nb);
> >                              ^
> > /root/lkrg-0.4/src/modules/notifiers/p_notifiers.c:350:29: error:
> > ‘PROFILE_MUNMAP’ undeclared (first use in this function)
> >     profile_event_unregister(PROFILE_MUNMAP,
> > &p_profile_event_munmap_notifier_nb);
> >                              ^
> > cc1: some warnings being treated as errors
> > make[2]: *** [/root/lkrg-0.4/src/modules/notifiers/p_notifiers.o] Błąd 1
> > make[1]: *** [_module_/root/lkrg-0.4] Błąd 2
> > make[1]: Opuszczenie katalogu `/usr/src/kernels/4.18.8-1.el7.elrepo.x86_64'
> > make: *** [all] Błąd 2
> > [root@...tofon lkrg-0.4]#

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

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.