Hmmm...okay. I guess we’ll replace that call for portability, then. Thx! > On Aug 22, 2016, at 9:23 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: > > I was using /usr/bin/gcc: > i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) > > A quick looks suggests that there is no strnlen() on this system. > It doesn't appear in any header below /usr/include/ > > FWIW: strnlen() first appears in IEEE Std 1003.1-2008 (aka POSIX.1-2008) and > so could be absent on any system claiming conformance to an earlier revision. > It was in glic prior to appearing in POSIX.1 and so might be on most any > Linux system regardless of age. > > -Paul > > On Mon, Aug 22, 2016 at 9:17 PM, r...@open-mpi.org <mailto:r...@open-mpi.org> > <r...@open-mpi.org <mailto:r...@open-mpi.org>> wrote: > Hey Paul > > I just checked on my Mac and had no problem. However, I’m at 10.11, and so > I’m wondering if the old 10.6 just doesn’t have strnlen on it? > > What compiler were you using? > >> On Aug 22, 2016, at 9:14 PM, r...@open-mpi.org <mailto:r...@open-mpi.org> >> wrote: >> >> Huh - I’ll take a look. Thanks! >> >>> On Aug 22, 2016, at 9:11 PM, Paul Hargrove <phhargr...@lbl.gov >>> <mailto:phhargr...@lbl.gov>> wrote: >>> >>> On a Mac OSX 10.6 system: >>> >>> $ mpirun -mca btl sm,self -np 2 examples/ring_c' >>> dyld: lazy symbol binding failed: Symbol not found: _strnlen >>> Referenced from: >>> /Users/paul/OMPI/openmpi-2.0.1rc1-macos10.6-x86-m32/INST/lib/openmpi/mca_pmix_pmix112.so >>> Expected in: flat namespace >>> >>> dyld: Symbol not found: _strnlen >>> Referenced from: >>> /Users/paul/OMPI/openmpi-2.0.1rc1-macos10.6-x86-m32/INST/lib/openmpi/mca_pmix_pmix112.so >>> Expected in: flat namespace >>> >>> Let me know what additional information is desired and to whom to send. >>> >>> -Paul >>> >>> >>> >>> -- >>> Paul H. Hargrove phhargr...@lbl.gov >>> <mailto:phhargr...@lbl.gov> >>> Computer Languages & Systems Software (CLaSS) Group >>> Computer Science Department Tel: +1-510-495-2352 >>> <tel:%2B1-510-495-2352> >>> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 >>> <tel:%2B1-510-486-6900>_______________________________________________ >>> devel mailing list >>> devel@lists.open-mpi.org <mailto:devel@lists.open-mpi.org> >>> https://rfd.newmexicoconsortium.org/mailman/listinfo/devel >>> <https://rfd.newmexicoconsortium.org/mailman/listinfo/devel> >> _______________________________________________ >> devel mailing list >> devel@lists.open-mpi.org <mailto:devel@lists.open-mpi.org> >> https://rfd.newmexicoconsortium.org/mailman/listinfo/devel >> <https://rfd.newmexicoconsortium.org/mailman/listinfo/devel> > > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org <mailto:devel@lists.open-mpi.org> > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel > <https://rfd.newmexicoconsortium.org/mailman/listinfo/devel> > > > > -- > Paul H. Hargrove phhargr...@lbl.gov > <mailto:phhargr...@lbl.gov> > Computer Languages & Systems Software (CLaSS) Group > Computer Science Department Tel: +1-510-495-2352 > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel