OpenVZ Forum


Home » General » Support » Complie kernel 022stab070.1 warnings.
Complie kernel 022stab070.1 warnings. [message #1771] Thu, 23 February 2006 13:12 Go to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
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?

[Updated on: Thu, 23 February 2006 13:14]

Report message to a moderator

Re: Complie kernel 022stab070.1 warnings. [message #1780 is a reply to message #1771] Thu, 23 February 2006 16:38 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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 Cool


http://static.openvz.org/userbars/openvz-developer.png
Re: Complie kernel 022stab070.1 warnings. [message #1781 is a reply to message #1771] Thu, 23 February 2006 17:21 Go to previous message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Thank you. Smile
Previous Topic: rhel4.2 vps sshd daemon problem
Next Topic: support for bridging?
Goto Forum:
  


Current Time: Sun Aug 11 18:36:47 GMT 2024

Total time taken to generate the page: 0.02886 seconds