Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 19 Sep 2018 09:47:30 +0200
From: bryn1u85 <m.bryn1u@...il.com>
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

Hey,

I checked and it works like a charm now. Thanks !

[  244.226160] p_lkrg: loading out-of-tree module taints kernel.
> [  244.229212] [p_lkrg] Loading LKRG...
> [  245.179271] [p_lkrg] LKRG initialized successfully!


Thanks,
Michał B.


wt., 18 wrz 2018 o 20:27 Adam Zabrocki <pi3@....com.pl> napisał(a):

> 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
>

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.