[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xl_cmdimpl.c errors



With only second patch fail:

gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99
-Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable   -D__XEN_TOOLS__ -MMD -MF .xl_cmdimpl.o.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-Werror -Wno-format-zero-length -Wmissing-declarations
-Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC
-DHAVE_YAJL_VERSION
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include 
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxl
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include
-I/mnt/vm/xen/xen-unstable.hg/tools/libxl/../../tools/include  -c -o
xl_cmdimpl.o xl_cmdimpl.c 
xl_cmdimpl.c: In function Ãprintf_infoÃ:
xl_cmdimpl.c:305:5: error: implicit declaration of function
Ãlibxl_yajl_gen_allocà [-Werror=implicit-function-declaration]
xl_cmdimpl.c:305:10: error: assignment makes pointer from integer without a
cast [-Werror]
cc1: all warnings being treated as errors

make[3]: *** [xl_cmdimpl.o] Error 1
make[3]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools/libxl'
make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/mnt/vm/xen/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

Probably need also the first, not add after read this:
> tools/libxl: rename libxl__yajl_gen_alloc
>
> libxl__yajl_gen_alloc() is called by generic code,
> rename it to libx__yajl_gen_alloc().

Other than this typo both patches in this series look good to me,
thanks.

Acked-by: Ian Campbell <[hidden email]> 

Now I try also first.

--
View this message in context: 
http://xen.1045712.n5.nabble.com/xl-cmdimpl-c-errors-tp5491537p5492438.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.