compilation problems on OpenSolaris/x86

From: <nepenou_at_gmail.com>
Date: Wed, 21 May 2008 18:19:47 +0300

Hello,

I am trying to compile fio on OpenSolaris/x86 and getting the following errors.
What am I doing wrong? Please help!

Thanks,
-- nepenou

# make -f Makefile.solaris
In file included from blktrace.c:11:
blktrace_api.h:4:23: asm/types.h: No such file or directory
diskutil.c:78:26: macro "update_io_ticks" passed 1 arguments, but takes just 0
diskutil.c:320:30: macro "disk_util_timer_arm" passed 1 arguments, but
takes just 0
diskutil.c:327:25: macro "show_disk_util" passed 1 arguments, but takes just 0
In file included from fio.c:38:
hash.h:23:2: #error Define GOLDEN_RATIO_PRIME for your wordsize.
In file included from gettime.c:10:
hash.h:23:2: #error Define GOLDEN_RATIO_PRIME for your wordsize.
engines/syslet-rw.c:14:24: asm/unistd.h: No such file or directory
*** Error code 1
The following command caused the error:
gcc -MM *.c engines/*.c 1> .depend
make: Fatal error: Command failed for target `depend'
Received on Wed May 21 2008 - 17:19:47 CEST

This archive was generated by hypermail 2.2.0 : Wed May 21 2008 - 17:30:01 CEST