When compiling without `-DSHMOO`, the code refers to a variable `rate` which is never declared, resulting in `error: use of undeclared identifier 'rate'`. Either the printfs should be removed or the actual rate declared, defined, and calculated.
When compiling without
-DSHMOO, the code refers to a variableratewhich is never declared, resulting inerror: use of undeclared identifier 'rate'.Either the printfs should be removed or the actual rate declared, defined, and calculated.