2.5.41-mm3
Compile failure:
gcc -Wp,-MD,fs/smbfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DSMBFS_PARANOIA
-DKBUILD_BASENAME=inode -c -o fs/smbfs/inode.o fs/smbfs/inode.cfs/smbfs/inode.c: In function `smb_show_options':fs/smbfs/inode.c:436: `CONFIG_NLS_DEFAULT' undeclared (first use in this function)fs/smbfs/inode.c:436: (Each undeclared identifier is reported only once fs/smbfs/inode.c:436: for each function it appears in.) fs/smbfs/inode.c: In function `smb_fill_super':fs/smbfs/inode.c:536: `CONFIG_NLS_DEFAULT' undeclared (first use in this function)
Hi,
Quoted 7 lines
Compile failure:
gcc -Wp,-MD,fs/smbfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DSMBFS_PARANOIA -DKBUILD_BASENAME=inode -c -o fs/smbfs/inode.o fs/smbfs/inode.c
Quoted 8 lines
fs/smbfs/inode.c: In function `smb_show_options':fs/smbfs/inode.c:436: `CONFIG_NLS_DEFAULT' undeclared (first use in this function)fs/smbfs/inode.c:436: (Each undeclared identifier is reported only oncefs/smbfs/inode.c:436: for each function it appears in.)fs/smbfs/inode.c: In function `smb_fill_super':fs/smbfs/inode.c:536: `CONFIG_NLS_DEFAULT' undeclared (first use in this function)
There is a space missing in fs/nls/Config.in:
===== fs/nls/Config.in 1.7 vs edited =====
fs/nls/Config.in +1 -1
@@ -12,7 +12,7 @@ # msdos and Joliet want NLS if [ "$CONFIG_JOLIET" = "y" -o "$CONFIG_FAT_FS" != "n" \ -o "$CONFIG_NTFS_FS" != "n" -o "$CONFIG_NCPFS_NLS" = "y" \ - -o "$CONFIG_SMB_NLS" = "y" -o "$CONFIG_JFS_FS" != "n" -o "$CONFIG_CIFS" != "n"]; then + -o "$CONFIG_SMB_NLS" = "y" -o "$CONFIG_JFS_FS" != "n" -o "$CONFIG_CIFS" != "n" ]; then define_bool CONFIG_NLS y else define_bool CONFIG_NLS n