<div dir="ltr">Sorry, my mistake. I had a misunderstanding of cabal file that I did not expose enough modules.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 5:27 PM, Magicloud Magiclouds <span dir="ltr"><<a href="mailto:magicloud.magiclouds@gmail.com" target="_blank">magicloud.magiclouds@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>  I am making a cabal project including a library and a executable using the library.</div><div><br></div><div>  Building the library is fine. But when linking src/main, I got "undefined reference to someFunction1_info" and "someFunction1_closure".<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div>竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.</div>
</div>