Seemed like the same question asked here: http://www.linuxquestions.org/questions/linux-newbie-8/perfmon2-installation-error-in-pentium-4-ht-659171/ So the possible answer is that your kernel is not pre-compiled with perfmon2 installed? Not sure? :-). On Wed, Jul 30, 2008 at 3:14 PM, Shinoooo <shinukl1@xxxxxxxxx> wrote: > Hi, > > I am trying to install permon2 (pfmon-3.4)in my system . > I'm using kernel 2.6.26 , processor pentium 4 HT. > But while tryimg to install i m getting the following error .. Pls help me > > > > make[1]: Entering directory `/root/Desktop/pfmon-3.4/pfmon' > gcc -ggdb -g -Wall -Werror -D_REENTRANT -I/usr/local/include -DPFMON_DEBUG > -DDAT ADIR=\"/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 > fun ction) > pfmon_i386_p6.c:341: error: 'PFMLIB_INTEL_PPRO_PMU' undeclared here (not in > a fu nction) > make[1]: *** [pfmon_i386_p6.o] Error 1 > make[1]: Leaving directory `/root/Desktop/pfmon-3.4/pfmon' > make: *** [all] Error 2 > > > > > > -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ