Skip to contentSkip to conversation

error compiling xen

DISCUSSION [email protected] 2 participants 2 messages Jun 6, 2007

lore
Share & tools
lore
#0 lore raw

I was building xen from source. I gave
make world
but after a while
compilation stopped with some errors:

cc1: error: invalid option
`tune=generic'
cc1: error: unrecognized option `-fstack-protector' cc1:
error: invalid parameter `ssp-buffer-size'
error: command 'gcc' failed
with exit status 1
make[3]: *** [build] Error 1
make[3]: Leaving
directory `/usr/src/xen-3.0.4_1-src/tools/python' make[2]: ***
[install] Error 2
make[2]: Leaving directory `/usr/src/xen-3.0.4_1- src/tools'
make[1]: *** [install-tools] Error 2 make[1]: Leaving
directory `/usr/src/xen-3.0.4_1-src'
make: *** [world] Error 2

my gcc
is up to date. I gave yum install gcc before running installation of xen.
What can I do now?

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andrea,

Quoted 8 lines · On 6/6/07, [email protected] wrote:

I was building xen from source. I gave
make world
but after a while
compilation stopped with some errors:

cc1: error: invalid option
`tune=generic'
cc1: error: unrecognized option `-fstack-protector'

That should be -fno-stack-protector i guess.

Quoted 4 lines

cc1:
error: invalid parameter `ssp-buffer-size'
error: command 'gcc' failed
with exit status 1

[snip]

Quoted 1 line

What can I do now?

And all rest of the error messages suggest so.
CFLAGS are messed up i guess.
Try fixing them, may help.

thanks
- --psr

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGZpOcky6Gd9lpXlERAvtDAJ98bRFqW7Wd23lFl14YC0mOLZ4wwwCfQWZm v06xEPmaJfFY7qV8kvt/+e0=
=ZXKg
-----END PGP SIGNATURE-----

Signature · 4 lines
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)