I am installing slackware 12.2.
When I compile the following, I get errors. Can someone help me understand what the errors mean? The errors occur in step 7 make modules
Quote:
root@devtower:/usr/src/linux# make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CC [M] drivers/md/md.o
drivers/md/md.c: In function 'read_file':
drivers/md/md.c:193: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:194: error: 'struct task_struct' has no member named 'fsgid'
drivers/md/md.c:195: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:195: error: 'struct task_struct' has no member named 'fsgid'
drivers/md/md.c:227: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:228: error: 'struct task_struct' has no member named 'fsgid'
drivers/md/md.c: In function 'write_file':
drivers/md/md.c:246: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:247: error: 'struct task_struct' has no member named 'fsgid'
drivers/md/md.c:248: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:248: error: 'struct task_struct' has no member named 'fsgid'
drivers/md/md.c:281: error: 'struct task_struct' has no member named 'fsuid'
drivers/md/md.c:282: error: 'struct task_struct' has no member named 'fsgid'
make[2]: *** [drivers/md/md.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
root@devtower:/usr/src/linux# drivers/md/md.c:193: error: 'struct task_struct' has no member named 'fsuid'
|
My steps:
mkdir unraid
mv unRAID* unraid
cd unraid
unzip unRAID*
mkdir bz-mod
cd bz-mod
zcat ../bzroot | cpio -i -d -H newc --no-absolute-filenames
cd /usr/src/unraid/bz-mod/usr/src/linux
cp -rf * /usr/src/linux/
cp -rf .config /usr/src/linux/
6. Prepare the kernel config. Code:
cd /usr/src/linux
make clean
make menuconfig
In the last step of #5, we had copied the stock unRAID kernel config to /usr/src/linux.
7. Compile the kernel: Code:
make bzImage
cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.29.1-unRAID
cp System.map /boot/System.map-2.6.29.1-unRAID
make modules This is where the errors start.
make modules_install