You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download Remix OS kernel's source code here, trying to build mt7630e modules by make KDIR=/home/zepp/build/remix-os-mt7630e/kernel , but I got these error message:
make -C /home/zepp/build/remix-os-mt7630e/kernel M=/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00 modules
make[1]: Entering directory '/home/zepp/build/remix-os-mt7630e/kernel'
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST 1 modules
CC /home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.o
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:8:1: error: variable ‘__this_module’ has initializer but incomplete type
__attribute__((section(".gnu.linkonce.this_module"))) = {
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:9:2: error: unknown field ‘name’ specified in initializer
.name = KBUILD_MODNAME,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:9:10: warning: excess elements in struct initializer
.name = KBUILD_MODNAME,
^
<command-line>:0:16: note: in definition of macro ‘KBUILD_STR’
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:9:10: note: in expansion of macro ‘KBUILD_MODNAME’
.name = KBUILD_MODNAME,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:9:10: note: (near initialization for ‘__this_module’)
.name = KBUILD_MODNAME,
^
<command-line>:0:16: note: in definition of macro ‘KBUILD_STR’
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:9:10: note: in expansion of macro ‘KBUILD_MODNAME’
.name = KBUILD_MODNAME,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:10:2: error: unknown field ‘init’ specified in initializer
.init = init_module,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:10:10: warning: excess elements in struct initializer
.init = init_module,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:10:10: note: (near initialization for ‘__this_module’)
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:14:2: error: unknown field ‘arch’ specified in initializer
.arch = MODULE_ARCH_INIT,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:14:10: error: ‘MODULE_ARCH_INIT’ undeclared here (not in a function)
.arch = MODULE_ARCH_INIT,
^
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:14:10: warning: excess elements in struct initializer
/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.c:14:10: note: (near initialization for ‘__this_module’)
scripts/Makefile.modpost:114: recipe for target '/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.o' failed
make[2]: *** [/home/zepp/build/remix-os-mt7630e/MT7630E-release/rt2x00/mt7630e.mod.o] Error 1
Makefile:1387: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/zepp/build/remix-os-mt7630e/kernel'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
Hope support for Android-x86 will be added
The text was updated successfully, but these errors were encountered:
I download Remix OS kernel's source code here, trying to build mt7630e modules by
make KDIR=/home/zepp/build/remix-os-mt7630e/kernel
, but I got these error message:Hope support for Android-x86 will be added
The text was updated successfully, but these errors were encountered: