From: Jens Axboe <axboe@kernel.dk>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: Aaron Carroll <aaronc@cse.unsw.edu.au>, fio@vger.kernel.org
Subject: Re: FIO 2.0.14 - getting a compile error on opensuse
Date: Fri, 29 Mar 2013 07:40:01 -0600 [thread overview]
Message-ID: <20130329134001.GH19488@kernel.dk> (raw)
In-Reply-To: <CAGpXXZKk_3HEFufkQV0U66Mp=Xm7dFcMWKPbSSJA1nC6C+DWrQ@mail.gmail.com>
On Thu, Mar 28 2013, Greg Freemyer wrote:
> Jens,
>
> It didn't apply? There was one missing line in Makefile and hunk
> offsets in configure.
>
> Did you diff to fio-2.0.14?
>
> I got my copy via: wget http://brick.kernel.dk/snaps/fio-2.0.14.tar.bz2
No, I always diff against the git tree.
> My workspace is at
> https://build.opensuse.org/package/show?package=fio&project=home%3Agregfreemyer%3Abranches%3Abenchmark
>
> I fixed the patch and you can see it in the workspace. I assume I did
> what you wanted it, but it fails the same basic way:
>
> ===
> [ 6s] gcc -o gettime.o -std=gnu99 -Wwrite-strings -Wall
> -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables -fasynchronous-unwind-tables
> -DBITS_PER_LONG=32 -DFIO_VERSION='"fio-2.0.14"' -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG -c
> gettime.c
> [ 6s] In file included from os/os.h:28:0,
> [ 6s] from fio.h:24,
> [ 6s] from gettime.c:10:
> [ 6s] os/os-linux.h: In function 'fio_cpuset_init':
> [ 6s] os/os-linux.h:67:2: warning: implicit declaration of function
> 'CPU_ZERO' [-Wimplicit-function-declaration]
> [ 6s] In file included from os/os.h:60:0,
> [ 6s] from fio.h:24,
> [ 6s] from gettime.c:10:
> [ 6s] os/../lib/strsep.h: At top level:
> [ 6s] os/../lib/strsep.h:4:7: error: expected identifier or '('
> before '__extension__'
> [ 6s] os/../lib/strsep.h:4:7: error: expected identifier or '('
> before ')' token
> [ 6s] In file included from fio.h:32:0,
> [ 6s] from gettime.c:10:
> [ 6s] helpers.h:11:36: error: unknown type name 'off64_t'
> [ 6s] helpers.h:11:52: error: unknown type name 'off64_t'
> [ 6s] make: *** [gettime.o] Error 1
> ===
So the same issue. I have no idea what is happening in your build
environment. How are you invoking make? There must be some arguments,
since it's doing a verbose build.
--
Jens Axboe
next prev parent reply other threads:[~2013-03-29 13:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 18:44 FIO 2.0.14 - getting a compile error on opensuse Greg Freemyer
2013-03-26 21:15 ` Jens Axboe
2013-03-26 22:00 ` Greg Freemyer
2013-03-27 3:57 ` Aaron Carroll
2013-03-28 21:21 ` Jens Axboe
2013-03-28 23:35 ` Greg Freemyer
2013-03-29 13:40 ` Jens Axboe [this message]
2013-03-29 14:14 ` Greg Freemyer
2013-03-29 14:54 ` Jens Axboe
2013-03-29 15:31 ` Greg Freemyer
2013-03-29 15:44 ` 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=20130329134001.GH19488@kernel.dk \
--to=axboe@kernel.dk \
--cc=aaronc@cse.unsw.edu.au \
--cc=fio@vger.kernel.org \
--cc=greg.freemyer@gmail.com \
/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