Maxim Gorbachyov
2008-Nov-12 10:23 UTC
[Pkg-xen-devel] libxen-dev: multiple symbol definition
Hello. That's what I've got from ld: /usr/lib/libxenguest.a(xg_private.o): In function `unlock_pages': (.text+0x490): multiple definition of `unlock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x6a0): first defined here /usr/lib/libxenguest.a(xg_private.o): In function `lock_pages': (.text+0x4d0): multiple definition of `lock_pages' /usr/lib/libxenctrl.a(xc_private.o):(.text+0x700): first defined here collect2: ld returned 1 exit status Indeed: /usr/lib$ readelf -s libxenctrl.a | grep lock_pages 8: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 8: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 15: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 17: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 9: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 11: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 54: 000006a0 86 FUNC GLOBAL DEFAULT 1 unlock_pages 56: 00000700 41 FUNC GLOBAL DEFAULT 1 lock_pages 8: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 8: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 10: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 9: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 11: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 21: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 22: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 43: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 45: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages /usr/lib$ readelf -s libxenguest.a | grep lock_pages 29: 00000490 51 FUNC GLOBAL DEFAULT 1 unlock_pages 31: 000004d0 9 FUNC GLOBAL DEFAULT 1 lock_pages 30: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 32: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 38: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 42: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 19: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 21: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages 60: 00000000 0 NOTYPE GLOBAL DEFAULT UND lock_pages 64: 00000000 0 NOTYPE GLOBAL DEFAULT UND unlock_pages Are these libs supposed to be used together? If yes, how? Please cc me if you reply.
Maybe Matching Threads
- error while static linking of libxenctrl and libxenguest
- [PATCH] libxc: Include path fix
- RE: [PATCH][TOOLS] Reducingimpactofdomainsave/restore/dump on Dom0
- Does it still make sense to have versioned xen-hypervisor, libxen and xen-utils?
- Backporting Xen 3.1 to Etch