/usr/bin/ld: utils.o:(.data.rel.local+0x0): multiple definition of `xprintf'; xs_tdb_dump.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello.
I'm trying to Build Qemu & Xen for XenGT on Ubuntu 20.04 following this tutorial :
https:/
because I want to share the integrated GPU with a xen VM.
The main hardware components of my PC are the following :
CPU I9-9900k
Intel Corporation UHD Graphics 630 (Desktop 9 Series) (rev 02)
IVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)
The compilation gave no errors until this point :
root@ziomario-
......
make -C xenstore install
make[4]: ingresso nella directory «/etc/xen/
sed "s! $PWD/! !" .xs_tdb_dump.o.d >.xs_tdb_
sed "s! $PWD/! !" .xs_lib.o.d >.xs_lib.o.d2.tmp && mv -f .xs_lib.o.d2.tmp .xs_lib.o.d2
sed "s! $PWD/! !" .utils.o.d >.utils.o.d2.tmp && mv -f .utils.o.d2.tmp .utils.o.d2
sed "s! $PWD/! !" .xs.o.d >.xs.o.d2.tmp && mv -f .xs.o.d2.tmp .xs.o.d2
sed "s! $PWD/! !" .xs.opic.d >.xs.opic.d2.tmp && mv -f .xs.opic.d2.tmp .xs.opic.d2
sed "s! $PWD/! !" .xenstore_
sed "s! $PWD/! !" .xenstore_
sed "s! $PWD/! !" .talloc.o.d >.talloc.o.d2.tmp && mv -f .talloc.o.d2.tmp .talloc.o.d2
sed "s! $PWD/! !" .xs_lib.opic.d >.xs_lib.
sed "s! $PWD/! !" .tdb.o.d >.tdb.o.d2.tmp && mv -f .tdb.o.d2.tmp .tdb.o.d2
ln -sf libxenstore.so.3.0 libxenstore.so
gcc xs_tdb_dump.o utils.o tdb.o talloc.o -o xs_tdb_dump
/usr/bin/ld: utils.o:
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:95: xs_tdb_dump] Errore 1
make[4]: uscita dalla directory «/etc/xen/
make[3]: *** [/etc/xen/
make[3]: uscita dalla directory «/etc/xen/
make[2]: *** [/etc/xen/
make[2]: uscita dalla directory «/etc/xen/
make[1]: *** [Makefile:74: install] Errore 2
make[1]: uscita dalla directory «/etc/xen/
make: *** [Makefile:127: install-tools] Errore 2
this bug has been fixed for gentoo here :
https:/
and for archlinux,here :
https:/
what about ubuntu 20.04 ?
affects: | gcc-9 (Ubuntu) → xen (Ubuntu) |
Hello Marietto,
If I understand correctly you are having problems compiling igvtg-xen from the upstream source code. In this case this bug tracker is not the right place where to report this issue, as we use it to track bugs in Ubuntu, and not issues or incompatibilities with third-party projects. This unless the problem you hit is a problem with the (Ubuntu packaged) GCC, but I don't think this is the case; more likely there's an incompatibility between igvtg-xen and the version of gcc/glibc in Focal, which is however working as expected.
You can find pointers to get help for this sort of problem here: https:/ /ubuntu. com/support/ community- support
If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is specifically a bug in Ubuntu, and then change the bug status back to New. Thanks!