Vince,

On Wed, Nov 5, 2008 at 7:36 PM, Vince Weaver <[EMAIL PROTECTED]> wrote:
> On Wed, 5 Nov 2008, stephane eranian wrote:
>
>> Vince,
>>
>> Strange. This is a special file to handle 32-bit syscall numbers on a
>> 64-bit kernel.
>> Which kernel version is this for?
>
> This is for stock 2.6.27.4 with perfmon-new-base-081013 applied.
>
> Without my patch, it gives the following error on x86_64 systems:
>

I tried with 2.6.27.4 and x86_64 and it worked. So I think this may
come from a difference in the .config which may be pulling in different
headers.

In any case, I think I need to include ia32_unistd.h in asm/perfmon_kern.h
to be on the safe side. I will do that for 2.6.28.


>  CC      arch/x86/kernel/process_64.o
> In file included from include/linux/perfmon_kern.h:375,
>                 from arch/x86/kernel/process_64.c:39:
> include/asm/perfmon_kern.h: In function 'pfm_arch_get_base_syscall':
> include/asm/perfmon_kern.h:533: error: '__NR_ia32_pfm_create_context'
> undeclared (first use in this function)
> include/asm/perfmon_kern.h:533: error: (Each undeclared identifier is
> reported only once
> include/asm/perfmon_kern.h:533: error: for each function it appears in.)
> make[1]: *** [arch/x86/kernel/process_64.o] Error 1
> make: *** [arch/x86/kernel] Error 2
>
> Vince

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to