build from source error
hi,
lately i download xen from www.cl.cam.ac.uk, yet encountered problem when building from the source. its version is xen-2.0.5-src.tgz (downloaded from
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-2.0.5-src.tgz).
i use debian 3.0 rx version with kernel manually updated to 2.6.9; in which gcc version 2.95.4; make 3.7.9.
the message reports as follow. how to solve it? i appreciate it sincerely.
jason
=============== messages ==========beg
make[3]: curl-config: Command not found
make[3]: Entering directory
`/root/xen/xen-2.0/tools/xfrd'
__ __ ____ ___ ____
\ \/ /___ _ __ |___ \ / _ \ | ___|
\ // _ \ '_ \ __) || | | ||___ \ / \ __/ | | | / __/ | |_| | ___) |
/_/\_\___|_| |_| |_____(_)___(_)____/
cc1: Invalid option `32'
cc1: warnings being treated as errors
In file included from /root/xen/xen-2.0/xen/include/xen/spinlock.h:5,
from/root/xen/xen-2.0/xen/include/xen/sched.h:8,
from x86_32/asm-offsets.c:7:
/root/xen/xen-2.0/xen/include/asm/system.h:28:
warning: `always_inline' attribute directive ignored /root/xen/xen-2.0/xen/include/asm/system.h:75:
warning: `always_inline' attribute directive ignored In file included from /root/xen/xen-2.0/xen/include/asm/string.h:4,
from/root/xen/xen-2.0/xen/include/xen/string.h:22,
from/root/xen/xen-2.0/xen/include/xen/lib.h:6,
from/root/xen/xen-2.0/xen/include/asm/spinlock.h:5,
from/root/xen/xen-2.0/xen/include/xen/spinlock.h:39,
from/root/xen/xen-2.0/xen/include/xen/sched.h:8,
from x86_32/asm-offsets.c:7:
/root/xen/xen-2.0/xen/include/asm/x86_32/string.h:210:
warning: `always_inline' attribute directive ignored /root/xen/xen-2.0/xen/include/asm/x86_32/string.h:277:
warning: `always_inline' attribute directive ignored /root/xen/xen-2.0/xen/include/asm/x86_32/string.h:415:
warning: `always_inline' attribute directive ignored In file included from /root/xen/xen-2.0/xen/include/asm/uaccess.h:8,
from/root/xen/xen-2.0/xen/include/xen/sched.h:129,
from x86_32/asm-offsets.c:7:
/root/xen/xen-2.0/xen/include/asm/x86_32/uaccess.h:319:
warning: `always_inline' attribute directive ignored /root/xen/xen-2.0/xen/include/asm/x86_32/uaccess.h:357:
warning: `always_inline' attribute directive ignored In file included from x86_32/asm-offsets.c:7:/root/xen/xen-2.0/xen/include/xen/sched.h:149:
warning: `always_inline' attribute directive ignored make[3]: *** [asm-offsets.s] Error 1
make[2]: *** [/root/xen/xen-2.0/xen/xen] Error 2 make[1]: *** [xen] Error 2
make: *** [world] Error 2
===============message ==========end
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 10 lines · neo anderson
lately i download xen from www.cl.cam.ac.uk, yet encountered problem when building from the source. its version is xen-2.0.5-src.tgz (downloaded from
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-2.0.5-src.tgz).
i use debian 3.0 rx version with kernel manually updated to 2.6.9; in which gcc version 2.95.4; make 3.7.9.
the message reports as follow. how to solve it? i appreciate it sincerely.
jason
You need to use a newer gcc, preferably 3.2 or above.
-- Keir
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click