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/
Home Products Support Community News


[Xen-devel] Re: asm/asm-offsets.h: No such file or directory

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: asm/asm-offsets.h: No such file or directory
From: Anand Kumria <wildfire@xxxxxxxxxxx>
Date: Sun, 08 Jan 2006 03:34:28 +1100
Delivery-date: Sat, 07 Jan 2006 16:38:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: <20060107111420.GB27696@fencepost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Pan/ (As She Crawled Across the Table (Debian GNU/Linux))
On Sat, 07 Jan 2006 06:14:20 -0500, Thomas Schwinge wrote:

> Hi!
> I found another problem building
> <URL:http://xenbits.xensource.com/linux-2.6-xen.hg>:
> #v+
> [...]
>   gcc -m32 -Wp,-MD,arch/i386/kernel/.entry-xen.o.d  -nostdinc -isystem 
> /fs/pkgs/mount/package/misc/spf/gcc-4.0-branch-20051211T004716Z-1/bin/../lib/gcc/i586-pc-linux-gnu/4.0.3/include
>  -D__KERNEL__ -Iinclude2/asm/mach-xen -Iinclude -Iinclude2 
> -I/fs/data/mount/tmp/build/linux/linux-2.6-xen-branch/include -include 
> include/linux/autoconf.h -D__ASSEMBLY__ 
> -I/fs/data/mount/tmp/build/linux/linux-2.6-xen-branch/include/asm-i386/mach-xen
>  -Iinclude/asm-i386/mach-xen 
> -I/fs/data/mount/tmp/build/linux/linux-2.6-xen-branch/include/asm-i386/mach-default
>  -Iinclude/asm-i386/mach-default -traditional  -c -o 
> arch/i386/kernel/entry-xen.o 
> /fs/data/mount/tmp/build/linux/linux-2.6-xen-branch/arch/i386/kernel/entry-xen.S
> In file included from 
> /fs/data/mount/tmp/build/linux/linux-2.6-xen-branch/arch/i386/kernel/entry-xen.S:46:
> include2/asm/thread_info.h:51: error: asm/asm-offsets.h: No such file or 
> directory
> make[2]: *** [arch/i386/kernel/entry-xen.o] Error 1
> make[1]: *** [arch/i386/kernel] Error 2
> make: *** [_all] Error 2
> #v-
> I was building with a separate output files's directory (putting
> O=... on make's command line).
> asm-offsets.h gets created in O/include/asm-i386, but no O/include/asm
> symlink is created (which should point to asm-i386).  After creating
> that symlink the build was able to continue.
> Being mostly ignorant of Linux's build system, I don't know the proper
> way to tell the build system to create that link.

It sounds as if you already did a make previously, -- I'd do a:
        make ARCH=xen clean
in the kernel directory and then try building again.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>