Nigel Horne wrote: > I suddenly remembered I'd forgotten to do a "make clean" after my last > checkout (oops). > > So I did that, and got this compilation error: > > ... > In file included from /home/njh/src/qemu/linux-user/syscall.c:4040: > /home/njh/src/qemu/linux-user/syscall.c: In function `do_syscall': > /usr/include/bits/unistd.h:62: sorry, unimplemented: inlining failed in > call to 'pread': recursive inlining > /home/njh/src/qemu/linux-user/syscall.c:63: sorry, unimplemented: called > from here > make[1]: *** [syscall.o] Error 1 > make[1]: Leaving directory `/home/njh/src/qemu/i386-linux-user' > make: *** [subdir-i386-linux-user] Error 2 > > This is because both unistd.h and linux/unistd.h are included. Remove > unistd.h from line 27 and that compiles OK.
I don't see this on my systems. It looks like broken kernel headers. What host (OS version) do you use? Thiemo