Messages in this thread | | | From | a.vignani@crf ... | Date | Mon, 25 Mar 1996 14:15:00 +0100 | Subject | Re: 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
| |