Hi, Most likely, you did not install the library before compiling pfmon. Another step you will need to do manually is to add your library install path to the dynamic linker list of paths. This is usually located in /etc/ld.so.conf.d, then run ldconfig.
On Fri, Aug 8, 2008 at 3:15 AM, Shinoooo <[EMAIL PROTECTED]> wrote: > > Hi all, > > I m a newcomer to linux ..i m trying to install pfmon. > I m using pentium4 and kernel 2.6.26 > First i patched the kernel with perfmon2 patch .. installed libpfm > and now trying to install pfmon 3.5 , but getting the following error ... > I want ur help as soon as possible ... > > > compiling pfmon for ia32 architecture > compiling pfmon as a shared binary > make[1]: Entering directory `/root/Desktop/pfmon-3.5/pfmon' > gcc -ggdb -g -Wall -Werror -D_REENTRANT -I/usr/local/include -DPFMON_DEBUG > -DDATADIR=\"/usr/local/share/pfmon\" -I. -I/usr/include/libelf -D_GNU_SOURCE > -DCONFIG_PFMON_I386 -DPFMON_DEBUG -g -c pfmon_i386_p6.c > pfmon_i386_p6.c:322: error: 'PFMLIB_INTEL_PII_PMU' undeclared here (not in a > function) > pfmon_i386_p6.c:341: error: 'PFMLIB_INTEL_PPRO_PMU' undeclared here (not in > a function) > make[1]: *** [pfmon_i386_p6.o] Error 1 > make[1]: Leaving directory `/root/Desktop/pfmon-3.5/pfmon' > make: *** [all] Error 2 > > > thanks in advance ....... > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel