That is correct, part of my patch adds an ifdef around overlay.c: --- Overture.v24/static/overlay.c 2011-05-18 11:21:54.000000000 -0400 +++ overture/static/overlay.c 2011-07-31 12:16:52.000000000 -0400 @@ -5,11 +5,16 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#include "OvertureDefine.h" + +#ifdef OV_USE_X11 + #include <stdlib.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xmd.h> + /* Transparent type values */ /* None 0 */ #define TransparentPixel 1 @@ -225,5 +230,7 @@ void detectOverlaySupport(Display *dpy, /* printf("**** info: overlay visual found *****\n"); */*overlayColormap = XCreateColormap(dpy, DefaultRootWindow(dpy),overlayVisual, AllocNone); /* wdh */
} - } + + +#endif // OV_USE_X11 Cheers, -Erik On 05/09/2012 04:30 PM, Bill Henshaw wrote:
Joe; I guess that Eric's patches must have removed the compilation of overlay.c which should not be compiled if there is no X11. ...Bill On 05/09/2012 04:07 PM, J. P. Bernstein wrote:Hello All,Now a funny failure has cropped up. Upon restarting the build in order to verify steps taken so far, I got this failure:mpixlc_r -w -qarch=450d -qtune=450 -qmaxmem=-1 -qpic -I/home/jpbernst/Code/Overture/Overture.v24-pmake/include -I/home/jpbernst/Code/Overture/A++P++-0.8.0/P++/install/include -g -DSHM -DUSE_PPP -I. -I/include -I/home/jpbernst/Code/Mesa-7.2/include -c overlay.c "overlay.c", line 9.10: 1506-296 (S) #include file<X11/Xlib.h> not found. "overlay.c", line 10.10: 1506-296 (S) #include file<X11/Xutil.h> not found. "overlay.c", line 11.10: 1506-296 (S) #include file<X11/Xmd.h> not found.I verified that it is now happening after creating a fresh Overture build directory from the tarball and trying a build with the following configuration command:./configure bg noX11 parallelwith only the following minimal modifications to the Overture source in order to enable a build on BG/P:1) Removed "-fPIC -Wno-deprecated" from PFLAGS in GridFunction/Makefile.in (line 115).2) Enclosed MPI info lookup code within "if( $machine ne "bg" ) {}". 3) Adding to configure: if( $machine eq "bg"&& $double ne "" ) { $FortranDouble = "-qautodbl=dbl4"; }I am at a loss as to why this started. Should this not be taken care of by the noX11 configure option? I was not getting this build error before. My MakeDefs file content is appended below.Best, Joe