Re: compilation problems on OpenSolaris/x86

From: Jens Axboe <jens.axboe_at_oracle.com>
Date: Fri, 30 May 2008 15:02:58 +0200

On Tue, May 27 2008, Jens Axboe wrote:
> On Wed, May 21 2008, nepenou_at_gmail.com wrote:
> > 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'
>
> I'll try and install an opensolaris in kvm and get this fixed.

Can you try:

http://brick.kernel.dk/snaps/fio-git-latest.tar.gz

and see if it works?

-- 
Jens Axboe
Received on Fri May 30 2008 - 15:02:58 CEST

This archive was generated by hypermail 2.2.0 : Fri May 30 2008 - 15:30:01 CEST