Sysprogs forums › Forums › VisualKernel › LinuxKernelDebugHelper Module failed on Kernel 6.8
- This topic has 2 replies, 2 voices, and was last updated 20 minutes ago by
support.
-
AuthorPosts
-
April 18, 2025 at 14:47 #36559
soroshsabz
ParticipantITNOA
Hi,
I have VisualKernel 4.1r3 and I want to test kernel module (Hello World based on Your extension plugin), but I see below error message
Run "make -C "/lib/modules/6.8.0-57-generic/build" M="/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70" modules DISABLE_LIVE_MEMORY_ENGINE=1" in directory "" on local computer
--------------------------
make: Entering directory '/usr/src/linux-headers-6.8.0-57-generic'
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/AppendableBuffer.o
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.o
CC [M] /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.o
make: Leaving directory '/usr/src/linux-headers-6.8.0-57-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:56:7: warning: no previous prototype for ‘LookupSymbolByName’ [-Wmissing-prototypes]
56 | void *LookupSymbolByName(const char *name)
| ^~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:96:36: warning: no previous prototype for ‘UpdateGlobalModuleList’ [-Wmissing-prototypes]
96 | struct SequentialModuleListHeader *UpdateGlobalModuleList(struct list_head *pModules)
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:132:28: warning: no previous prototype for ‘OnGlobalModuleListUpdateStarted’ [-Wmissing-prototypes]
132 | void __attribute__((weak)) OnGlobalModuleListUpdateStarted(void) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/LinuxKernelDebugHelper_main.c:133:28: warning: no previous prototype for ‘OnGlobalModuleListUpdateFinished’ [-Wmissing-prototypes]
133 | void __attribute__((weak)) OnGlobalModuleListUpdateFinished(const struct SequentialModuleListHeader *modules, struct module *module, enum module_state state) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c: In function ‘AppendSequentialModuleInfo’:
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:64:28: error: ‘struct module’ has no member named ‘module_core’
64 | rec.pBase = pModule->module_core;
| ^~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:65:27: error: ‘struct module’ has no member named ‘core_size’
65 | rec.Size = pModule->core_size;
| ^~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c: At top level:
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:91:5: warning: no previous prototype for ‘GetModuleSectionCount’ [-Wmissing-prototypes]
91 | int GetModuleSectionCount(struct module *module)
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.c:99:6: warning: no previous prototype for ‘GetModuleSectionInfo’ [-Wmissing-prototypes]
99 | bool GetModuleSectionInfo(struct module *module, int sectionNumber, const char **name, void **loadAddr)
| ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:243: /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70/SequentialModuleInfo.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.8.0-57-generic/Makefile:1925: /tmp/LinuxKernelDebugHelper-4bcfce60-1a63-47e3-ab44-e4b335d77d70] Error 2
make: *** [Makefile:240: __sub-make] Error 2
--------------------------
Command exited with code 2
I use Ubuntu 24.04.1 and Visual Studio 2022
April 18, 2025 at 14:52 #36560soroshsabz
ParticipantAnother problem, that I want to know why below warning exists? any missing? How to resolve this warnings?
warning: no previous prototype for ‘LookupSymbolByName’ [-Wmissing-prototypes]
Thanks 🙂
April 19, 2025 at 10:07 #36575support
KeymasterThanks for reporting this. We will monitor the feedback from our paid users, and will consider investigating it further if they confirm it.
-
AuthorPosts
- You must be logged in to reply to this topic.