build of the master branch is failing with "cannot find -lpfm"

Issue #84 resolved
Mher Kazandjian created an issue

the master branch build is failing at the commit 1f48bb789bb as of the time of creating this issue

The steps to reproduce the error are:

1- clone repo
2- checkout maser or the mentioned commit
3- ./configure && make
4- the output below is displayed (note the error at the end). This error occurred on my main OS (running arch) and in a vanilla ubuntu-18.04 container.

ar: creating libtestlib.a
a - test_utils.o
a - ftests_util.o
make[1]: Leaving directory '/home/mher/progs/install/papi/papi/src/testlib'
rm -f libpapi.a
ar  rv libpapi.a  x86_cpuid_info.o papi_libpfm4_events.o papi.o papi_internal.o papi_hl.o extras.o sw_multiplex.o papi_fwrappers.o papi_fwrappers_.o papi_fwrappers__.o upper_PAPI_
FWRAPPERS.o threads.o cpus.o linux-memory.o linux-timer.o linux-common.o  papi_preset.o papi_vector.o papi_memory.o perf_event.o pe_libpfm4_events.o perf_event_uncore.o
ar: creating libpapi.a
a - x86_cpuid_info.o
a - papi_libpfm4_events.o
a - papi.o
a - papi_internal.o
a - papi_hl.o
a - extras.o
a - sw_multiplex.o
a - papi_fwrappers.o
a - papi_fwrappers_.o
a - papi_fwrappers__.o
a - upper_PAPI_FWRAPPERS.o
a - threads.o
a - cpus.o
a - linux-memory.o
a - linux-timer.o
a - linux-common.o
a - papi_preset.o
a - papi_vector.o
a - papi_memory.o
a - perf_event.o
a - pe_libpfm4_events.o
a - perf_event_uncore.o
/bin/ld: cannot find -lpfm
collect2: error: ld returned 1 exit status
make: *** [Makefile.inc:68: libpapi.so.6.0.0.1] Error 1

Comments (3)

  1. Log in to comment