Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: David N <android.wm.edu@gmail.com>
Cc: fio@vger.kernel.org, aaronc@cse.unsw.edu.au
Subject: Re: problem FIO compiling for Android
Date: Mon, 11 Feb 2013 18:25:50 +0100	[thread overview]
Message-ID: <20130211172550.GU21269@kernel.dk> (raw)
In-Reply-To: <CACTzACUwtE+aoHy72dAvgcx8zby5DYwYZzhoJfOyTCj5ABCGgg@mail.gmail.com>

On Mon, Feb 11 2013, David N wrote:
> Hello Everyone,
> 
> I've been trying to compile FIO for Android but keep getting error
> bellow. Can anybody give me any guidance please?
> 
> I very much appreciate!
> 
> David
> 
> 
> david@david-HP-ubuntu:~/development/android/external/fio-2.0.13$ make
> UNAME=Android CROSS_COMPILE=$CCOMPILER
>     CC init.o
> init.c: In function ‘free_shm’:
> init.c:224:18: error: storage size of ‘sbuf’ isn’t known
> init.c:233:3: warning: implicit declaration of function ‘shmdt’
> [-Wimplicit-function-declaration]
> init.c:234:3: warning: implicit declaration of function ‘shmctl’
> [-Wimplicit-function-declaration]
> init.c:224:18: warning: unused variable ‘sbuf’ [-Wunused-variable]
> init.c: In function ‘setup_thread_area’:
> init.c:263:3: warning: implicit declaration of function ‘shmget’
> [-Wimplicit-function-declaration]
> init.c:277:2: warning: implicit declaration of function ‘shmat’
> [-Wimplicit-function-declaration]
> init.c:277:10: warning: assignment makes pointer from integer without
> a cast [enabled by default]
> make: *** [init.o] Error 1

Lets CC in Aaron, who added the port.

-- 
Jens Axboe


  reply	other threads:[~2013-02-11 17:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACTzACVkfEmHrCTJExxOpPqD7tZLMbmW7n3pJza-g87sZaaK1g@mail.gmail.com>
2013-02-11 16:13 ` problem FIO compiling for Android David N
2013-02-11 17:25   ` Jens Axboe [this message]
2013-02-12  1:53     ` Aaron Carroll
2013-02-12  5:39       ` David N
2013-02-12  5:58         ` Aaron Carroll
2013-02-12  6:20           ` David N
2013-02-12  6:27             ` Aaron Carroll
2013-02-12  6:34               ` David N
2013-02-12  6:43                 ` Aaron Carroll
2013-02-12  6:55                   ` David N
2013-02-13  1:12                     ` Aaron Carroll
2013-02-13  5:13                       ` David N
2013-02-12  8:57       ` 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=20130211172550.GU21269@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=aaronc@cse.unsw.edu.au \
    --cc=android.wm.edu@gmail.com \
    --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