Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no symbol version for module_layout. Module.symvers present. #12

Open
lewis20188 opened this issue Oct 21, 2020 · 0 comments
Open

no symbol version for module_layout. Module.symvers present. #12

lewis20188 opened this issue Oct 21, 2020 · 0 comments

Comments

@lewis20188
Copy link

Can't install fmem on Centos 6.3 any assistance would be greatly appreciated

Make Output:

rm -f .o .ko .mod.c Module.symvers Module.markers modules.order ..o.cmd ..ko.cmd ..o.d
rm -rf .tmp_versions
make -C /lib/modules/uname -r/build KBUILD_EXTMOD=pwd modules
make[1]: Entering directory /usr/src/kernels/2.6.32-279.el6.x86_64' CC [M] /root/Documents/fmem/lkm.o Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) COLLECT_GCC_OPTIONS='-nostdinc' '-isystem' '/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include' '-Iinclude' '-I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include' '-include' 'include/linux/autoconf.h' '-D__KERNEL__' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security' '-fno-delete-null-pointer-checks' '-O2' '-m64' '-mtune=generic' '-mno-red-zone' '-mcmodel=kernel' '-funit-at-a-time' '-maccumulate-outgoing-args' '-fstack-protector' '-DCONFIG_AS_CFI=1' '-DCONFIG_AS_CFI_SIGNAL_FRAME=1' '-pipe' '-Wno-sign-compare' '-fno-asynchronous-unwind-tables' '-mno-sse' '-mno-mmx' '-mno-sse2' '-mno-3dnow' '-Wframe-larger-than=2048' '-Wno-unused-but-set-variable' '-fno-omit-frame-pointer' '-fno-optimize-sibling-calls' '-g' '-pg' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fno-dwarf2-cfi-asm' '-fconserve-stack' '-v' '-DMODULE' '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR(lkm)' '-DKBUILD_MODNAME=KBUILD_STR(fmem)' '-DDEBUG_HASH=50' '-DDEBUG_HASH2=5' '-c' '-o' '/root/Documents/fmem/.tmp_lkm.o' /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/cc1 -quiet -nostdinc -v -Iinclude -I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(lkm) -DKBUILD_MODNAME=KBUILD_STR(fmem) -DDEBUG_HASH=50 -DDEBUG_HASH2=5 -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include -include include/linux/autoconf.h -MD /root/Documents/fmem/.lkm.o.d /root/Documents/fmem/lkm.c -quiet -dumpbase lkm.c -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -auxbase-strip /root/Documents/fmem/.tmp_lkm.o -g -O2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wno-format-security -Wno-sign-compare -Wframe-larger-than=2048 -Wno-unused-but-set-variable -Wdeclaration-after-statement -Wno-pointer-sign -version -p -fno-strict-aliasing -fno-common -fno-delete-null-pointer-checks -funit-at-a-time -fstack-protector -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -o - | as -V -Qy --64 -o /root/Documents/fmem/.tmp_lkm.o - #include "..." search starts here: #include <...> search starts here: include /usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include End of search list. GNU C (GCC) version 4.4.7 20120313 (Red Hat 4.4.7-23) (x86_64-redhat-linux) compiled by GNU C version 4.4.7 20120313 (Red Hat 4.4.7-23), GMP version 4.3.1, MPFR version 2.4.1. GNU assembler version 2.20.51.0.2 (x86_64-redhat-linux) using BFD version version 2.20.51.0.2-5.48.el6_10.1 20100205 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: f1e04b41791fd0c9eea88d5989031e7d COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-nostdinc' '-isystem' '/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include' '-Iinclude' '-I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include' '-include' 'include/linux/autoconf.h' '-D__KERNEL__' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security' '-fno-delete-null-pointer-checks' '-O2' '-m64' '-mtune=generic' '-mno-red-zone' '-mcmodel=kernel' '-funit-at-a-time' '-maccumulate-outgoing-args' '-fstack-protector' '-DCONFIG_AS_CFI=1' '-DCONFIG_AS_CFI_SIGNAL_FRAME=1' '-pipe' '-Wno-sign-compare' '-fno-asynchronous-unwind-tables' '-mno-sse' '-mno-mmx' '-mno-sse2' '-mno-3dnow' '-Wframe-larger-than=2048' '-Wno-unused-but-set-variable' '-fno-omit-frame-pointer' '-fno-optimize-sibling-calls' '-g' '-pg' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fno-dwarf2-cfi-asm' '-fconserve-stack' '-v' '-DMODULE' '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR(lkm)' '-DKBUILD_MODNAME=KBUILD_STR(fmem)' '-DDEBUG_HASH=50' '-DDEBUG_HASH2=5' '-c' '-o' '/root/Documents/fmem/.tmp_lkm.o' LD [M] /root/Documents/fmem/fmem.o Building modules, stage 2. MODPOST 1 modules CC /root/Documents/fmem/fmem.mod.o Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) COLLECT_GCC_OPTIONS='-nostdinc' '-isystem' '/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include' '-Iinclude' '-I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include' '-include' 'include/linux/autoconf.h' '-D__KERNEL__' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security' '-fno-delete-null-pointer-checks' '-O2' '-m64' '-mtune=generic' '-mno-red-zone' '-mcmodel=kernel' '-funit-at-a-time' '-maccumulate-outgoing-args' '-fstack-protector' '-DCONFIG_AS_CFI=1' '-DCONFIG_AS_CFI_SIGNAL_FRAME=1' '-pipe' '-Wno-sign-compare' '-fno-asynchronous-unwind-tables' '-mno-sse' '-mno-mmx' '-mno-sse2' '-mno-3dnow' '-Wframe-larger-than=2048' '-Wno-unused-but-set-variable' '-fno-omit-frame-pointer' '-fno-optimize-sibling-calls' '-g' '-pg' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fno-dwarf2-cfi-asm' '-fconserve-stack' '-v' '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR(fmem.mod)' '-DKBUILD_MODNAME=KBUILD_STR(fmem)' '-DDEBUG_HASH=50' '-DDEBUG_HASH2=5' '-DMODULE' '-c' '-o' '/root/Documents/fmem/fmem.mod.o' /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/cc1 -quiet -nostdinc -v -Iinclude -I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(fmem.mod) -DKBUILD_MODNAME=KBUILD_STR(fmem) -DDEBUG_HASH=50 -DDEBUG_HASH2=5 -DMODULE -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include -include include/linux/autoconf.h -MD /root/Documents/fmem/.fmem.mod.o.d /root/Documents/fmem/fmem.mod.c -quiet -dumpbase fmem.mod.c -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -auxbase-strip /root/Documents/fmem/fmem.mod.o -g -O2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wno-format-security -Wno-sign-compare -Wframe-larger-than=2048 -Wno-unused-but-set-variable -Wdeclaration-after-statement -Wno-pointer-sign -version -p -fno-strict-aliasing -fno-common -fno-delete-null-pointer-checks -funit-at-a-time -fstack-protector -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -o - | as -V -Qy --64 -o /root/Documents/fmem/fmem.mod.o - #include "..." search starts here: #include <...> search starts here: include /usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include End of search list. GNU C (GCC) version 4.4.7 20120313 (Red Hat 4.4.7-23) (x86_64-redhat-linux) compiled by GNU C version 4.4.7 20120313 (Red Hat 4.4.7-23), GMP version 4.3.1, MPFR version 2.4.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU assembler version 2.20.51.0.2 (x86_64-redhat-linux) using BFD version version 2.20.51.0.2-5.48.el6_10.1 20100205 Compiler executable checksum: f1e04b41791fd0c9eea88d5989031e7d COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-nostdinc' '-isystem' '/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include' '-Iinclude' '-I/usr/src/kernels/2.6.32-279.el6.x86_64/arch/x86/include' '-include' 'include/linux/autoconf.h' '-D__KERNEL__' '-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security' '-fno-delete-null-pointer-checks' '-O2' '-m64' '-mtune=generic' '-mno-red-zone' '-mcmodel=kernel' '-funit-at-a-time' '-maccumulate-outgoing-args' '-fstack-protector' '-DCONFIG_AS_CFI=1' '-DCONFIG_AS_CFI_SIGNAL_FRAME=1' '-pipe' '-Wno-sign-compare' '-fno-asynchronous-unwind-tables' '-mno-sse' '-mno-mmx' '-mno-sse2' '-mno-3dnow' '-Wframe-larger-than=2048' '-Wno-unused-but-set-variable' '-fno-omit-frame-pointer' '-fno-optimize-sibling-calls' '-g' '-pg' '-Wdeclaration-after-statement' '-Wno-pointer-sign' '-fno-strict-overflow' '-fno-dwarf2-cfi-asm' '-fconserve-stack' '-v' '-DKBUILD_STR(s)=#s' '-DKBUILD_BASENAME=KBUILD_STR(fmem.mod)' '-DKBUILD_MODNAME=KBUILD_STR(fmem)' '-DDEBUG_HASH=50' '-DDEBUG_HASH2=5' '-DMODULE' '-c' '-o' '/root/Documents/fmem/fmem.mod.o' LD [M] /root/Documents/fmem/fmem.ko.unsigned NO SIGN [M] /root/Documents/fmem/fmem.ko make[1]: Leaving directory /usr/src/kernels/2.6.32-279.el6.x86_64'

Installed Packages

[root@centos-6 fmem]# yum list installed | grep kernel
abrt-addon-kerneloops.x86_64
dracut-kernel.noarch 004-283.el6 @anaconda-CentOS-201207061011.x86_64/6.3
kernel.x86_64 2.6.32-279.el6 @anaconda-CentOS-201207061011.x86_64/6.3
kernel-devel.x86_64 2.6.32-279.el6 @/kernel-devel-2.6.32-279.el6.x86_64
kernel-firmware.noarch 2.6.32-279.el6 @anaconda-CentOS-201207061011.x86_64/6.3
kernel-headers.x86_64 2.6.32-279.el6 @/kernel-headers-2.6.32-279.el6.x86_64
libreport-plugin-kerneloops.x86_64

uname

[root@centos-6 fmem]# uname -a
Linux centos-6.3 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Modules.symvers

[root@centos-6 2.6.32-279.el6.x86_64]# ls
arch drivers include kernel Makefile.common Module.symvers scripts System.map virt
block firmware init lib mm net security tools
crypto fs ipc Makefile modules.order samples sound usr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant