lkml.org 
[lkml]   [1996]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux-1.3.78
On Mon, 25 Mar 1996 13:32:50 Linus Torvalds <torvalds@cs.helsinki.fi> wrote:

>> /usr/src/linux/include/linux/posix_types.h:4: warning: `_GNU_TYPES_H'
>> redefined
>> /usr/include/gnu/types.h:21: warning: this is the location of the
>> previous defin
>
>Ok, it seems like I didn't succeed in overcoming the old gnu/types.h stuff,
>which the new kernel headers do not like.
>
>One way to handle this is to rename "/usr/include/gnu/types.h" to something
>else, and copy the new <linux/posix_types.h> there instead. Does it work for
>you after that?
>

This is a first step. You have also to delete these lines from
/usr/include/unistd.h:

#if defined(__USE_MISC) && defined(__GNUC__) && !defined(__STRICT_ANSI__)
/* This is for Linux. */
extern __loff_t __llseek __P ((int __fd, __loff_t __offset, int __whence));
extern __loff_t llseek __P ((int __fd, __loff_t __offset, int __whence));
#endif

or replace them with a test for kernel <1.3.78 ...

The kernel is happily compiling at this very moment, but who knows what will
happen to all applications...

Alberto



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