# Issue compiling bernoulli example model in cmdstan 2.17

**URL:** <https://discourse.mc-stan.org/t/issue-compiling-bernoulli-example-model-in-cmdstan-2-17/2738>\
**Category:** CmdStan\
**Created:** [December 12, 2017, 7:52am UTC](https://discourse.mc-stan.org/t/issue-compiling-bernoulli-example-model-in-cmdstan-2-17/2738 "2017-12-12T07:52:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![seantalts](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/seantalts/32/32_2.png) [@seantalts](https://discourse.mc-stan.org/u/seantalts)\
**Post date:** [December 12, 2017, 1:52pm UTC](https://discourse.mc-stan.org/t/issue-compiling-bernoulli-example-model-in-cmdstan-2-17/2738/5 "2017-12-12T13:52:39Z")

</div>

This bug is what my PR from Nov 8 fixes: [https://github.com/stan-dev/cmdstan/pull/584](https://github.com/stan-dev/cmdstan/pull/584)

I recently intentionally refactored the makefiles to share more code and settings because there was a ton of duplication. Maybe I went too far, though I don’t think this bug speaks to that question in either direction as its just in the CmdStan makefile and doesn’t have anything to do with the Stan or Math repo makefiles the CmdStan repo includes.

---

_[View the full topic](https://discourse.mc-stan.org/t/issue-compiling-bernoulli-example-model-in-cmdstan-2-17/2738)._
