lkml.org 
[lkml]   [2001]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.2.20-pre4
        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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.034 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site