NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55777: more rump fixes



The following reply was made to PR kern/55777; it has been noted by GNATS.

From: Ruslan Nikolaev <nruslan_devel%yahoo.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>, gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/55777: more rump fixes
Date: Mon, 2 Nov 2020 18:33:30 -0500

 Here is what I get:
 
 /usr/bin/ld: 
 /mnt/testdrive/rumprun-smp/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpnet_local.a(uipc_usrreq.o): 
 in function `unp_sysctl_create':
 /mnt/testdrive/rumprun-smp/src-netbsd/sys/rump/net/lib/liblocal/../../../../kern/uipc_usrreq.c:1989: 
 multiple definition of `rumpns_unp_sysctl_create'; 
 /mnt/testdrive/rumprun-smp/./rumprun/rumprun-x86_64/lib/rumprun-hw/librumpnet.a(net_stub.o):/mnt/testdrive/rumprun-smp/src-netbsd/sys/rump/librump/rumpnet/net_stub.c:92: 
 first defined here
 collect2: error: ld returned 1 exit status
 
 
 On 11/2/20 5:11 PM, Christos Zoulas wrote:
 > Can't remove unp_syscall_create, where do you see an issue?
 >
 > christos
 >
 > [4:42pm] 342#/usr/obj/amd64-x86_64/tools/bin/nbmake-amd64
 > #      link  bpf/t_bpf
 > /usr/obj/amd64-x86_64/tools/bin/x86_64--netbsd-gcc    --sysroot=/usr/obj/amd64-x86_64/release -Wl,--warn-shared-textrel -Wl,-z,relro   -pie  -shared-libgcc      -o t_bpf  t_bpf.o  -Wl,-rpath-link,/usr/obj/amd64-x86_64/release/lib  -L=/lib -lrumpnet_shmif -lrumpdev_bpf -lrumpdev -lrumpnet_netinet -lrumpnet_net -lrumpnet  -lrumpvfs -lrump -lrumpvfs -lrumpvfs_nofifofs -lrumpuser -lrump -lpthread    -latf-c
 > /net/quasar/obj-5/arch/amd64-x86_64/tools/bin/../lib/gcc/x86_64--netbsd/9.3.0/../../../../x86_64--netbsd/bin/ld: /usr/obj/amd64-x86_64/release/usr/lib/librumpnet.so: undefined reference to `rumpns_unp_sysctl_create'
 > collect2: error: ld returned 1 exit status
 >
 > *** Failed target:  t_bpf
 > *** Failed command: /usr/obj/amd64-x86_64/tools/bin/x86_64--netbsd-gcc --sysroot=/usr/obj/amd64-x86_64/release -Wl,--warn-shared-textrel -Wl,-z,relro -pie -shared-libgcc -o t_bpf t_bpf.o -Wl,-rpath-link,/usr/obj/amd64-x86_64/release/lib -L=/lib -lrumpnet_shmif -lrumpdev_bpf -lrumpdev -lrumpnet_netinet -lrumpnet_net -lrumpnet -lrumpvfs -lrump -lrumpvfs -lrumpvfs_nofifofs -lrumpuser -lrump -lpthread -latf-c
 > *** Error code 1
 >
 



Home | Main Index | Thread Index | Old Index