Skip to content

Instantly share code, notes, and snippets.

@CptSpaceToaster
Created May 22, 2015 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CptSpaceToaster/467ce2625dcb6b5d2ace to your computer and use it in GitHub Desktop.
Save CptSpaceToaster/467ce2625dcb6b5d2ace to your computer and use it in GitHub Desktop.
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-close.o tap-ctl-close.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .tap-ctl-pause.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-unused -I../include -I../drivers -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-pause.o tap-ctl-pause.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .tap-ctl-unpause.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-unused -I../include -I../drivers -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-unpause.o tap-ctl-unpause.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .tap-ctl-major.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-unused -I../include -I../drivers -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-major.o tap-ctl-major.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .tap-ctl-check.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-unused -I../include -I../drivers -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-check.o tap-ctl-check.c
ar r libblktapctl.a tap-ctl-ipc.o tap-ctl-list.o tap-ctl-allocate.o tap-ctl-free.o tap-ctl-create.o tap-ctl-destroy.o tap-ctl-spawn.o tap-ctl-attach.o tap-ctl-detach.o tap-ctl-open.o tap-ctl-close.o tap-ctl-pause.o tap-ctl-unpause.o tap-ctl-major.o tap-ctl-check.o
ar: creating libblktapctl.a
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/cross-install -d -m0755 -p -p /home/arlx/Github/xen/dist/install/usr/local/sbin
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/cross-install -m0755 -p tap-ctl /home/arlx/Github/xen/dist/install/usr/local/sbin
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/cross-install -m0644 -p libblktapctl.a /home/arlx/Github/xen/dist/install/usr/local/lib
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/cross-install -m0755 -p libblktapctl.so.1.0.0 /home/arlx/Github/xen/dist/install/usr/local/lib
ln -sf libblktapctl.so.1.0 /home/arlx/Github/xen/dist/install/usr/local/lib/libblktapctl.so
ln -sf libblktapctl.so.1.0.0 /home/arlx/Github/xen/dist/install/usr/local/lib/libblktapctl.so.1.0
make[5]: Leaving directory `/home/arlx/Github/xen/tools/blktap2/control'
make[4]: Leaving directory `/home/arlx/Github/xen/tools/blktap2'
make[3]: Leaving directory `/home/arlx/Github/xen/tools/blktap2'
make[2]: Leaving directory `/home/arlx/Github/xen/tools'
make[2]: Entering directory `/home/arlx/Github/xen/tools'
/usr/bin/make -C libfsimage install
make[3]: Entering directory `/home/arlx/Github/xen/tools/libfsimage'
make[4]: Entering directory `/home/arlx/Github/xen/tools/libfsimage'
/usr/bin/make -C common install
make[5]: Entering directory `/home/arlx/Github/xen/tools/libfsimage/common'
gcc -DPIC -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .fsimage.opic.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Wno-unknown-pragmas -I/home/arlx/Github/xen/tools/libfsimage/common/../../../tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"/usr/local/lib/fs\" -Werror -D_GNU_SOURCE -pthread -fPIC -c -o fsimage.opic fsimage.c
gcc -DPIC -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .fsimage_plugin.opic.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Wno-unknown-pragmas -I/home/arlx/Github/xen/tools/libfsimage/common/../../../tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"/usr/local/lib/fs\" -Werror -D_GNU_SOURCE -pthread -fPIC -c -o fsimage_plugin.opic fsimage_plugin.c
gcc -DPIC -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .fsimage_grub.opic.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Wno-unknown-pragmas -I/home/arlx/Github/xen/tools/libfsimage/common/../../../tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"/usr/local/lib/fs\" -Werror -D_GNU_SOURCE -pthread -fPIC -c -o fsimage_grub.opic fsimage_grub.c
gcc -Wl,mapfile-GNU -pthread -Wl,-soname -Wl,libfsimage.so.1.0 -shared -o libfsimage.so.1.0.0 fsimage.opic fsimage_plugin.opic fsimage_grub.opic
/usr/bin/ld: duplicate version tag `libfsimage.so.1.0'
collect2: error: ld returned 1 exit status
make[5]: *** [libfsimage.so.1.0.0] Error 1
make[5]: Leaving directory `/home/arlx/Github/xen/tools/libfsimage/common'
make[4]: *** [subdir-install-common] Error 2
make[4]: Leaving directory `/home/arlx/Github/xen/tools/libfsimage'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/home/arlx/Github/xen/tools/libfsimage'
make[2]: *** [subdir-install-libfsimage] Error 2
make[2]: Leaving directory `/home/arlx/Github/xen/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/arlx/Github/xen/tools'
make: *** [install-tools] Error 2
@Xentinal
Copy link

Hi, did you discover what was causing "duplicate version tag `libfsimage.so.1.0'" and the fix?

@kjiokeng
Copy link

kjiokeng commented Aug 1, 2017

I'm also facing the same issue. And up to now, I don't know what is the matter, and how to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment