All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Berezovsky <berry@zarub.org>
To: linux-kernel@vger.kernel.org
Subject: linux kernel v2.4.30 bugreport
Date: Sun, 15 May 2005 19:25:45 +0700	[thread overview]
Message-ID: <200505151925.45767.berry@zarub.org> (raw)

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

             reply	other threads:[~2005-05-15 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-15 12:25 Maxim Berezovsky [this message]
2005-05-15 12:25 ` linux kernel v2.4.30 bugreport Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200505151925.45767.berry@zarub.org \
    --to=berry@zarub.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.