I am seeing the following on NetBSD-7.2/amd64:

/bin/sh ../../../libtool  --tag=CC    --mode=link gcc -std=gnu99  -g
-finline-functions -fno-strict-aliasing -mcx16 -pthread    -o opal_wrapper
opal_wrapper.o ../../../opal/libopen-pal.la -lrt -lexecinfo -lm -lutil
libtool: link: gcc -std=gnu99 -g -finline-functions -fno-strict-aliasing
-mcx16 -pthread -o opal_wrapper opal_wrapper.o
 ../../../opal/.libs/libopen-pal.a -lpthread -lrt -lexecinfo -lm -lutil
-pthread
../../../opal/.libs/libopen-pal.a(compress.o): In function
`pmix_util_compress_string':
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:41:
undefined reference to `deflateInit_'
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:44:
undefined reference to `deflateBound'
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:57:
undefined reference to `deflate'
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:58:
undefined reference to `deflateEnd'
../../../opal/.libs/libopen-pal.a(compress.o): In function
`pmix_util_uncompress_string':
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:119:
undefined reference to `inflateInit_'
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:128:
undefined reference to `inflate'
/home/phargrov/OMPI/openmpi-3.0.0rc2-netbsd7-amd64-static/openmpi-3.0.0rc2/opal/mca/pmix/pmix2x/pmix/src/util/compress.c:129:
undefined reference to `inflateEnd'

It looks like configure found libz:
  checking for library containing deflate... -lz
and yet -lz doesn't appear in the link command.

-Paul

-- 
Paul H. Hargrove                          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://lists.open-mpi.org/mailman/listinfo/devel

Reply via email to