Where is new libpfm3.6 ?
Mario Vukelic
mario.vukelic at dantian.org
Sun Nov 30 11:41:44 UTC 2008
On Sun, 2008-11-30 at 14:14 +0530, Chaman Singh Verma wrote:
> make[1]: Entering directory `/home/csv610/Desktop/libpfm-3.6/lib'
> gcc -O2 -g -Wall -Werror
^^^^^^^^ <- Note
> -I/home/csv610/Desktop/libpfm-3.6/lib/../include -D_REENTRANT
> -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_os_linux.c
> cc1: warnings being treated as errors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <- Note
> pfmlib_os_linux.c: In function 'pfm_init_syscalls_sysfs':
> pfmlib_os_linux.c:421: error: ignoring return value of 'fscanf',
> declared with attribute warn_unused_result
Seems to me that "ignoring return value of 'fscanf'" only leads to the
compile failing with an error because the compiler was instructed to
treat all warnings as errors by using the -Werror flag. Did you try
without -Werror?
I have looked around the libpfm pages on sourceforge and found no news
section or changelog or anything that would let me see the differences
between 3-2 and 3-6 or the status of 3-6. Is 3-6 already released by the
perfom2 guys? I wonder, because of setting -Werror (which I assume came
with the upstream makefile and was not added by yourself) and then
failing. Looks like a development version to me.
More information about the ubuntu-users
mailing list