Hi Stephan,
  Thanks for sharing the tip. It's working now.

Regards,
Vishal

> -----Original Message-----
> From: stephane eranian [mailto:eran...@googlemail.com]
> Sent: Friday, January 23, 2009 6:01 PM
> To: Kanaujia, Vishal (STSD)
> Cc: perfmon2-devel@lists.sourceforge.net
> Subject: Re: Build issues: perfmon- 090121 & linux kernel src 2.6.28
> 
> Hi,
> 
> Works for me on a Debian system with the attached .config.
> 
> I think there is a missing prototype but it shows up only when you
> compile for UP mode,
> run make menuconfig, and enable SMP (CONFIG_SMP).
> 
> 
> On Fri, Jan 23, 2009 at 12:40 PM, Kanaujia, Vishal (STSD)
> <vishal.kanau...@hp.com> wrote:
> > Hi Stephan,
> >  We are trying to build Linux kernel(2.6.28) with latest
> perfmon(perfmon-new-base-090121). We are doing it on Red Hat Enterprise
> Linux ES release 4. We configured the kernel with h/w performance monitor
> support. While building the kernel, we are getting following error:
> >
> >  ..
> >  ...
> >  CC      arch/ia64/dig/dig_vtd_iommu.o
> >  LD      arch/ia64/dig/built-in.o
> >  CC      arch/ia64/perfmon/perfmon.o
> > arch/ia64/perfmon/perfmon.c: In function `__pfm_use_dbregs':
> > arch/ia64/perfmon/perfmon.c:803: error: implicit declaration of function
> `pfm_save_pmds_release'
> > make[1]: *** [arch/ia64/perfmon/perfmon.o] Error 1
> > make: *** [arch/ia64/perfmon] Error 2
> >
> > Am I missing anything here?
> >
> > Thanks,
> > Vishal
> >
> > O/P of /proc/cpuinfo:
> >
> > # more /proc/cpuinfo
> > processor  : 0
> > vendor     : GenuineIntel
> > arch       : IA-64
> > family     : 31
> > model      : 1
> > model name : Madison
> > revision   : 5
> > archrev    : 0
> > features   : branchlong, 0x8
> > cpu number : 0
> > cpu regs   : 4
> > cpu MHz    : 1099.781
> > itc MHz    : 1099.781754
> > BogoMIPS   : 3932.16
> > siblings   : 1
> > physical id: 0
> >
> > processor  : 1
> > vendor     : GenuineIntel
> > arch       : IA-64
> > family     : 31
> > model      : 1
> > model name : Madison
> > revision   : 5
> > archrev    : 0
> > features   : branchlong, 0x8
> > cpu number : 0
> > cpu regs   : 4
> > cpu MHz    : 1099.781
> > itc MHz    : 1099.781754
> > BogoMIPS   : 3932.16
> > siblings   : 1
> > physical id: 1
> >
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to