[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] Problem with building the newest xen source on IA64


  • To: Rafal Lichwala <syriusz@xxxxxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 19 Jul 2007 13:46:41 +0200
  • Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Jul 2007 04:44:14 -0700
  • Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=bC9at8mQUCfUhkwwdiOSsbTjXpvc5t2+Ups8TeTpq+PM+kn6iRIGWpp6vzMvSBWB9xCkaTq/P/3ktJBaX1xyMoONcwZQ+xPX5w2zcOdi9oHEDHiNrDrSIAo0K7motFu2;
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

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
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.