> S_IMMUTABLE changed to S_IMMUTABLE_FILE, you either add it to include > ( set S_IMMUTABLE to the same value as S_IMMUTABLE_FILE ), or change all > occurances of S_IMMUTABLE to S_IMMUTABLE_FILE. > I'm running such kernel succesfully,
i've changed all occurances of S_IMMUTABLE to S_IMMUTABLE_FILE, and now it compiles "nearly" fine..... these are the warnings i get: <snip> make[4]: Entering directory `/usr/src/linux-2.4.22/fs/xfs/linux' xfs_ioctl.c: In function `xfs_open_by_handle': xfs_ioctl.c:343: warning: implicit declaration of function `IS_IMMUTABLE' xfs_iops.c: In function `linvfs_setxattr': xfs_iops.c:635: warning: implicit declaration of function `IS_IMMUTABLE' make[4]: Entering directory `/usr/src/linux-2.4.22/fs/xfs' xfs_inode.c: In function `xfs_iaccess': xfs_inode.c:3698: warning: implicit declaration of function `IS_IMMUTABLE' make[2]: Entering directory `/usr/src/linux-2.4.22/fs' open.c: In function `sys_utime': open.c:278: warning: implicit declaration of function `IS_IMMUTABLE' </snip> and here are some errors: <snip> ake[1]: Entering directory `/usr/src/linux-2.4.22/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.4.22/arch/i386/lib' gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.22/include -c checksum.S -o checksum.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=old_checksum -c -o old-checksum.o old-checksum.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=delay -c -o delay.o delay.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=usercopy -c -o usercopy.o usercopy.c gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.22/include -c getuser.S -o getuser.o gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=memcpy -c -o memcpy.o memcpy.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c rm -f lib.a ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o make[2]: Leaving directory `/usr/src/linux-2.4.22/arch/i386/lib' make[1]: Leaving directory `/usr/src/linux-2.4.22/arch/i386/lib' make[1]: Entering directory `/usr/src/linux-2.4.22' ld -m elf_i386 -T /usr/src/linux-2.4.22/arch/i386/vmlinux.lds -e stext arch/ i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/acpi/acpi.o drivers/char/ char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/ char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/ scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o drivers/input/inputdrv.o drivers/ i2c/i2c.o crypto/crypto.o net/network.o /usr/src/linux-2.4.22/arch/i386/lib/ lib.a /usr/src/linux-2.4.22/lib/lib.a /usr/src/linux-2.4.22/arch/i386/lib/ lib.a --end-group -o vmlinux fs/fs.o(.text+0x39d): In function `sys_utime': : undefined reference to `IS_IMMUTABLE' fs/fs.o(.text+0x3f7): In function `sys_utime': : undefined reference to `IS_IMMUTABLE' fs/fs.o(.text+0x4bf): In function `sys_utimes': : undefined reference to `IS_IMMUTABLE' fs/fs.o(.text+0x521): In function `sys_utimes': : undefined reference to `IS_IMMUTABLE' fs/fs.o(.text+0xb9de1): In function `xfs_iaccess': : undefined reference to `IS_IMMUTABLE' fs/fs.o(.text+0xe082f): more undefined references to `IS_IMMUTABLE' follow make[1]: *** [kallsyms] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.22' make: *** [vmlinux] Error 2 </snip> -- regards, Georges Toth _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver