Messages in this thread | | | From | Harald Evensen <> | Subject | Re: Linux-1.3.78 | Date | Mon, 25 Mar 1996 18:12:08 +0100 (MET) |
| |
> > > 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
| |