# \[driver-core:driver-core-linus 6/6\] fs/pstore/platform.o: In function \`kmsg\_dump\_get\_line': platform.c:(.text+0x40): multiple definition of \`kmsg\_dump\_get\_line'

- From: \<hidden\>
- Date: 2012-06-16 00:03:52 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2012/06/9469718
- Thread: https://ratatoskr.run/linuxppc-dev/2012/06/9469718/t.md

```text
Hi Kay,

Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb3 (attached as .config)

All related error/warning messages are:

fs/pstore/platform.o: In function `kmsg_dump_get_line': platform.c:(.text+0x40): multiple definition of `kmsg_dump_get_line'
fs/pstore/platform.o: In function `kmsg_dump_get_buffer': platform.c:(.text+0x50): multiple definition of `kmsg_dump_get_buffer'
fs/pstore/platform.o: In function `kmsg_dump_rewind': platform.c:(.text+0x60): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/acpi/built-in.o: In function `kmsg_dump_rewind': (.text+0x80): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/acpi/built-in.o: In function `kmsg_dump_get_buffer': (.text+0x70): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/acpi/built-in.o: In function `kmsg_dump_get_line': (.text+0x60): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_line': reboot.c:(.text+0x1c0): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_buffer': reboot.c:(.text+0x1d0): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/reboot.o: In function `kmsg_dump_rewind': reboot.c:(.text+0x1e0): multiple definition of `kmsg_dump_rewind'
kernel/printk.o: In function `kmsg_dump_get_line': printk.c:(.text+0x4b0): multiple definition of `kmsg_dump_get_line'
kernel/printk.o: In function `kmsg_dump_get_buffer': printk.c:(.text+0x4c0): multiple definition of `kmsg_dump_get_buffer'
kernel/printk.o: In function `kmsg_dump_rewind': printk.c:(.text+0x4d0): multiple definition of `kmsg_dump_rewind'
kernel/sys.o: In function `kmsg_dump_get_line': sys.c:(.text+0x260): multiple definition of `kmsg_dump_get_line'
kernel/sys.o: In function `kmsg_dump_get_buffer': sys.c:(.text+0x270): multiple definition of `kmsg_dump_get_buffer'
kernel/sys.o: In function `kmsg_dump_rewind': sys.c:(.text+0x280): multiple definition of `kmsg_dump_rewind'
drivers/acpi/apei/built-in.o: In function `kmsg_dump_rewind': (.text+0x1630): multiple definition of `kmsg_dump_rewind'
drivers/acpi/apei/built-in.o: In function `kmsg_dump_get_buffer': (.text+0x1620): multiple definition of `kmsg_dump_get_buffer'
drivers/acpi/apei/built-in.o: In function `kmsg_dump_get_line': (.text+0x1610): multiple definition of `kmsg_dump_get_line'

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [ref]                     Intel Corporation
```

## Attachments

- [0001-kmsg-kmsg\_dump-use-iterator-to-receive-log-buffer-co.patch](https://ratatoskr.run/linuxppc-dev/2012/06/9469718/attachment/0) (text/x-diff, 22521 bytes)
- [.config](https://ratatoskr.run/linuxppc-dev/2012/06/9469718/attachment/1) (text/plain, 61926 bytes)
