[Haskell-cafe] Re: cabal: other-modules

José Pedro Magalhães jpm at cs.uu.nl
Thu Apr 15 08:45:12 EDT 2010


On Thu, Apr 15, 2010 at 14:40, Johannes Waldmann <
waldmann at imn.htwk-leipzig.de> wrote:

> What happened was this:
> 1. add some modules to a library (but forget to mention them in the cabal
> file),
>   then (in the lib source dir, without cleaning/reconfiguring)
>   "cabal install --global" (runs without complaint)
> 2. re-compile an application that uses the library
>   (cabal configure && cabal build): this gave "undefined symbol" errors
>   (for things from the added modules)

Just to say that this has happened to me very often as well, on Windows. The
first time it took me quite some time to realize what was going wrong...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100415/1c9d2d3e/attachment.html

More information about the Haskell-Cafe mailing list