Am 14.08.2012 16:26, schrieb David Howells: > Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote: > >>>> CC arch/x86/um/../kernel/module.o >>>> arch/x86/um/../kernel/module.c:96:5: error: redefinition of 'apply_relocate_add' >>>> include/linux/moduleloader.h:64:19: note: previous definition of 'apply_relocate_add' was here >>>> make[2]: *** [arch/x86/um/../kernel/module.o] Error 1 > > Hmmm... I'm not sure how to deal with this. The problem is that UML doesn't > draw the: > > select MODULES_USE_ELF_REL if X86_32 > select MODULES_USE_ELF_RELA if X86_64 > > definitions from arch/foo/Kconfig that tell it what modules will look like. > > Should I just enable both REL and RELA in UML, or is there a better way to do > this? Is there no way to get this information from the UML subarch? Which is currently X86_32 or X86_64. Thanks, //richard
Attachment:
signature.asc
Description: OpenPGP digital signature