compilation problems on solaris/sparc

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

Hello,

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

Thanks,
-- nepenou

 # make -f Makefile.solaris
In file included from fio.h:22,
                 from blktrace.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from blktrace.c:11:
blktrace_api.h:4:23: asm/types.h: No such file or directory
In file included from fio.h:22,
                 from diskutil.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
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.h:22,
                 from eta.c:8:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from filehash.c:4:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from filesetup.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from fio.c:37:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.c:38:
hash.h:23:2: #error Define GOLDEN_RATIO_PRIME for your wordsize.
In file included from fio.h:22,
                 from gettime.c:8:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from gettime.c:10:
hash.h:23:2: #error Define GOLDEN_RATIO_PRIME for your wordsize.
In file included from fio.h:22,
                 from init.c:17:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from io_u.c:8:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from ioengines.c:19:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from log.c:9:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from memory.c:8:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from mutex.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from options.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from stat.c:10:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from time.c:4:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from fio.h:22,
                 from verify.c:9:
arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/cpu.c:8:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/guasi.c:22:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/libaio.c:13:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/mmap.c:15:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/net.c:17:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/null.c:14:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/posixaio.c:13:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/sg.c:14:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/skeleton_external.c:15:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/splice.c:16:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
In file included from engines/../fio.h:22,
                 from engines/sync.c:14:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
engines/syslet-rw.c:14:24: asm/unistd.h: No such file or directory
In file included from engines/../fio.h:22,
                 from engines/syslet-rw.c:16:
engines/../arch/arch.h:37:2: #error "Unsupported arch"
*** 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:17:59 CEST

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