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-users

[Xen-users] Xen kernel compilation fails - no such file or directory fea

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen kernel compilation fails - no such file or directory features.h (but its there)
From: "Joel Heenan" <joelh@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Jan 2006 14:01:25 +1100
Delivery-date: Mon, 23 Jan 2006 13:32:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYeNvKCHGABDf5GSQyjVGwyzLGBZg==
Hello,

The 2.6.12-xenU kernel does not seem to have smbfs support. I couldn't find
the config files for it so maybe I'm missing something obvious, but I read
that you need to compile your own kernel to get smbfs support.

I'm trying to follow the guide at 

http://www.debian-administration.org/articles/320

I've done exactly as the guide says, except I've gone into the Xen menu and
turned off Priviledged host and turned off Host access drivers. And I built
Ext3 support into the kernel.

If I don't build Ext3 support in the kernel, it compiles fine but I can't
boot. If I try to compile it in, I get the following kernel image

I've install build-essential and libc6-dev. Features.h definitely exists in
/usr/include/ I'm using gcc-3.3 but I've also tried gcc-4.0. Obviously I'm
missing something obvious, any help would be appreciated.

Thanks muchly.

Joel

exec debian/rules  DEBIAN_REVISION=2.6.12.6-xen-smbfs-10.00.Custom
APPEND_TO_VERSION=.6-xen-smbfs  KPKG_ARCH=xen  kernel_image
In file included from include/linux/posix_types.h:47,
                 from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/asm/posix_types.h:13:22:
features.h: No such file or directory
/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include/asm/posix_types.h:14:35: no
include path in which to find asm/posix_types.h
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of
`__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage
class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of
`dev_t'
include/linux/types.h:21: warning: data definition has no type or storage
class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of
`ino_t'
include/linux/types.h:22: warning: data definition has no type or storage
class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of
`mode_t'
include/linux/types.h:23: warning: data definition has no type or storage
class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of
`nlink_t'
include/linux/types.h:24: warning: data definition has no type or storage
class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of
`off_t'
include/linux/types.h:25: warning: data definition has no type or storage
class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of
`pid_t'
include/linux/types.h:26: warning: data definition has no type or storage
class
include/linux/types.h:27: error: syntax error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration of
`daddr_t'
include/linux/types.h:27: warning: data definition has no type or storage
class
include/linux/types.h:29: error: syntax error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration of
`suseconds_t'
include/linux/types.h:29: warning: data definition has no type or storage
class
include/linux/types.h:30: error: syntax error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration of
`timer_t'
include/linux/types.h:30: warning: data definition has no type or storage
class
include/linux/types.h:31: error: syntax error before "clockid_t"
include/linux/types.h:31: warning: type defaults to `int' in declaration of
`clockid_t'
include/linux/types.h:31: warning: data definition has no type or storage
class
include/linux/types.h:35: error: syntax error before "uid_t"
include/linux/types.h:35: warning: type defaults to `int' in declaration of
`uid_t'
include/linux/types.h:35: warning: data definition has no type or storage
class
include/linux/types.h:36: error: syntax error before "gid_t"
include/linux/types.h:36: warning: type defaults to `int' in declaration of
`gid_t'
include/linux/types.h:36: warning: data definition has no type or storage
class
include/linux/types.h:37: error: syntax error before "uid16_t"


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

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