lkml.org 
[lkml]   [1996]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux-1.3.78
Date
> 
>
> In article <ML-2.2.827753570.1942.torvalds@linux.cs.helsinki.fi>,
> 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?
>
> Unfortunately, no. This doesn't exactly fix the problem:
>
> In file included from configure.c:36:
> /usr/include/unistd.h:136: parse error before `__llseek'
> /usr/include/unistd.h:136: parse error before `__loff_t'
> /usr/include/unistd.h:136: warning: data definition has no type or storage class
> /usr/include/unistd.h:137: parse error before `llseek'
> /usr/include/unistd.h:137: parse error before `__loff_t'
> /usr/include/unistd.h:137: warning: data definition has no type or storage class

A quick (and ugly) fix would be to put the following lines in
/usr/include/gnu/types.h: (it works atleast)

#ifndef _LINUX_TYPES_H
#include <linux/types.h>
#endif

Harald


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