Hi,
I
hope this isn't user error... But, it looks like it's for you... I do
have xen 3.4.1 fully operational (except for vnc tls)
_______________________________________________________
gcc 3.4.6:
In file included from xc_core.c:53:
xc_core.h:26:35: xen/libelf/elfstructs.h: No such file or
directory
In file included from xc_core.c:53:
xc_core.h:121: error: syntax error before '*' token
xc_core.h:122: warning: type defaults to `int' in
declaration of `xc_core_shdr_get'
xc_core.h:122: warning: data definition has no type or
storage class
xc_core.h:124: error: syntax error before '*' token
xc_core.h:128: warning: function declaration isn't a
prototype
In file included from xc_core.c:54:
xc_dom.h:1:31: xen/libelf/libelf.h: No such file or
directory
In file included from xc_core.c:54:
xc_dom.h:44: error: field `parms' has incomplete type
xc_dom.h: In function `xc_dom_feature_translated':
xc_dom.h:243: warning: implicit declaration of function
`elf_xen_feature_get'
xc_core.c: At top level:
xc_core.c:147: error: syntax error before
"Elf64_Shdr"
xc_core.c:147: warning: no semicolon at end of struct or
union
xc_core.c: In function `xc_core_shdr_init':
xc_core.c:156: error: dereferencing pointer to incomplete type
xc_core.c:160: error: dereferencing pointer to incomplete
type
xc_core.c:161: error: dereferencing pointer to incomplete
type
xc_core.c:162: error: dereferencing pointer to incomplete
type
xc_core.c:162: error: dereferencing pointer to incomplete
type
xc_core.c:162: error: dereferencing pointer to incomplete
type
xc_core.c:163: error: dereferencing pointer to incomplete
type
xc_core.c: In function `xc_core_shdr_free':
xc_core.c:174: error: dereferencing pointer to incomplete
type
xc_core.c: At top level:
xc_core.c:178: error: syntax error before '*' token
xc_core.c:180: warning: return type defaults to `int'
xc_core.c: In function `xc_core_shdr_get':
xc_core.c:181: error: `Elf64_Shdr' undeclared (first use in
this function)
xc_core.c:181: error: (Each undeclared identifier is
reported only once
xc_core.c:181: error: for each function it appears in.)
xc_core.c:181: error: `shdr' undeclared (first use in this
function)
xc_core.c:183: error: dereferencing pointer to incomplete
type
xc_core.c:183: error: dereferencing pointer to incomplete
type
xc_core.c:185: error: `shdrs' undeclared (first use in this
function)
xc_core.c:186: error: dereferencing pointer to incomplete
type
xc_core.c:191: error: dereferencing pointer to incomplete
type
xc_core.c:192: error: dereferencing pointer to incomplete
type
xc_core.c:193: error: dereferencing pointer to incomplete
type
xc_core.c:193: error: dereferencing pointer to incomplete
type
xc_core.c:196: error: dereferencing pointer to incomplete
type
xc_core.c:199: error: dereferencing pointer to incomplete
type
xc_core.c:199: error: dereferencing pointer to incomplete
type
xc_core.c:200: error: dereferencing pointer to incomplete
type
xc_core.c: At top level:
xc_core.c:206: error: syntax error before '*' token
xc_core.c:211: warning: function declaration isn't a
prototype
xc_core.c: In function `xc_core_shdr_set':
xc_core.c:212: error: `strtab' undeclared (first use in this
function)
xc_core.c:212: error: `name' undeclared (first use in this
function)
xc_core.c:216: error: `shdr' undeclared (first use in this
function)
xc_core.c:217: error: `type' undeclared (first use in this
function)
xc_core.c:218: error: `offset' undeclared (first use in this
function)
xc_core.c:219: error: `size' undeclared (first use in this
function)
xc_core.c:220: error: `addralign' undeclared (first use in
this function)
xc_core.c:221: error: `entsize' undeclared (first use in
this function)
xc_core.c: At top level:
xc_core.c:226: error: syntax error before '*' token
xc_core.c:227: warning: function declaration isn't a
prototype
xc_core.c: In function `xc_core_ehdr_init':
xc_core.c:228: error: `ehdr' undeclared (first use in this
function)
xc_core.c:229: error: `EI_MAG0' undeclared (first use in
this function)
xc_core.c:229: error: `ELFMAG0' undeclared (first use in
this function)
xc_core.c:230: error: `EI_MAG1' undeclared (first use in
this function)
xc_core.c:230: error: `ELFMAG1' undeclared (first use in
this function)
xc_core.c:231: error: `EI_MAG2' undeclared (first use in
this function)
xc_core.c:231: error: `ELFMAG2' undeclared (first use in
this function)
xc_core.c:232: error: `EI_MAG3' undeclared (first use in
this function)
xc_core.c:232: error: `ELFMAG3' undeclared (first use in
this function)
xc_core.c:233: error: `EI_CLASS' undeclared (first use in
this function)
xc_core.c:233: error: `ELFCLASS64' undeclared (first use in
this function)
xc_core.c:234: error: `EI_DATA' undeclared (first use in
this function)
xc_core.c:234: error: `ELFDATA2LSB' undeclared (first use in
this function)
xc_core.c:235: error: `EI_VERSION' undeclared (first use in
this function)
xc_core.c:235: error: `EV_CURRENT' undeclared (first use in
this function)
xc_core.c:236: error: `EI_OSABI' undeclared (first use in
this function)
xc_core.c:236: error: `ELFOSABI_SYSV' undeclared (first use
in this function)
xc_core.c:237: error: `EI_ABIVERSION' undeclared (first use
in this function)
xc_core.c:239: error: `ET_CORE' undeclared (first use in
this function)
xc_core.c:247: error: `Elf64_Phdr' undeclared (first use in
this function)
xc_core.c:249: error: `Elf64_Shdr' undeclared (first use in
this function)
xc_core.c: In function `xc_domain_dumpcore_via_callback':
xc_core.c:455: error: `Elf64_Ehdr' undeclared (first use in
this function)
xc_core.c:455: error: syntax error before "ehdr"
xc_core.c:463: error: `Elf64_Shdr' undeclared (first use in
this function)
xc_core.c:463: error: `shdr' undeclared (first use in this
function)
xc_core.c:559: error: `ehdr' undeclared (first use in this
function)
xc_core.c:589: error: dereferencing pointer to incomplete
type
xc_core.c:593: error: `ELF_SHSTRTAB' undeclared (first use
in this function)
xc_core.c:593: error: `SHT_STRTAB' undeclared (first use in
this function)
xc_core.c:611: error: `SHT_NOTE' undeclared (first use in
this function)
xc_core.c:626: error: `SHT_PROGBITS' undeclared (first use
in this function)
xc_core.c:662: error: dereferencing pointer to incomplete
type
xc_core.c:664: error: dereferencing pointer to incomplete
type
xc_core.c:665: error: dereferencing pointer to incomplete
type
xc_core.c:713: error: dereferencing pointer to incomplete
type
xc_core.c:714: error: dereferencing pointer to incomplete
type
xc_core.c:717: error: dereferencing pointer to incomplete
type
xc_core.c:719: error: `EM_X86_64' undeclared (first use in
this function)
xc_core.c:719: error: `EM_386' undeclared (first use in this
function)
xc_core.c:725: error: dereferencing pointer to incomplete
type
xc_core.c:726: error: dereferencing pointer to incomplete
type
xc_core.c:726: error: dereferencing pointer to incomplete
type
make[3]: *** [xc_core.o] Error 1
make[3]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom/libxc-x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom/libxc-x86_64'
make[1]: *** [libxc-x86_64/libxenctrl.a] Error 2
make[1]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom'
make: *** [install-stubdom] Error 2
_______________________________________________________
gcc 4.3.4:
In file included from xc_core.c:53:
xc_core.h:26:35: error: xen/libelf/elfstructs.h: No such
file or directory
In file included from xc_core.c:53:
xc_core.h:121: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
xc_core.h:124: error: expected ')' before '*' token
In file included from xc_core.c:54:
xc_dom.h:1:31: error: xen/libelf/libelf.h: No such file or
directory
In file included from xc_core.c:54:
xc_dom.h:44: error: field 'parms' has incomplete type
cc1: warnings being treated as errors
xc_dom.h: In function 'xc_dom_feature_translated':
xc_dom.h:243: error: implicit declaration of function
'elf_xen_feature_get'
xc_core.c: At top level:
xc_core.c:147: error: expected specifier-qualifier-list
before 'Elf64_Shdr'
xc_core.c: In function 'xc_core_shdr_init':
xc_core.c:162: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:162: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:163: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c: In function 'xc_core_shdr_free':
xc_core.c:174: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c: At top level:
xc_core.c:178: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
xc_core.c:206: error: expected ')' before '*' token
xc_core.c:226: error: expected ')' before '*' token
xc_core.c: In function 'xc_domain_dumpcore_via_callback':
xc_core.c:455: error: 'Elf64_Ehdr' undeclared (first use in
this function)
xc_core.c:455: error: (Each undeclared identifier is
reported only once
xc_core.c:455: error: for each function it appears in.)
xc_core.c:455: error: expected ';' before 'ehdr'
xc_core.c:456: error: ISO C90 forbids mixed declarations and
code
xc_core.c:463: error: 'Elf64_Shdr' undeclared (first use in
this function)
xc_core.c:463: error: 'shdr' undeclared (first use in this
function)
xc_core.c:559: error: implicit declaration of function
'xc_core_ehdr_init'
xc_core.c:559: error: 'ehdr' undeclared (first use in this
function)
xc_core.c:575: error: implicit declaration of function
'xc_core_shdr_get'
xc_core.c:589: error: 'struct xc_core_section_headers' has no
member named 'shdrs'
xc_core.c:593: error: implicit declaration of function
'xc_core_shdr_set'
xc_core.c:593: error: 'ELF_SHSTRTAB' undeclared (first use
in this function)
xc_core.c:593: error: 'SHT_STRTAB' undeclared (first use in
this function)
xc_core.c:611: error: 'SHT_NOTE' undeclared (first use in
this function)
xc_core.c:626: error: 'SHT_PROGBITS' undeclared (first use
in this function)
xc_core.c:665: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:713: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:714: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:719: error: 'EM_X86_64' undeclared (first use in
this function)
xc_core.c:719: error: 'EM_386' undeclared (first use in this
function)
xc_core.c:725: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
xc_core.c:726: error: 'struct xc_core_section_headers' has
no member named 'shdrs'
make[3]: *** [xc_core.o] Error 1
make[3]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom/libxc-x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom/libxc-x86_64'
make[1]: *** [libxc-x86_64/libxenctrl.a] Error 2
make[1]: Leaving directory
`/mnt/disk/migration_backup/usr/src/xen-3.4.2/stubdom'
make: *** [install-stubdom] Error 2
_______________________________________________________
host
: node03
release
: 2.6.31-xen-r7
version
: #3 SMP Fri Nov 6 16:58:50 PST 2009
machine
: x86_64
nr_cpus
: 2
nr_nodes
: 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz
: 2992
hw_caps
: bfebfbff:20100800:00000000:00000140:0408e3fd:00000000:00000001:00000000
virt_caps
: hvm
total_memory
: 4093
free_memory
: 995
node_to_cpu
: node0:0-1
node_to_memory
: node0:995
xen_major
: 3
xen_minor
: 4
xen_extra
: .1
xen_caps
: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler
: credit
xen_pagesize
: 4096
platform_params :
virt_start=0xffff800000000000
xen_changeset
: unavailable
cc_compiler
: gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.6, ssp-3.4.6-1.0
cc_compile_by
: root
cc_compile_domain : ------------------
cc_compile_date :
Sun Nov 8 16:23:49 PST 2009
xend_config_format : 4
_______________________________________________________
Dan