<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi all. I am installing ncl_ncarg-5.0.0 on the front end
node (fen) of our IBM Blue Gene/L (SUSE Linux with powerpc chip). I get these
messages during the build</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>(when it’s trying to build the executable named “ncl”):</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `abgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `adgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `dpgcdp'</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> Here is the excerpt from a transcript of my build:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*****************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>xlc -qstrict -qfullpath -qmaxmem=-1 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -O3 -o ncl Ncl.o io.o NclHLUObj.o scanner.o
parser.o MathFunc s.o NclTypedouble.o NclTypefloat.o
NclTypeint.o NclTypelogical.o
NclTypelong.o NclTypeobj.o
N clTypeshort.o NclTypestring.o
NclTypebyte.o NclTypechar.o TypeSupport.o
NclMultiDValData.o AddFileFormat s.o AttSupport.o DataSupport.o
FileSupport.o Formats.o GetGrids.o
InitData.o Memory.o NclAtt.o NclCCM.o N clCoordVar.o NclData.o NclFile.o
NclFileVar.o
NclGRIB.o NclHDF.o NclMultiDValnclfileData.o
NclNetCdf.o NclO neDValCoordData.o NclType.o
NclTypelist.o NclVar.o
VarSupport.o
ctoiee.o date.o qu2reg3.o rowina3.o scm0 .o ncepcode.o NclGRIB2.o AddBuiltIns.o
AddHLUObjs.o
AddIntrinsics.o Execute.o
Machine.o OpsFuncs.o Pri nttoken.o SrcTree.o
Symbol.o Translate.o
NclHLUVar.o HLUSupport.o
NclMultiDValHLUO bjData.o
BuiltInSupport.o BuiltInFuncs.o
HLUFunctions.o yywrap.o craybin.o
c omplete.o editline.o sysunix.o ListSupport.o
NclList.o NclMultiDVallistData.o fortranio.o -L../../.././ni/src/lib/nfp
-lnfp -L../../.././ni/src/lib/nfpfort -lnfpfort -L../../.././ni/src/lib/hlu
-lhlu -L../../.././ncarg2d/src/libncarg -lncarg -L../../.././ncarg2d/src/l
ibncarg_gks -lncarg_gks -L../../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib
-lngmath -L/gpfs/scratch2/slatest/mytest/ncl_nc arg-5.0.0/lib
-L/usr/X11R6/lib -L/gpfs/scratch2/slatest/mytest/libpng-1.2.24/lib
-L/opt/ibmcmp/xlmass/bg/4.3/lib -L/bgl/local/lib -L/gpfs/scratch2/slatest/mytest/g2clib-1.0.5
-L/gpfs/scratch2/slatest/mytest/udunit-fen-final/udunits-1.12.4/lib
-L/gpfs/scratch2/slatest/mytest/netcdf-final/ netcdf-3.6.2/lib
-L/gpfs/scratch2/slatest/mytest/jasper-1.900.1/lib
-L/gpfs/scratch2/slatest/mytest/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc -L/gpfs
/scratch2/slatest/mytest/hdf4-o3qstrict/HDF4.2r1/mfhdf/libsrc
-L/gpfs/scratch2/slatest/mytest/hdf4-o3qstrict/HDF4.2r1/hdf/src -lnetcdf
-lmfhdf -ldf -ljpeg -lz -ludunits -lgrib2c -lpng -ljasper
-L../../.././external/sphere3.1_dp -lsphere3.1_dp -L../../.././external/fftpack5_dp
-lfftpac k5_dp -L../../.././external/lapack -llapack_ncl -lblas.rts -L../../.././external/blas
-lblas_ncl -lX11 -lXext -L/opt/ibmcmp/xlf/bg/10.1/lib -lxl fmath -lxlf90
-lm -lm -ldl</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o)(.text+0x0):
In function `abgcdp':</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `abgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/nfpfort/libnfpfort.a(sg_tools.o)(.text+0x1b80):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/bin/ld: Warning: size of symbol `abgcdp' changed from
284 in ../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o) to 260 in
../../.././n i/src/lib/hlu/libhlu.a(SphericalGeometry.o)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o)(.text+0x440):
In function `adgcdp':</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `adgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/nfpfort/libnfpfort.a(sg_tools.o)(.text+0xfa0):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/bin/ld: Warning: size of symbol `adgcdp' changed from
136 in ../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o) to 132 in
../../.././n i/src/lib/hlu/libhlu.a(SphericalGeometry.o)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o)(.text+0x4e0):
In function `dpgcdp':</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: multiple definition of `dpgcdp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../.././ni/src/lib/nfpfort/libnfpfort.a(sg_tools.o)(.text+0xea0):
first defined here</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/usr/bin/ld: Warning: size of symbol `dpgcdp' changed from
240 in ../../.././ni/src/lib/hlu/libhlu.a(SphericalGeometry.o) to 224 in
../../.././n i/src/lib/hlu/libhlu.a(SphericalGeometry.o)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/gpfs/scratch2/slatest/mytest/jasper-1.900.1/lib/libjasper.a(jas_stream.o)(.text+0xc50):
In function `jas_stream_tmpfile':</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>: warning: the use of `tmpnam' is dangerous, better use `mkstemp'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make: *** [ncl] Error 1</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>********************************************************************************************************************************************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The e.g. abgcdp multiple definition evidently arises because
of the following in libnfpfort.a (specifically the sg_tools.f
contribution to that library ):</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>DOUBLE PRECISION FUNCTION ABGCDP (AQDP,BQDP,CQDP)</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font>i<font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>n addition to the following in libhlu.a
(the SphericalGeometry.c contribution):</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>double abgcdp(double*,double*,double*);</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>That is to say, the functions have the same names in the two
libraries. But I expected the following to deal with that, which is in the NCL </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>“INSTALL.txt” file:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*********************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>If, however, your compiler does not append an underscore (the
IBM xlf/xlf90 compilers are</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>two such examples), then you need to set this macro as
follows:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> NgCallF reg</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>********************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regarding that, I had confirmed earlier that the $NCARG/config
file that the build will use is “LINUX”:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>SYSTEM_INCLUDE
= "LINUX"</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>and NgCallF is in fact set correctly in that file:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*******************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>cd $NCARG/config</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>grep Ng LINUX</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define NgCallF reg</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>******************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So I’m puzzled by the multiple definition error, I
would have thought “NgCallF reg” would have
attended to the issue. Can you help? </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’ve googled this but can’t find anyone who has
obtained these particular multiple definition errors.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Note: I’m building everything to run on the fen, not
the compute nodes, i.e. I’m using native compilers, not cross compilers.
I’m doing a 32-bit architecture build.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Also, I’m using the IBM compilers, e.g. xlf and xlc. And
finally, the ‘tmpnam’ warning in the excerpt above is a warning and
I doubt it is the cause of the exit of the build.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>My complete LINUX file is as follows:</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * $Id: LINUX.ppc64.xl,v
1.1 2007/10/06 </span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>02:05:31</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> haley Exp $</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/************************************************************************</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
Copyright (C) 2005
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>* University
Corporation for Atmospheric
Research
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
All Rights
Reserved
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>*
*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>************************************************************************/</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * File:
LINUX.ppc32</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Author: Richard Grubin</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>National</span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Center</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> for Atmospheric
Research</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>PO</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> 3000, </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Boulder</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>, </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Colorado</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Date: Sun
May 1 </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>16:56:33 MDT</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> 2005</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Description: This file
contains all the directives needed to</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
tell ymake how to build NCAR Graphics on a PPC 32-bit LINUX</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *
system using the xlf/xlc compilers</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define HdfDefines -D_IBMR2</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define StdDefines -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CCompiler xlc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FCompiler xlf</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CcOptions -qstrict -qfullpath
-qmaxmem=-1</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FcOptions -qstrict -qfullpath</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define LdCommand ld -melf32ppc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define LdRelCommand ld -melf32ppc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArCommand ar</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define COptimizeFlag -O3</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define FOptimizeFlag -O3</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define Cstatic -bnso</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define Cdynamic -bso</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CtoFLibraries -L/opt/ibmcmp/xlf/bg/10.1/lib -lxlfmath
-lxlf90 -lm</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define NgCallF reg</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define CppCommand '/usr/bin/cpp -traditional'</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define XToolLibrary -lXt -lSM -lICE</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define BuildShared NO</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define XLibrary -lX11 -lXext</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArchRecLibSearch -L/usr/X11R6/lib</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define ArchRecIncSearch -I/usr/X11R6/include</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*************** Redefine Macros from Rules
********************************/</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>/*</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Macro: MakeDir</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> *</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * Description: This rule creates a directory - if a
parent dir doesn't exist</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> * it attempts to create it.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> */</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#ifndef MakeDir</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#define MakeDir(dir) @if (test ! -d dir); then ($(MKDIRHIER)
dir); fi</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#endif</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks,</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Len (slatest@bnl.gov)</span></font></p>
</div>
</body>
</html>