linux kernel v2.4.30 bugreport

From: Maxim Berezovsky
Date: Sun May 15 2005 - 07:27:27 EST


[1] .c files containing "#include <linux/delay.h>" do not compiling with make

[2] when I try to compile packages from sources, any file that contains
"#include <linux/delay.h> does not compile with make.
make outputs an error just like this:
gcc -D__KERNEL__ -DMODULE=1 -I/home/maxim/download/alsa-driver-1.0.4/include
-I/lib/modules/2.4.30/build/include -O2 -mpreferred-stack-boundary=2
-march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=cmipci
-c -o cmipci.o cmipci.c
In file included from ../alsa-kernel/pci/cmipci.c:29,
from cmipci.c:1:
/lib/modules/2.4.30/build/include/linux/delay.h:57: error: parse error before
"do"
/lib/modules/2.4.30/build/include/linux/delay.h:57: error: parse error before
'(' token
/lib/modules/2.4.30/build/include/linux/delay.h:60: error: parse error before
'(' token

cmipci.c 29 line is:
#include <linux/delay.h>

[3] bash-2.05b$ cat /proc/version
Linux version 2.4.30 (root@diesel) (gcc version 3.3.4) #2 SMP

--
Maxim "berry" Berezovsky.
-------------------------
vox emissa volat, litera scripta manet.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/