QEMU Xen compile problem
Hi,
When I try to compile the QEMU git head with Xen enabled, I get the following errors:
LINK qemu
/usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages':
(.text+0x470): multiple definition of unlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x5d0): first defined here /usr/lib/libxenguest.a(xg_private.o): In function lock_pages':
(.text+0x4c0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x650): first defined here
collect2: ld returned 1 exit status
make: *** [qemu] Error 1
It looks like this is a known problem:
http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00510.html
Is there any fix available?
Quoted 15 lines · Blue Swirl
Hi,
When I try to compile the QEMU git head with Xen enabled, I get the following errors:
LINK qemu
/usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages':
(.text+0x470): multiple definition ofunlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x5d0): first defined here /usr/lib/libxenguest.a(xg_private.o): In functionlock_pages':
(.text+0x4c0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x650): first defined here
collect2: ld returned 1 exit status
make: *** [qemu] Error 1
Quoted 6 lines
It looks like this is a known problem:
http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00510.htmlIs there any fix available?
The fix is CS 17701, in facts I don't see these errors with the latest xen-unstable, what xen version are you trying against?
Quoted 15 lines · Blue Swirl
Hi,
When I try to compile the QEMU git head with Xen enabled, I get the following errors:
LINK qemu
/usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages':
(.text+0x470): multiple definition ofunlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x5d0): first defined here /usr/lib/libxenguest.a(xg_private.o): In functionlock_pages':
(.text+0x4c0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x650): first defined here
collect2: ld returned 1 exit status
make: *** [qemu] Error 1
Quoted 6 lines
It looks like this is a known problem:
http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00510.htmlIs there any fix available?
The fix is CS 17701, in facts I don't see these errors with the latest xen-unstable, what xen version are you trying against?
Quoted 28 lines · Stefano Stabellini
Quoted 15 lines · Blue Swirl
Hi,
When I try to compile the QEMU git head with Xen enabled, I get the following errors:
LINK qemu
/usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages':
(.text+0x470): multiple definition ofunlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x5d0): first defined here /usr/lib/libxenguest.a(xg_private.o): In functionlock_pages':
(.text+0x4c0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x650): first defined here
collect2: ld returned 1 exit status
make: *** [qemu] Error 1Quoted 6 lines
It looks like this is a known problem:
http://lists.xensource.com/archives/html/xen-devel/2008-05/msg00510.htmlIs there any fix available?
Quoted 2 lines
The fix is CS 17701, in facts I don't see these errors with the latest
xen-unstable, what xen version are you trying against?
This comes from Debian libxen-dev version: 3.2.1-2. Maybe it's too old.
Quoted 7 lines · Blue Swirl
Quoted 4 lines · Stefano Stabellini
Blue Swirl wrote:
The fix is CS 17701, in facts I don't see these errors with the latest
xen-unstable, what xen version are you trying against?This comes from Debian libxen-dev version: 3.2.1-2. Maybe it's too old.
yeah, ancient :)