The SDE component doesn't compile when PAPI configured with --with-static-lib=no

Issue #80 resolved
Will Cohen created an issue

When trying to make some changes to allow the Fedora papi RPM to be generated without static libaries the compile failed when trying to build the sde component. This problem existing in the upstream git repository. Configured on Fedora 32 with:

./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-perf-events --with-pfm-incdir=/usr/include --with-pfm-libdir=/usr/lib64 --with-static-lib=no --with-shared-lib=yes --with-shlib --with-shlib-tools '--with-components=appio coretemp example infiniband lmsensors lustre micpower mx net pcp rapl sde stealtime'

Do a “make” and eventually get:

+ make -C components/sde/tests
make[1]: Entering directory '/home/wcohen/research/profiling/papi/git/papi/src/components/sde/tests'
gfortran -shared -Wall -fPIC -ffree-form -ffree-line-length-none -g -I. -I/usr/include -I../../.. -I../../../testlib -I../../../validation_tests -I../interface -I.. -o Advanced_C+FORTRAN/libXandria.so Advanced_C+FORTRAN/Xandria.F90 weak_symbols.o ../../../sde_F.o
gfortran: error: ../../../sde_F.o: No such file or directory
make[1]: *** [Makefile:86: Advanced_C+FORTRAN/libXandria.so] Error 1
make[1]: Leaving directory '/home/wcohen/research/profiling/papi/git/papi/src/components/sde/tests'
make: *** [Makefile.inc:255: comp_tests] Error 2

Remove the “sde” from the --with-components list and the build completes.

Comments (2)

  1. Log in to comment