Forum Replies Created
-
AuthorPosts
-
July 24, 2018 at 12:17 in reply to: VisualKernel not listed as option under Project Templates #21464andrewtheartParticipant
Configuring KernelDebugHelper module.
Checking layout of ‘struct module’…
make: Entering directory ‘/usr/src/linux-source-4.15.0/linux-source-4.15.0’
CC [M] /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/AppendableBuffer.o
CC [M] /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.o
In file included from /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/AppendableBuffer.c:3:0:
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/AppendableBuffer.h:14:13: warning: ‘ResetAppendableBuffer’ defined but not used [-Wunused-function]
static void ResetAppendableBuffer(AppendableBuffer *pBuffer)
^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:7:0:
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/SerialInterface.h:33:26: warning: multi-character character constant [-Wmultichar]
MODULE_LIST_SIGNATURE = ‘TSLM’,
^~~~~~
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/SerialInterface.h:34:27: warning: multi-character character constant [-Wmultichar]
MODULE_EVENT_SIGNATURE = ‘TVEM’,
^~~~~~
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:28:2: warning: multi-character character constant [-Wmultichar]
‘GBDK’,
^~~~~~
In file included from ./include/uapi/linux/posix_types.h:5:0,
from ./include/uapi/linux/types.h:14,
from ./include/linux/compiler.h:164,
from ./include/linux/init.h:5,
from /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:1:
./include/linux/stddef.h:8:14: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
#define NULL ((void *)0)
^
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:31:2: note: in expansion of macro ‘NULL’
NULL,
^~~~
./include/linux/stddef.h:8:14: note: (near initialization for ‘KernelDebugDataBlock.Reserved’)
#define NULL ((void *)0)
^
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:31:2: note: in expansion of macro ‘NULL’
NULL,
^~~~
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper_main.c:54:13: warning: ‘make_range_writable’ defined but not used [-Wunused-function]
static void make_range_writable(void *start, void *end)
^~~~~~~~~~~~~~~~~~~
CC [M] /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/SequentialModuleInfo.o
In file included from /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/SequentialModuleInfo.h:2:0,
from /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/SequentialModuleInfo.c:2:
/tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/AppendableBuffer.h:14:13: warning: ‘ResetAppendableBuffer’ defined but not used [-Wunused-function]
static void ResetAppendableBuffer(AppendableBuffer *pBuffer)
^~~~~~~~~~~~~~~~~~~~~
LD [M] /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper.mod.o
LD [M] /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper.ko
make: Leaving directory ‘/usr/src/linux-source-4.15.0/linux-source-4.15.0’insmod: ERROR: could not insert module /tmp/LinuxKernelDebugHelper-fab70f0d-4c3f-4f93-b524-7e5638fb5ccc/LinuxKernelDebugHelper.ko: Invalid module format
July 23, 2018 at 01:46 in reply to: VisualKernel not listed as option under Project Templates #21431andrewtheartParticipantYes, but it is not as much of a concern to me since I can launch it from VS 2015.
I am getting another error when I am building the kernel.
See sequence of error messages: https://imgur.com/a/lH8wX3M
Error text:
VisualKernel version: 3.0.2.2166
—————— System.Exception ——————
System.Exception: Cannot load LinuxKernelDebugHelper.ko
at mb1.c.b(f2 b, xx1 a)
at mb1.c.l(f2 a)
at VisualGDB.Common_GUI.WPF.ItemizedProgressWindow.<>c__DisplayClass1_0`1.<RunAction>b__0()andrewtheartParticipantSorry, that did not resolve the issue. I uninstalled one and it is still not showing up.
It shows up correctly in Visual Studio 2015.
-
AuthorPosts