Aurelien, I guess you should also have
noinst_LTLIBRARIES += libmpiext_blabla_usempi.la in your Makefile.am is your extension available somewhere in github so we can have a look ? Cheers, Gilles On Wednesday, February 24, 2016, Aurélien Bouteiller <boute...@icl.utk.edu> wrote: > I am making an MPI extension in latest master. I have a problem with the > use-mpi part of the extension: > > Makefile.am contains the following > 13 headers = \ > 14 >...mpiext_blabla_usempi.h > 15 > 16 noinst_HEADERS = \ > 17 $(headers) > > For some reason, the build system tries to compile a .a for the usempi > extension. My understanding is that it should use the same bindings as the > mpifh.a extension (which builds successfully). > > make[1]: Leaving directory > `/home/bouteill/ompi/debug.build/ompi/mpi/fortran/mpif-h' > Making install in mpi/fortran/use-mpi-ignore-tkr > make[1]: Entering directory > `/home/bouteill/ompi/debug.build/ompi/mpi/fortran/use-mpi-ignore-tkr' > FCLD libmpi_usempi_ignore_tkr.la > libtool: link: cannot find the library > `../../../../ompi/mpiext/blabla/use-mpi/libmpiext_blabla_usempi.la' or > unhandled argument `../../../../ompi/mpiext/blabla/use-mpi/ > libmpiext_blabla_usempi.la' > make[1]: *** [libmpi_usempi_ignore_tkr.la] Error 1 > > > -- > Aurélien Bouteiller, Ph.D. ~~ https://icl.cs.utk.edu/~bouteill/ > >