make
CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno
-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -
mpreferred-stack-boundary=2 -march=athlon " -C ipc
make[1]: Entering directory `/usr/src/linux/ipc'
make all_targets
make[2]: Entering directory `/usr/src/linux/ipc'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-tri
graphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpre
ferred-stack-boundary=2 -march=athlon -DKBUILD_BASENAME=shm -c -o shm.o
shm.c
shm.c: In function `sys_shmdt':
shm.c:682: too few arguments to function `do_munmap'
make[2]: *** [shm.o] Error 1
make[2]: Leaving directory `/usr/src/linux/ipc'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/ipc'
make: *** [_dir_ipc] Error 2
Sources were 2.4.19-pre3-ac2 plus lm-sensors patches and local ide-floppy
patches.