Pre-processor
Building PUGHReduce under Solaris 2.8 gives several errors such as:
Checking status of libPUGHReduce.a
"/home/CCTK/Cactus_beta13/Cactus/arrangements/CactusPUGH/PUGHReduce/src
line 323: CCTK_Cmplx_: macro recursion
This problem occurs only in the dependency generation part of
the Cactus build. The Sun's /lib/cpp preprocessor
cannot handle macro recursion levels of more than 3. Since
we are loath to rewrite our macros just for Solaris, we would
rather wait for a better system preprocessor, or for
a fuller version of the Cactus cpp sometime
in the future.
As a solution, you could try using the Cactus preprocessor:
make -config CPP='$${PERL} $${CCTK_HOME}/lib/sbin/cpp.pl'
which has the advantage that it doesn't stop for errors but
prints a warning message. Be wary though, it isn't perfect
yet and may fail for some thorns.
Otherwise, you can keep rerunning your make command to skip
past the problem files (since only the dependency generation
is failing). Of course, dependencies (for just these files),
will then not work.