|
Message-ID: <aca54267-cb17-a437-72c9-bbfd384171ff@wp.pl> Date: Sat, 3 Feb 2018 16:00:33 +0000 From: Kamil Kapturkiewicz <horizn@...pl> To: lkrg-users@...ts.openwall.com, Solar Designer <solar@...nwall.com> Subject: Re: How to compile? On 03/02/18 13:13, Solar Designer wrote: > Hi, > > On Sat, Feb 03, 2018 at 01:32:27PM +0100, K K wrote: >> Hi, I went through the wiki, but didn't find an answer how to compile. > Adam added the instructions to the LKRG tree itself shortly after the > 0.0 release, that's file INSTALL in the Bitbucket repository and it will > be part of the next release. I'm also attaching it to this message. > > Alexander with sudo: ... IHEX2FW firmware/whiteheat.fw IHEX2FW firmware/keyspan_pda/keyspan_pda.fw IHEX2FW firmware/keyspan_pda/xircom_pgs.fw IHEX firmware/cpia2/stv0672_vp4.bin IHEX firmware/yam/1200.bin IHEX firmware/yam/9600.bin make[1]: Leaving directory '/usr/src/linux-4.4.111' mkdir -p "output" mv /p_lkrg.ko "output" mv: cannot stat '/p_lkrg.ko': No such file or directory Makefile:63: recipe for target 'all' failed make: *** [all] Error 1 without sudo: $ make make -C /lib/modules/4.4.111/build M=/home/horizn/Downloads/lkrg-0.0 modules make[1]: Entering directory '/usr/src/linux-4.4.111' CC [M] /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.o /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_module_core': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:88:16: error: 'struct module' has no member named 'core_layout' return p_mod->core_layout.base; ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_core_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:92:16: error: 'struct module' has no member named 'core_layout' return p_mod->core_layout.size; ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_core_text_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:96:16: error: 'struct module' has no member named 'core_layout' return p_mod->core_layout.text_size; ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_init_text_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:100:16: error: 'struct module' has no member named 'init_layout' return p_mod->init_layout.text_size; ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_module_core': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_core_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:93:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_core_text_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:97:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c: In function 'p_init_text_size': /home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.c:101:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scripts/Makefile.build:258: recipe for target '/home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.o' failed make[2]: *** [/home/horizn/Downloads/lkrg-0.0/src/modules/wrap/p_struct_wrap.o] Error 1 Makefile:1408: recipe for target '_module_/home/horizn/Downloads/lkrg-0.0' failed make[1]: *** [_module_/home/horizn/Downloads/lkrg-0.0] Error 2 make[1]: Leaving directory '/usr/src/linux-4.4.111' Makefile:63: recipe for target 'all' failed make: *** [all] Error 2 with sudo: ... IHEX2FW firmware/whiteheat.fw IHEX2FW firmware/keyspan_pda/keyspan_pda.fw IHEX2FW firmware/keyspan_pda/xircom_pgs.fw IHEX firmware/cpia2/stv0672_vp4.bin IHEX firmware/yam/1200.bin IHEX firmware/yam/9600.bin make[1]: Leaving directory '/usr/src/linux-4.4.111' mkdir -p "output" mv /p_lkrg.ko "output" mv: cannot stat '/p_lkrg.ko': No such file or directory Makefile:63: recipe for target 'all' failed make: *** [all] Error 1 Slackware 14.2 64bit with stock kernel 4.4.111 -- skype. kamil.kapturkiewicz tel/signal. +44 758 306 8467
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.