All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Ren <zren@suse.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] ocfs2-test project compile error
Date: Tue, 10 Nov 2015 10:32:12 +0800	[thread overview]
Message-ID: <5641572C.70502@suse.com> (raw)
In-Reply-To: <5641C1C7020000F90001DB42@suse.com>

Hi,

I remembered it's solved by the installation of libaio-devel and libaio 
that darwin has installed.
And according to this manual doc 
http://man7.org/linux/man-pages/man2/io_submit.2.html , it also
tell "io_submit" is provided by libaio.  That's what I can think of for 
now, sorry.

Thanks,
Eric

On 11/10/15 10:07, Gang He wrote:
> Hello Zhen,
>
> I remember that you ever experienced the similar problem, could you share how to address this problem?
>
> Thanks
> Gang
>
>
>> Hi list,
>>
>> I failed to compile ocfs2 test project today after executing make as follow:
>> ...
>> make -C inline-data
>> make[2]: Entering directory '/home/ocfs2test/ocfs2-test/programs/inline-data'
>> gcc -O2 -Wall -g  -o inline-data inline-data.o inline-data-utils.o -locfs2
>> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libocfs2.a(unix_io.o):
>> In function `unix_vec_read_blocks':
>> /home/abuild/rpmbuild/BUILD/ocfs2-tools-1.8.2+git.1361836695.ff84eb5/libocfs2/
>> unix_io.c:177:
>> undefined reference to `io_queue_release'
>> /home/abuild/rpmbuild/BUILD/ocfs2-tools-1.8.2+git.1361836695.ff84eb5/libocfs2/
>> unix_io.c:142:
>> undefined reference to `io_queue_init'
>> /home/abuild/rpmbuild/BUILD/ocfs2-tools-1.8.2+git.1361836695.ff84eb5/libocfs2/
>> unix_io.c:161:
>> undefined reference to `io_getevents'
>> /home/abuild/rpmbuild/BUILD/ocfs2-tools-1.8.2+git.1361836695.ff84eb5/libocfs2/
>> unix_io.c:154:
>> undefined reference to `io_submit'
>> collect2: error: ld returned 1 exit status
>> Makefile:21: recipe for target 'inline-data' failed
>> make[2]: *** [inline-data] Error 1
>> make[2]: Leaving directory '/home/ocfs2test/ocfs2-test/programs/inline-data'
>> ../Postamble.make:54: recipe for target 'inline-data' failed
>> make[1]: *** [inline-data] Error 2
>> make[1]: Leaving directory '/home/ocfs2test/ocfs2-test/programs'
>> Postamble.make:54: recipe for target 'programs' failed
>> make: *** [programs] Error 2
>> ...
>>
>> According to https://github.com/markfasheh/ocfs2-test/README
>> instructions but on sles12 sp1, I've installed this packages:
>> i | libaio-devel  | Development Files for Linux-native Asynchronous
>> I/O Access | package
>> i | libaio1       | Linux-Native Asynchronous I/O Access Library
>>          | package
>> i | glibc               | Standard Shared Libraries (from the GNU C
>> Library)    | package
>> i | glibc-32bit         | Standard Shared Libraries (from the GNU C
>> Library)    | package
>> i | glibc-devel         | Include Files and Libraries Mandatory for
>> Development | package
>> i | glibc-devel-static  | C library static libraries for -static
>> linking        | package
>> i | e2fsprogs-devel | Dummy development package | package
>> i | openmpi              | A powerful implementaion of MPI      | package
>> i | openmpi-devel        | SDK for openMPI                      | package
>> i | openmpi-devel-static | Static openMPI libraries             | package
>> i | openmpi-libs         | OpenMPI runtime libraries            | package
>> and so on...
>>
>> Any other packages needed?.
>>
>> -- 
>> Thanks,
>> Darwin
>>
>> _______________________________________________
>> Ocfs2-devel mailing list
>> Ocfs2-devel at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-devel

  parent reply	other threads:[~2015-11-10  2:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09 11:32 [Ocfs2-devel] ocfs2-test project compile error Darwin
2015-11-10  2:07 ` Gang He
     [not found] ` <5641C1C7020000F90001DB42@suse.com>
2015-11-10  2:32   ` Eric Ren [this message]
2015-11-10  2:48     ` Darwin

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=5641572C.70502@suse.com \
    --to=zren@suse.com \
    --cc=ocfs2-devel@oss.oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.