[问题] 请问遇到Module.symvers is missing

楼主: yuigahamayui (由比ヶ浜 结衣)   2018-11-27 08:52:30
各位先进不好意思
小弟实验室最近接触skylight smr monitor
并从论文网址clone下来
并依照README进行make
却遇到这个错误
https://i.imgur.com/I0D6DaY.png
这个warning提到missing我确定存在
且档案并非空白
且出现错误后便不能产生输出档
我也试过换成论文中的kernel去编译
但仍然有错误
请问各位先进有接触过或可以协助的吗?
抱歉小弟知识浅薄
若问题描述不完整还请告知
谢谢各位!
系统环境:Ubuntu 14.04/16.04/18.04
kernel:预载与3.14
gcc 版号也皆为预载
Skylight 网址:http://sssl.ccs.neu.edu/index.php?n=Main.Research
抱歉补上完整错误资讯:
[email protected]:~/skylight/src$ make
make -C /lib/modules/4.15.0-1030-azure/build M=/home/dennis/skylight/src
modules -no-pic
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-1030-azure'
mkdir -p /home/dennis/skylight/src/.tmp_versions ; rm -f
/home/dennis/skylight/src/.tmp_versions/*
test -e ./Module.symvers || ( \
echo; \
echo " WARNING: Symbol version dump ./Module.symvers"; \
echo " is missing; modules will have no dependencies and
modversions."; \
echo )
make -f ./scripts/Makefile.build obj=/home/dennis/skylight/src
set -e; echo ' CC [M] /home/dennis/skylight/src/dm-sadc.o'; gcc
-Wp,-MD,/home/dennis/skylight/src/.dm-sadc.o.d -nostdinc -isystem
-I./arch/x86/include -I./arch/x86/include/generated -I./include
-I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi
-I./include/uapi -I./include/generated/uapi -include
./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-fshort-wchar -Werror-implicit-function-declaration -Wno-format-security
-std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
-DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1
-DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -O2 -fstack-protector-strong
-fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -DDEBUG -DMODULE
-DKBUILD_BASENAME='"dm_sadc"' -DKBUILD_MODNAME='"dm_sadc"' -c -o
/home/dennis/skylight/src/dm-sadc.o /home/dennis/skylight/src/dm-sadc.c;
scripts/basic/fixdep /home/dennis/skylight/src/.dm-sadc.o.d
/home/dennis/skylight/src/dm-sadc.o 'gcc
-Wp,-MD,/home/dennis/skylight/src/.dm-sadc.o.d -nostdinc -isystem
-I./arch/x86/include -I./arch/x86/include/generated -I./include
-I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi
-I./include/uapi -I./include/generated/uapi -include
./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-fshort-wchar -Werror-implicit-function-declaration -Wno-format-security
-std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
-DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1
-DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1
-DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -O2 -fstack-protector-strong
-fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -DDEBUG -DMODULE
-DKBUILD_BASENAME='\''"dm_sadc"'\'' -DKBUILD_MODNAME='\''"dm_sadc"'\'' -c -o
/home/dennis/skylight/src/dm-sadc.o /home/dennis/skylight/src/dm-sadc.c' >
/home/dennis/skylight/src/.dm-sadc.o.tmp; rm -f
/home/dennis/skylight/src/.dm-sadc.o.d; mv -f
/home/dennis/skylight/src/.dm-sadc.o.tmp
/home/dennis/skylight/src/.dm-sadc.o.cmd; ./tools/objtool/objtool check
作者: kdjf (我抓得到什么呢?)   2018-11-27 10:03:00
那个只是make会把执行状态全部写出来而已,不是warninng你的错误在更后面,请把全部的输出丢出来,放到pastbin之类的
作者: asd1 (男达よマダオであれ)   2018-11-27 18:15:00
k大的意思应该是 图只是make把Makefile的内容也印出来补上的内容没看到错误 你确定skylight/src下没有dm-sadc.ko?
作者: kdjf (我抓得到什么呢?)   2018-11-27 22:47:00
同楼上 看起来编译有成功欧

Links booklink

Contact Us: admin [ a t ] ucptt.com