Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHsHv-bt8ujpmTV=S1MtwF_ARbHn0t1wsT=ehCTKz8_79Ye6nQ@mail.gmail.com>
Date: Mon, 17 Sep 2018 12:37:49 +0200
From: bryn1u85 <m.bryn1u@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: Compiling issue - Fedora 28 - Linux localhost.localdomain 4.18.7-200.fc28.x86_64

Hey guys,

When i put make -j8 im getting some problem during compilation.

[root@...alhost lkrg]# make -j8
> make -C /lib/modules/4.18.7-200.fc28.x86_64/build M=/root/lkrg modules
> make[1]: Wejście do katalogu '/usr/src/kernels/4.18.7-200.fc28.x86_64'
>   CC [M]  /root/lkrg/src/modules/notifiers/p_notifiers.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/p_may_open/p_may_open.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/p_sel_write_enforce/p_sel_write_enforce.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/p_userns_install/p_userns_install.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o
> /root/lkrg/src/modules/notifiers/p_notifiers.c: In function
> ‘p_register_notifiers’:
> /root/lkrg/src/modules/notifiers/p_notifiers.c:118:4: error: implicit
> declaration of function ‘task_handoff_register’; did you mean
> ‘rtnl_af_register’? [-Werror=implicit-function-declaration]
>     task_handoff_register(&p_taskfree_notifier_nb);
>     ^~~~~~~~~~~~~~~~~~~~~
>     rtnl_af_register
> /root/lkrg/src/modules/notifiers/p_notifiers.c:119:4: error: implicit
> declaration of function ‘profile_event_register’; did you mean
> ‘proto_unregister’? [-Werror=implicit-function-declaration]
>     profile_event_register(PROFILE_TASK_EXIT,
> &p_profile_event_exit_notifier_nb);
>     ^~~~~~~~~~~~~~~~~~~~~~
>     proto_unregister
> /root/lkrg/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/src/modules/notifiers/p_notifiers.c:119:27: note: each
> undeclared identifier is reported only once for each function it appears in
> /root/lkrg/src/modules/notifiers/p_notifiers.c:120:27: error:
> ‘PROFILE_MUNMAP’ undeclared (first use in this function); did you mean
> ‘NR_FILE_MAPPED’?
>     profile_event_register(PROFILE_MUNMAP,
> &p_profile_event_munmap_notifier_nb);
>                            ^~~~~~~~~~~~~~
>                            NR_FILE_MAPPED
> /root/lkrg/src/modules/notifiers/p_notifiers.c: In function
> ‘p_deregister_notifiers’:
> /root/lkrg/src/modules/notifiers/p_notifiers.c:348:4: error: implicit
> declaration of function ‘task_handoff_unregister’; did you mean
> ‘rtnl_af_unregister’? [-Werror=implicit-function-declaration]
>     task_handoff_unregister(&p_taskfree_notifier_nb);
>     ^~~~~~~~~~~~~~~~~~~~~~~
>     rtnl_af_unregister
> /root/lkrg/src/modules/notifiers/p_notifiers.c:349:4: error: implicit
> declaration of function ‘profile_event_unregister’; did you mean
> ‘rtnl_link_unregister’? [-Werror=implicit-function-declaration]
>     profile_event_unregister(PROFILE_TASK_EXIT,
> &p_profile_event_exit_notifier_nb);
>     ^~~~~~~~~~~~~~~~~~~~~~~~
>     rtnl_link_unregister
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o
> /root/lkrg/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/src/modules/notifiers/p_notifiers.c:350:29: error:
> ‘PROFILE_MUNMAP’ undeclared (first use in this function); did you mean
> ‘NR_FILE_MAPPED’?
>     profile_event_unregister(PROFILE_MUNMAP,
> &p_profile_event_munmap_notifier_nb);
>                              ^~~~~~~~~~~~~~
>                              NR_FILE_MAPPED
> cc1: some warnings being treated as errors
>   CC [M]
> /root/lkrg/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o
> make[2]: *** [scripts/Makefile.build:318:
> /root/lkrg/src/modules/notifiers/p_notifiers.o] Błąd 1
> make[2]: *** Oczekiwanie na niezakończone zadania....
> make[1]: *** [Makefile:1508: _module_/root/lkrg] Błąd 2
> make[1]: Opuszczenie katalogu '/usr/src/kernels/4.18.7-200.fc28.x86_64'
> make: *** [Makefile:74: all] Błąd 2



Where could be the problem. Thanks !

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.