linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux kernel v2.4.30 bugreport
  2005-05-15 12:25 linux kernel v2.4.30 bugreport Maxim Berezovsky
@ 2005-05-15 12:25 ` Willy Tarreau
  0 siblings, 0 replies; 2+ messages in thread
From: Willy Tarreau @ 2005-05-15 12:25 UTC (permalink / raw)
  To: Maxim Berezovsky; +Cc: linux-kernel

On Sun, May 15, 2005 at 07:25:45PM +0700, Maxim Berezovsky wrote:
> [1] .c files containing "#include <linux/delay.h>" do not compiling with make
(...)
>  /lib/modules/2.4.30/build/include/linux/delay.h:57: error: parse error before 
> "do"

I suspect that your sources were corrupted (wrong patch, or something else),
because I don't have anything semblable in delay.h:57 :

57:static inline void msleep(unsigned long msecs)

And my system uses alsa-1.0.9-rc2 on top of 2.4.30 (modified though).

Regards,
Willy


^ permalink raw reply	[flat|nested] 2+ messages in thread

* linux kernel v2.4.30 bugreport
@ 2005-05-15 12:25 Maxim Berezovsky
  2005-05-15 12:25 ` Willy Tarreau
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Berezovsky @ 2005-05-15 12:25 UTC (permalink / raw)
  To: linux-kernel

[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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-15 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 12:25 linux kernel v2.4.30 bugreport Maxim Berezovsky
2005-05-15 12:25 ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).