|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: asm/asm-offsets.h: No such file or directory
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.
Cheers,
Anand
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|