xen-unstable - make[4]: [cpuperf-xen] Error 1
Hi!
I've been working for a while to build a package that automatically
builds and installs xen-unstable. I don't want to go into package build
steps because I think it is irrelevant. I sorted out all problems with the package itself but I found out I'm getting the below errors:
make -C cpuperf
make[4]: Entering directory `/var/abs/local/xen/src/xen-unstable/tools/misc/cpuperf'
gcc -march=i686 -O2 -pipe -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -I ../../../tools/libxc -L../../../tools/libxc -lxenctrl -DXENO -o cpuperf-xen cpuperf.c
cc1: warnings being treated as errors
In file included from cpuperf.c:49:
cpuperf_xeno.h:17: warning: function declaration isn't a prototype make[4]: *** [cpuperf-xen] Error 1
make[4]: Leaving directory `/var/abs/local/xen/src/xen-unstable/tools/misc/cpuperf' make[3]: *** [build] Error 2
make[3]: Leaving directory `/var/abs/local/xen/src/xen-unstable/tools/misc' make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/abs/local/xen/src/xen-unstable/tools' make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/var/abs/local/xen/src/xen-unstable'
make: *** [world] Error 2
I'm sure I did not get it a week ago. Could anybody tell me what it is related to?
Thanks a lot!
waldek
Quoted 4 lines · waldek
Hi!
I've been working for a while to build a package that automatically
builds and installs xen-unstable. I don't want to go into package build
steps because I think it is irrelevant. I sorted out all problems with the package itself but I found out I'm getting the below errors:
We added -Wstrict-prototype to CFLAGS which is causing this build failure. I've now checked in a fix.
-- Keir
Quoted 9 lines · Keir Fraser
Quoted 4 lines · waldek
Hi!
I've been working for a while to build a package that automatically
builds and installs xen-unstable. I don't want to go into package build
steps because I think it is irrelevant. I sorted out all problems with the package itself but I found out I'm getting the below errors:We added -Wstrict-prototype to CFLAGS which is causing this build failure. I've now checked in a fix.
thanks a lot. I'll try again later.
regards
waldek