public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jochen Striepe <jochen@tolot.escape.de>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.2.20-pre4
Date: Tue, 19 Jun 2001 18:26:35 +0200	[thread overview]
Message-ID: <20010619182635.A24252@tolot.escape.de> (raw)
In-Reply-To: <20010619172219.A18744@tolot.escape.de> <E15CNM0-00067q-00@the-village.bc.nu>
In-Reply-To: <E15CNM0-00067q-00@the-village.bc.nu>

        Hi,

On 19 Jun 2001, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> 
> > sched.c:52: conflicting types for `xtime'
> > /usr/src/linux/include/linux/sched.h:509: previous declaration of `xtime'
> 
> Stick a volatile in the declaration. Thats a real bug it found

Um...

I made it

extern volatile struct timeval xtime;

Now it stops with

/usr/src/linux/include/linux/sched.h: At top level:
/usr/src/linux/include/linux/sched.h:509: warning: useless keyword or
type name in empty declaration
In file included from /usr/src/linux/include/linux/blkdev.h:6,
                 from ksyms.c:15:
/usr/src/linux/include/linux/genhd.h: In function `ptype':
/usr/src/linux/include/linux/genhd.h:83: warning: deprecated use of
label at end of compound statement
ksyms.c: At top level:
ksyms.c:352: `xtime' undeclared here (not in a function)
ksyms.c:352: initializer element is not constant
ksyms.c:352: (near initialization for `__ksymtab_xtime.value')
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.20pre4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.20pre4/kernel'
make: *** [_dir_kernel] Error 2


So long,

Jochen.

-- 
The number of UNIX installations has grown to 10, with more expected.
                     - Dennis Ritchie and Ken Thompson, June 1972

  reply	other threads:[~2001-06-19 16:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19 14:29 Linux 2.2.20-pre4 Alan Cox
2001-06-19 15:22 ` Jochen Striepe
2001-06-19 15:23   ` Alan Cox
2001-06-19 16:26     ` Jochen Striepe [this message]
2001-06-19 16:42       ` Jochen Striepe
2001-06-19 20:03 ` Tomasz Kłoczko
2001-06-19 20:22   ` Alan Cox
2001-06-19 21:48     ` Jeff Garzik
2001-06-19 21:57       ` Alan Cox
2001-06-19 22:16         ` Jeff Garzik
2001-06-19 22:03       ` Philip Blundell
2001-06-19 22:18         ` Jeff Garzik
2001-06-20 21:23     ` Eric Lammerts
2001-06-21  8:43       ` Luigi Genoni

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=20010619182635.A24252@tolot.escape.de \
    --to=jochen@tolot.escape.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox