I managed to get a bit further with the following patch:

--- a/lib/Makefile
+++ b/lib/Makefile
@@ -33,7 +33,7 @@
 SRCS += pfmlib_perf_event_pmu.c pfmlib_perf_event.c pfmlib_perf_event_raw.c
 endif
 
-CFLAGS+=-D_REENTRANT -I. -fvisibility=hidden
+CFLAGS+=-D_REENTRANT -I. -fvisibility=hidden -fPIC -DPIC
 
 #
 # list all library support modules

...but then ended up with a bunch of undefined references building
python/src/perfmon_int_wrap.c which seem to be SWIG-related.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629989

Title:
  FFe: Sync libpfm4 4.7.0+git30-gd422ba2-1 (main) from Debian unstable
  (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpfm4/+bug/1629989/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to