|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] xen 3.4-testing build error
I am trying to build xen-3.4-testing (19995:0e3b875fd5fb) on Ubuntu
11.10 64-bit. I am building with the following patch:
--- a/Config.mk Fri Sep 30 18:42:30 2011 -0400
+++ b/Config.mk Tue Oct 18 22:14:43 2011 -0700
@@ -99,7 +99,7 @@
# -Wunused-value makes GCC 4.x too aggressive for my taste: ignoring the
# result of any casted expression causes a warning.
-CFLAGS += -Wno-unused-value
+CFLAGS += -Wno-unused-value -Wno-unused-but-set-variable
$(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement)
$(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement)
I am getting the following build error:
make[2]: Entering directory `/home/ap/dev/xen/xen-3.4-testing/tools'
make -C xcutils install
make[3]: Entering directory `/home/ap/dev/xen/xen-3.4-testing/tools/xcutils'
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wno-unused-value
-Wno-unused-but-set-variable -Wdeclaration-after-statement
-D__XEN_TOOLS__ -MMD -MF .xc_restore.o.d -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -Werror -I../../tools/libxc
-I../../tools/include -I../../tools/libxc -I../../tools/include
-I../../tools/xenstore -I../../tools/include -c -o xc_restore.o
xc_restore.c
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wno-unused-value
-Wno-unused-but-set-variable -Wdeclaration-after-statement
-D__XEN_TOOLS__ -MMD -MF .xc_restore.d -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -Werror -I../../tools/libxc
-I../../tools/include -I../../tools/libxc -I../../tools/include
-I../../tools/xenstore -I../../tools/include xc_restore.o
-L../../tools/libxc -lxenctrl -L../../tools/libxc -lxenguest
-L../../tools/xenstore -lxenstore -o xc_restore
../../tools/libxc/libxenguest.so: undefined reference to `BZ2_bzDecompressInit'
../../tools/libxc/libxenguest.so: undefined reference to `BZ2_bzDecompressEnd'
../../tools/libxc/libxenguest.so: undefined reference to `lzma_end'
../../tools/libxc/libxenguest.so: undefined reference to `BZ2_bzDecompress'
../../tools/libxc/libxenguest.so: undefined reference to `lzma_alone_decoder'
../../tools/libxc/libxenguest.so: undefined reference to `lzma_code'
collect2: ld returned 1 exit status
make[3]: *** [xc_restore] Error 1
make[3]: Leaving directory `/home/ap/dev/xen/xen-3.4-testing/tools/xcutils'
make[2]: *** [subdir-install-xcutils] Error 2
make[2]: Leaving directory `/home/ap/dev/xen/xen-3.4-testing/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/ap/dev/xen/xen-3.4-testing/tools'
make: *** [install-tools] Error 2
I have tried installing the bz2 (libbz2-dev) and lzam (liblzma-dev)
dev packages but I still get the error. I have tried doing a clean and
make after the installing the dev packages to no avail. Any idea what
other library I need to install?
Thanks,
AP
GCC Info
--------------
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3'
--with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] xen 3.4-testing build error,
AP <=
|
|
|
|
|