Build XEN from Source

Hello,

I try to compile XEN 4.3 from source.
after a while an error appears:

ld: warning: section .bss' type changed to PROGBITS /root/temp/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os.o: In function fprintf’:
/usr/include/bits/stdio2.h:97: undefined reference to stderr' /usr/include/bits/stdio2.h:97: undefined reference to stderr’
/usr/include/bits/stdio2.h:97: undefined reference to stderr' /usr/include/bits/stdio2.h:97: undefined reference to stderr’
/usr/include/bits/stdio2.h:97: undefined reference to stderr' /root/temp/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os.o:/usr/include/bits/stdio2.h:97: more undefined references to stderr’ follow
make[3]: *** [/root/temp/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os] Error 1
make[3]: Leaving directory /root/temp/xen-4.3.0/extras/mini-os' make[2]: *** [vtpm-stubdom] Error 2 make[2]: Leaving directory /root/temp/xen-4.3.0/stubdom’
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/root/temp/xen-4.3.0’
make: *** [world] Error 2

I use openSUSE 12.3 (x86_64) with custom kernel 3.10.9
Can anybody please help me ?

Best regards
B.-D.

Probably the first question which should be asked is whether you have a special reason to compile from source rather than simply install from the regular repositories. If you have no special reason to be compiling from source, then you should simply install Xen using the YAST virtual install applet (highly recommended) or the YAST Software Manager or zypper (both may require a little know-how).

The people who prepare the Xen openSUSE packages do a number of customizations which may or may not be related to whatever is causing your errors.
BTW - When I run into errors like what you describe, I usually find I also need to look at what preceded the actual error.

TSU

Why are you doing this in your root account? You can compile as a normal user, and use ‘su -’ to install.

Are you leaving a step out? The tarball should have a README and an INSTALL file. These contain important information on compiling and installing the application. Be sure and read these first.