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

Re: [Xen-devel] I met a problem when install rt-xen 4.0.1 on Ubuntu 12.04



On Fri, Mar 29, 2013 at 05:36:16AM +0000, zhangwqh wrote:
> Hi, all
> 
> I want to install rt-xen on Ubuntu 12.04.

You should probably contact author of RT-Xen for this kind of question.

> In the install process, I met a question:
> make tools
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
> -D__XEN_TOOLS__ -MMD -MF .buildpy.d -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -fPIC -I../../tools/libxc -I../../tools/xenstore
> -I../../tools/include -Ixen/lowlevel/xc -I/usr/include/python2.7 -c
> xen/lowlevel/xc/xc.c -o build/temp.linux-x86_64-2.7/xen/lowlevel/xc/xc.o
> -fno-strict-aliasing
> gcc: error: : No such file or directory

Gcc cannot find source file.

> error: command 'gcc' failed with exit status 1
> make[3]: *** [buildpy] Error 1
> make[3]: Leaving directory `/home/zhangwei1984/xen-4.0.1/tools/python'
> make[2]: *** [subdir-install-python] Error 2
> make[2]: Leaving directory `/home/zhangwei1984/xen-4.0.1/tools'
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory `/home/zhangwei1984/xen-4.0.1/tools'
> make: *** [install-tools] Error 2
> The following is my install step.
> 1)make xen
> I met the problem,cc1: all warnings being treated as errors
> I use the following method to cancel the Werror.
> root@nimbnode7:/home/zhangwei1984/xen-4.0.1# sed -i 's/-Werror//g' `grep -l
> -R Werror ./*`
> make xen, successfully

In general you should fix those warnings instead of removing -Werror,
otherwise you might end up with strange bugs.


Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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