NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/51968: Error in using src-netbsd with rumprun unikernel
>Number: 51968
>Category: lib
>Synopsis: Error in using src-netbsd with rumprun unikernel
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Feb 14 05:40:00 +0000 2017
>Originator: Hui Kang
>Release: 4.4
>Organization:
IBM
>Environment:
Linux unikernel-dev-02 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>Description:
Hi,
I am a newbie to netbsd and have a question about compiling netbsd source for
the rumprun unikernel; the error message is listed at [1].
I think there may caused by this commit [3]. However, due to my limited
knowledge, I could not solve this. Could anyone help? Thanks.
- Hui
[1] https://gist.github.com/huikang/20bf39d3a353a4fb4a597b3833393037
[2] https://github.com/huikang/rumprun.git
[3] https://github.com/IIJ-NetBSD/netbsd-src/commit/42dad6f764ea9697a60522ba22515d5bca521d3e#diff-e65c5ddffc87c17b3e0191fa5187692b
>How-To-Repeat:
To reproduce the error, you can follow the following steps
1. Download rumprun unikernel source [2]
git clone https://github.com/huikang/rumprun.git
cd rumprun
git checkout add-tuntap
2. Checkout the src-netbsd
git clone https://github.com/huikang/src-netbsd.git
cd src-netbsd
git checkout appstack-src
3. Compile the rumprun unikernel
./build-rr hw
Then if I use the compiled rumpbake to back rumprun unikernel image, it gives
me the following error
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_virtio_if_vioif.a(if_vioif.o):(.data+0x60): multiple definition of `rumpns_vioif_cd'
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_virtio_if_vioif.a(component_simple.o):(.data+0x80): first defined here
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_virtio_ld.a(ld.o):(.data+0x0): multiple definition of `rumpns_ld_cd'
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_virtio_ld.a(ld_at_virtio.o):(.data+0xa0): first defined here
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_pci_virtio.a(virtio_component.o):(.data+0xa0): multiple definition of `rumpns_virtio_cd'
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_pci_virtio.a(component_simple.o):(.data+0xa0): first defined here
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_pci_virtio.a(virtio.o):(.data+0x80): multiple definition of `rumpns_virtio_cd'
/root/rumprun/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpdev_pci_virtio.a(component_simple.o):(.data+0xa0): first defined here
>Fix:
NA
Home |
Main Index |
Thread Index |
Old Index