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

build modules for remix os failed #20

Open
ZeppLu opened this issue Mar 18, 2016 · 0 comments
Open

build modules for remix os failed #20

ZeppLu opened this issue Mar 18, 2016 · 0 comments

Comments

@ZeppLu
Copy link

ZeppLu commented Mar 18, 2016

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

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