see http://permalink.gmane.org/gmane.comp.clustering.open-mpi.user/20404,
patch obtained via https://svn.open-mpi.org/trac/ompi/changeset/29762
Index: /branches/v1.7/ompi/mca/pml/ob1/Makefile.am
===================================================================
--- /branches/v1.7/ompi/mca/pml/ob1/Makefile.am (revision 29624)
+++ /branches/v1.7/ompi/mca/pml/ob1/Makefile.am (revision 29762)
@@ -68,4 +68,9 @@
 mca_pml_ob1_la_LDFLAGS = -module -avoid-version
 
+if OPAL_cuda_support
+mca_pml_ob1_la_LIBADD = \
+    $(top_ompi_builddir)/ompi/mca/common/cuda/libmca_common_cuda.la
+endif
+
 noinst_LTLIBRARIES = $(component_noinst)
 libmca_pml_ob1_la_SOURCES = $(ob1_sources)
