What could be the possible reason of linking errors on "_info" and "_closure"?

Hi, I am making a cabal project including a library and a executable using the library. Building the library is fine. But when linking src/main, I got "undefined reference to someFunction1_info" and "someFunction1_closure". -- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com.

Sorry, my mistake. I had a misunderstanding of cabal file that I did not expose enough modules. On Mon, Feb 2, 2015 at 5:27 PM, Magicloud Magiclouds < magicloud.magiclouds@gmail.com> wrote:
Hi,
I am making a cabal project including a library and a executable using the library.
Building the library is fine. But when linking src/main, I got "undefined reference to someFunction1_info" and "someFunction1_closure".
-- 竹密岂妨流水过 山高哪阻野云飞
And for G+, please use magiclouds#gmail.com.
-- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com.
participants (1)
-
Magicloud Magiclouds