Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Tom <4711@gnurz.de>
Cc: fio@vger.kernel.org
Subject: Re: Fio on solaris
Date: Mon, 23 Nov 2009 13:59:12 +0100	[thread overview]
Message-ID: <20091123125912.GZ8742@kernel.dk> (raw)
In-Reply-To: <13958.194.113.141.20.1258980688.squirrel@webmail.s-itc.de>

On Mon, Nov 23 2009, Tom wrote:
> sorry to say that, but it won't run:
> 
> > gmake -f Makefile.solaris
> gcc -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DFIO_INC_DEBUG -o fio gettime.o fio.o ioengines.o init.o stat.o log.o
> time.o filesetup.o eta.o verify.o memory.o io_u.o parse.o mutex.o
> options.o rbtree.o fifo.o smalloc.o filehash.o lib/strsep.o crc/crc7.o
> crc/crc16.o crc/crc32.o crc/crc32c.o crc/crc32c-intel.o crc/crc64.o
> crc/sha1.o crc/sha256.o crc/sha512.o crc/md5.o engines/cpu.o
> engines/mmap.o engines/posixaio.o engines/sync.o engines/null.o
> engines/net.o engines/solarisaio.o  -lpthread -lm -ldl -laio -lrt -lnsl
> -lsocket
> Undefined                       first referenced
>  symbol                             in file
> posix_fallocate                     filesetup.o
> posix_memalign                      fio.o
> ld: fatal: Symbol referencing errors. No output written to fio
> collect2: ld returned 1 exit status
> gmake: *** [fio] Error 1
> 
> 
> What I have here:
> > uname -a
> SunOS servername 5.10 Generic_141415-07 i86pc i386 i86pc

So apparently that version doesn't have posix_fallocate or
posix_memalign, that's a bit odd. What I tested on:

$ uname -a
SunOS unknown 5.11 snv_117 sun4v sparc sun4v

It builds and links fine for me. If you have the time, can you double
check if it's hiding on your system in some other lib that isn't linked
in? I take it you don't get any compile warnings on missing
declarations, it's just the linker error?

-- 
Jens Axboe


  reply	other threads:[~2009-11-23 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19  9:39 Fio on solaris Tom
2009-11-19 20:14 ` Jens Axboe
2009-11-23 12:03   ` Jens Axboe
2009-11-23 12:13     ` Tom
2009-11-23 12:14       ` Jens Axboe
2009-11-23 12:51         ` Tom
2009-11-23 12:59           ` Jens Axboe [this message]
2009-11-23 13:21             ` Tom
2009-11-23 14:19               ` Jens Axboe
2009-11-23 15:50                 ` Tom
2009-11-23 16:24                   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091123125912.GZ8742@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=4711@gnurz.de \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox