WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen unstable/SuSE 9.3 install issue

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xen unstable/SuSE 9.3 install issue
From: Robert Hulme <rob@xxxxxxxxxxxx>
Date: Wed, 19 Oct 2005 01:35:05 +0100
Delivery-date: Wed, 19 Oct 2005 00:32:21 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PgpdVzB0JJm8QTxKG35DEDNtkj22dw09tV666B0tENdcLu3fpovEMiRq4y9vuk6z67df9/vrBjXdRL9E5uhj1fSlinsIQ7km9h/IyumygIxIft7MHnbyN0Ga5Wl0BT0AgLTkxdN5AWWzvzcfhb6Z3lQM/eeiEEVeRhTgLWHENjc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ddd4b0590510061310j20617625y3db6f5d4ff8f5e31@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <ddd4b0590510061310j20617625y3db6f5d4ff8f5e31@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I am having a similar compile problem. My woes seem to begin when it
can't find smp_alt.h (which I've checked and does not exist).

I get this:

debian:~/xen/xen-unstable.hg# find . | grep smp_alt.h
debian:~/xen/xen-unstable.hg# hg co -C 70aa62954e91
debian:~/xen/xen-unstable.hg# make
make -C xen install
make[1]: Entering directory `/root/xen/xen-unstable.hg/xen'
make -C tools
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen/tools'
make -C figlet
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/tools/figlet'
make[3]: `figlet' is up to date.
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/tools/figlet'
make symbols
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/tools'
make[3]: `symbols' is up to date.
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/tools'
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/tools'
make include/xen/compile.h
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen'
tools/figlet/figlet -d tools/figlet Xen 3.0-devel > include/xen/banner.h.new
 __  __            _____  ___         _                _
 \ \/ /___ _ __   |___ / / _ \     __| | _____   _____| |
  \  // _ \ '_ \    |_ \| | | |__ / _` |/ _ \ \ / / _ \ |
  /  \  __/ | | |  ___) | |_| |__| (_| |  __/\ V /  __/ |
 /_/\_\___|_| |_| |____(_)___/    \__,_|\___| \_/ \___|_|

make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen'
make include/xen/acm_policy.h
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen'
make[2]: `include/xen/acm_policy.h' is up to date.
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
make -C arch/x86 asm-offsets.s
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen/arch/x86'
make[2]: `asm-offsets.s' is up to date.
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/x86'
make include/asm-x86/asm-offsets.h
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen'
make[2]: `include/asm-x86/asm-offsets.h' is up to date.
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen'
make -C common
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen/common'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
-iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-default -O3
-fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -DVERBOSE
-c kernel.c -o kernel.o
ld   -m elf_i386  -r -o common.o  acm_ops.o ac_timer.o bitmap.o
dom0_ops.o domain.o elf.o event_channel.o grant_table.o kernel.o
keyhandler.o lib.o memory.o multicall.o page_alloc.o  sched_bvt.o
sched_sedf.o schedule.o softirq.o string.o symbols.o  vsprintf.o
xmalloc.o
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/common'
make -C drivers
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen/drivers'
make -C char
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/drivers/char'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
-iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-default -O3
-fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -DVERBOSE
-c console.c -o console.o
ld   -m elf_i386  -r -o driver.o  console.o ns16550.o serial.o
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/drivers/char'
make -C acpi
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/drivers/acpi'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/drivers/acpi'
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/drivers'
make -C arch/x86
make[2]: Entering directory `/root/xen/xen-unstable.hg/xen/arch/x86'
ld   -m elf_i386  -T x86_32/xen.lds -N \
    boot/x86_32.o /root/xen/xen-unstable.hg/xen/common/common.o
/root/xen/xen-unstable.hg/xen/drivers/char/driver.o
/root/xen/xen-unstable.hg/xen/drivers/acpi/driver.o
/root/xen/xen-unstable.hg/xen/arch/x86/arch.o -o
/root/xen/xen-unstable.hg/xen/xen-syms
nm -n /root/xen/xen-unstable.hg/xen/xen-syms |
/root/xen/xen-unstable.hg/xen/tools/symbols
>/root/xen/xen-unstable.hg/xen/xen-syms.S
make /root/xen/xen-unstable.hg/xen/xen-syms.o
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
-iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-default -O3
-fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -DVERBOSE
-D__ASSEMBLY__ -c /root/xen/xen-unstable.hg/xen/xen-syms.S -o
/root/xen/xen-unstable.hg/xen/xen-syms.o
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/x86'
ld   -m elf_i386  -T x86_32/xen.lds -N \
    boot/x86_32.o /root/xen/xen-unstable.hg/xen/common/common.o
/root/xen/xen-unstable.hg/xen/drivers/char/driver.o
/root/xen/xen-unstable.hg/xen/drivers/acpi/driver.o
/root/xen/xen-unstable.hg/xen/arch/x86/arch.o
/root/xen/xen-unstable.hg/xen/xen-syms.o -o
/root/xen/xen-unstable.hg/xen/xen-syms
nm -n /root/xen/xen-unstable.hg/xen/xen-syms |
/root/xen/xen-unstable.hg/xen/tools/symbols
>/root/xen/xen-unstable.hg/xen/xen-syms.S
make /root/xen/xen-unstable.hg/xen/xen-syms.o
make[3]: Entering directory `/root/xen/xen-unstable.hg/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
-iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
-I/root/xen/xen-unstable.hg/xen/include
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-generic
-I/root/xen/xen-unstable.hg/xen/include/asm-x86/mach-default -O3
-fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -DVERBOSE
-D__ASSEMBLY__ -c /root/xen/xen-unstable.hg/xen/xen-syms.S -o
/root/xen/xen-unstable.hg/xen/xen-syms.o
make[3]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/x86'
ld   -m elf_i386  -T x86_32/xen.lds -N \
    boot/x86_32.o /root/xen/xen-unstable.hg/xen/common/common.o
/root/xen/xen-unstable.hg/xen/drivers/char/driver.o
/root/xen/xen-unstable.hg/xen/drivers/acpi/driver.o
/root/xen/xen-unstable.hg/xen/arch/x86/arch.o
/root/xen/xen-unstable.hg/xen/xen-syms.o -o
/root/xen/xen-unstable.hg/xen/xen-syms
rm -f /root/xen/xen-unstable.hg/xen/xen-syms.S
/root/xen/xen-unstable.hg/xen/xen-syms.o
./boot/mkelf32 /root/xen/xen-unstable.hg/xen/xen-syms
/root/xen/xen-unstable.hg/xen/xen 0x100000
make[2]: Leaving directory `/root/xen/xen-unstable.hg/xen/arch/x86'
gzip -f -9 < /root/xen/xen-unstable.hg/xen/xen >
/root/xen/xen-unstable.hg/xen/xen.gz.new
mv /root/xen/xen-unstable.hg/xen/xen.gz.new /root/xen/xen-unstable.hg/xen/xen.gz
[ -d /root/xen/xen-unstable.hg/dist/install/boot ] || install -d
-m0755 /root/xen/xen-unstable.hg/dist/install/boot
install -m0644 /root/xen/xen-unstable.hg/xen/xen.gz
/root/xen/xen-unstable.hg/dist/install/boot/xen-3.0-devel.gz
ln -f -s xen-3.0-devel.gz /root/xen/xen-unstable.hg/dist/install/boot/xen-3.0.gz
ln -f -s xen-3.0-devel.gz /root/xen/xen-unstable.hg/dist/install/boot/xen-3.gz
ln -f -s xen-3.0-devel.gz /root/xen/xen-unstable.hg/dist/install/boot/xen.gz
install -m0644 /root/xen/xen-unstable.hg/xen/xen-syms
/root/xen/xen-unstable.hg/dist/install/boot/xen-syms-3.0-devel
[ -d /root/xen/xen-unstable.hg/dist/install/usr/include/xen/io ] || \
        install -d -m0755
/root/xen/xen-unstable.hg/dist/install/usr/include/xen/io
install -m0644 include/public/*.h
/root/xen/xen-unstable.hg/dist/install/usr/include/xen
install -m0644 include/public/io/*.h
/root/xen/xen-unstable.hg/dist/install/usr/include/xen/io
install -m0644 include/public/COPYING
/root/xen/xen-unstable.hg/dist/install/usr/include/xenmake[1]: Leaving
directory `/root/xen/xen-unstable.hg/xen'
for i in  linux-2.6-xen0   linux-2.6-xenU  ; do make $i-install || exit 1; done
make[1]: Entering directory `/root/xen/xen-unstable.hg'
make -f buildconfigs/mk.linux-2.6-xen0 build
make[2]: Entering directory `/root/xen/xen-unstable.hg'
if grep "^CONFIG_MODULES=" linux-2.6.12-xen0/.config ; then \
    make -C linux-2.6.12-xen0 ARCH=xen modules ; \
    make -C linux-2.6.12-xen0 ARCH=xen
INSTALL_MOD_PATH=/root/xen/xen-unstable.hg/dist/install
modules_install ; \
fi
CONFIG_MODULES=y
make[3]: Entering directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h:11:25: error: asm/smp_alt.h: No such file
or directory
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h: In function '__cmpxchg':
include/asm-xen/asm/system.h:255: error: syntax error before 'LOCK'
include/asm-xen/asm/system.h:261: error: syntax error before 'LOCK'
include/asm-xen/asm/system.h:267: error: syntax error before 'LOCK'
make[4]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[3]: *** [arch/i386/kernel/asm-offsets.s] Error 2
make[3]: Leaving directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
make[3]: Entering directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
System.map -b /root/xen/xen-unstable.hg/dist/install -r 2.6.12-xen0;
fi
make[3]: Leaving directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
make -C linux-2.6.12-xen0 ARCH=xen
INSTALL_PATH=/root/xen/xen-unstable.hg/dist/install install
make[3]: Entering directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h:11:25: error: asm/smp_alt.h: No such file
or directory
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h: In function '__cmpxchg':
include/asm-xen/asm/system.h:255: error: syntax error before 'LOCK'
include/asm-xen/asm/system.h:261: error: syntax error before 'LOCK'
include/asm-xen/asm/system.h:267: error: syntax error before 'LOCK'
make[4]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[3]: *** [arch/i386/kernel/asm-offsets.s] Error 2
make[3]: Leaving directory `/root/xen/xen-unstable.hg/linux-2.6.12-xen0'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/root/xen/xen-unstable.hg'
make[1]: *** [linux-2.6-xen0-install] Error 2
make[1]: Leaving directory `/root/xen/xen-unstable.hg'
make: *** [install-kernels] Error 1
debian:~/xen/xen-unstable.hg#



Anyone got any ideas??

--
------------------------------------------------------
"You're walking a very bent ladder" - Alex Kelly

http://www.robhulme.com/
http://robhu.livejournal.com/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel