Am Donnerstag, 19. Juli 2007 schrieb Rafal Lichwala:
> perfmon.c:1431:1: directives may not be used inside a macro argument
> perfmon.c:1430:80: unterminated argument list invoking macro "DPRINT"
> perfmon.c: In function `pfm_reserve_session':
> perfmon.c:1434: `DPRINT' undeclared (first use in this function)

> ####################
>
> Do you have any other idea how to solve the problem?
> Should I upgrade some more packages?

I would think of an old cpp version.
What you have here is a cpp directive within a cpp directive.

#define DPRINT(a) ...
...
DPRINT(("system wide not possible, conflicting session [%d] on CPU%d\n",
#ifndef XEN
                pfm_sessions.pfs_sys_session[cpu]->pid,
#else
                -1,
#endif
                cpu));

Maybe your cpp is too old - but I don't know enough about special cpp features 
and cpp versions.
I tried your download and on my machine with gcc version 3.3.3 this all 
compiles fine.

Dietmar.

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

Reply via email to