* [Ocfs2-devel] ocfs2-test project compile error
@ 2015-11-09 11:32 Darwin
2015-11-10 2:07 ` Gang He
[not found] ` <5641C1C7020000F90001DB42@suse.com>
0 siblings, 2 replies; 4+ messages in thread
From: Darwin @ 2015-11-09 11:32 UTC (permalink / raw)
To: ocfs2-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread* [Ocfs2-devel] ocfs2-test project compile error 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> 1 sibling, 0 replies; 4+ messages in thread From: Gang He @ 2015-11-10 2:07 UTC (permalink / raw) To: ocfs2-devel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5641C1C7020000F90001DB42@suse.com>]
* [Ocfs2-devel] ocfs2-test project compile error [not found] ` <5641C1C7020000F90001DB42@suse.com> @ 2015-11-10 2:32 ` Eric Ren 2015-11-10 2:48 ` Darwin 0 siblings, 1 reply; 4+ messages in thread From: Eric Ren @ 2015-11-10 2:32 UTC (permalink / raw) To: ocfs2-devel 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Ocfs2-devel] ocfs2-test project compile error 2015-11-10 2:32 ` Eric Ren @ 2015-11-10 2:48 ` Darwin 0 siblings, 0 replies; 4+ messages in thread From: Darwin @ 2015-11-10 2:48 UTC (permalink / raw) To: ocfs2-devel Hi all, Terribly sorry, I made a stupid mistake! I downloaded from the wrong repo: git remote -v show origin git://oss.oracle.com/git/ocfs2-test.git (fetch) origin git://oss.oracle.com/git/ocfs2-test.git (push) Now, everything is OK, with the correct repo: git remote -v show origin https://github.com/markfasheh/ocfs2-test (fetch) origin https://github.com/markfasheh/ocfs2-test (push) Thank, Darwin On Tue, Nov 10, 2015 at 10:32 AM, Eric Ren <zren@suse.com> wrote: > 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 > > -- Thanks, Darwin ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-10 2:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-11-10 2:48 ` Darwin
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.