I compile kernel 022stab070.1 on custom config with # # File systems # CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT3_FS=m CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y CONFIG_JBD=m # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set CONFIG_REISERFS_PROC_INFO=y CONFIG_REISERFS_FS_XATTR=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y # CONFIG_JFS_FS is not set CONFIG_FS_POSIX_ACL=y # CONFIG_XFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_QUOTA=y CONFIG_QUOTA_COMPAT=y # CONFIG_QFMT_V1 is not set CONFIG_QFMT_V2=y CONFIG_SIM_FS=m CONFIG_VZ_QUOTA=m # CONFIG_VZ_QUOTA_UNLOAD is not set CONFIG_VZ_QUOTA_UGID=y CONFIG_QUOTACTL=y # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set and in compile proccess get this: CC fs/ext2/ialloc.o CC fs/ext2/inode.o CC fs/ext2/ioctl.o CC fs/ext2/namei.o CC fs/ext2/super.o fs/ext2/super.c: In function `ext2_error': fs/ext2/super.c:56: warning: implicit declaration of function `vprintk' CC [M] fs/ext3/inode.o CC [M] fs/ext3/ioctl.o CC [M] fs/ext3/namei.o CC [M] fs/ext3/super.o fs/ext3/super.c: In function `ext3_error': fs/ext3/super.c:174: warning: implicit declaration of function `vprintk' CC [M] fs/ext3/symlink.o CC [M] fs/ext3/hash.o Building modules, stage 2. MODPOST *** Warning: "vprintk" [fs/ext3/ext3.ko] undefined! CC arch/i386/crypto/aes-i586.mod.o LD [M] arch/i386/crypto/aes-i586.ko Is it ok?
Re: Complie kernel 022stab070.1 warnings.
You have 2 options: 1. change CONFIG_EXT3_FS=m CONFIG_JBG=m to CONFIG_EXT3_FS=y CONFIG_JBG=y or 2. apply the following patch: --- ./include/linux/kernel.h.ext3 2006-02-22 16:28:44.000000000 +0300 +++ ./include/linux/kernel.h 2006-02-23 19:40:08.000000000 +0300 @@ -97,6 +97,8 @@ extern int __kernel_text_address(unsigne extern int kernel_text_address(unsigned long addr); extern int session_of_pgrp(int pgrp); +asmlinkage int vprintk(const char *fmt, va_list args) + __attribute__ ((format (printf, 1, 0))); asmlinkage int printk(const char * fmt, ...) __attribute__ ((format (printf, 1, 2))); --- ./kernel/printk.c.ext3 2006-02-22 16:28:45.000000000 +0300 +++ ./kernel/printk.c 2006-02-23 19:38:59.000000000 +0300 @@ -656,6 +656,8 @@ out: return printed_len; } +EXPORT_SYMBOL(vprintk); + asmlinkage int printk(const char *fmt, ...) { va_list args; will be fixed in 071, thanks
Thank you.