If you use CPP with the -traditional flag in Section 7g of your configure.user file, please be aware that a glitch has surfaced on at least one version of Linux's implementation of CPP. Here are some associated version numbers:
gcc v2.96-110 and cpp v2.96-110, which is on Redhat v7.3.It will show up very early in the compile as a "missing separator" error from the make utility:
cat parame >> parame.incl.tmp
parame.incl does not exist. Creating parame.incl
No differences detected between defines.incl.tmp and defines.incl
make[1]: Leaving directory `/home/mm5/MM5V3/MM5/include'
(cd include; make -i -r code ; cd ../pick ; csh ../MPP/cutincludes cut )
make[1]: Entering directory `/home/mm5/MM5V3/MM5/include'
cp *.incl ../pick
make[1]: Leaving directory `/home/mm5/MM5V3/MM5/include'
(sed '/t touch anything below this line/,$d' configure.user \
> ./MPP/conf.mpp)
(cd MPP; make -i -r col_cutter)
make[1]: Entering directory `/home/mm5/MM5V3/MM5/MPP'
make[1]: `col_cutter' is up to date.
make[1]: Leaving directory `/home/mm5/MM5V3/MM5/MPP'
(cd MPP/build; \
/bin/rm -f .tmpobjs ; \
/usr/bin/cpp -C -P -traditional -D"linux" -I../../pick ../mpp_objects_all > .tmpobjs ; \
make -i -r -f Makefile.RSL )
make[1]: Entering directory `/home/mm5/MM5V3/MM5/MPP/build'
.tmpobjs:13: *** missing separator. Stop.
make[1]: Leaving directory `/home/mm5/MM5V3/MM5/MPP/build'
make: *** [mpp] Error 2
If you run into this, edit the file MPP/mpp_objects_all and remove the space character that
occurs after the backslash and before the end of the line on or about line 57:
settbl.o \
^right here
Then make uninstall and make mpp.
Thanks and a -traditional tip of the Rotang topper to:
================================================ Xin Qiu Technical Director/Specialist Regional Airshed Modelling Group Rowan Williams Davies and Irwin Inc. (RWDI) 650 Woodlawn Road W. Guelph, ON, Canada, N1K 1B8 Phone: (519) 823-1311 x.2352 E-mail: xq@rwdi.com ================================================As always,
Rotang
September 6, 2002