Warning now looks like this: WARNING: vmlinux: 'strcpy' exported twice. Previous export was in vmlinux Which gives much better hint how to fix it.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -191,7 +191,7 @@ static struct symbol *sym_add_exported(const char *name, struct module *mod) · 190 unmodified lines | |||
| 191 | s = new_symbol(name, mod); | 191 | s = new_symbol(name, mod); |
| 192 | } else { | 192 | } else { |
| 193 | if (!s->preloaded) { | 193 | if (!s->preloaded) { |
| 194 | warn("%s: duplicate symbol '%s' previous definition " | 194 | warn("%s: '%s' exported twice. Previous export " |
| 195 | "was in %s%s\n", mod->name, name, | 195 | "was in %s%s\n", mod->name, name, |
| 196 | s->module->name, | 196 | s->module->name, |
| 197 | is_vmlinux(s->module->name) ?"":".ko"); | 197 | is_vmlinux(s->module->name) ?"":".ko"); |