README: add hint on missing libaio-devel package
authorJens Axboe <jens.axboe@oracle.com>
Fri, 11 Apr 2008 07:16:59 +0000 (09:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 11 Apr 2008 07:16:59 +0000 (09:16 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
README

diff --git a/README b/README
index db8e6724ee7745d2c81f5ae2793ad6ebdd0f8d41..ea8f5ef8e22c47462abafae9faf53e03509bc24f 100644 (file)
--- a/README
+++ b/README
@@ -57,6 +57,19 @@ $ make -f Makefile.Freebsd && make -f Makefile.FreeBSD install
 Likewise with OpenSolaris, use the Makefile.solaris to compile there.
 This might change in the future if I opt for an autoconf type setup.
 
+If your compile fails with an error like this:
+
+    CC gettime.o
+In file included from fio.h:23,
+                 from gettime.c:8:
+os/os.h:15:20: error: libaio.h: No such file or directory
+In file included from gettime.c:8:
+fio.h:119: error: field 'iocb' has incomplete type
+make: *** [gettime.o] Error 1
+
+Check that you have the libaio development package installed. On RPM
+based distros, it's typically called libaio-devel.
+
 
 Command line
 ------------