
15 Apr
2010
15 Apr
'10
8:40 a.m.
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) (with ghc-6.12.1 on i386 debian) I still don't see why this "other-modules" is needed. Ok, I understand the technical reason that cabal does not do dependency analysis but morally, it should? Best regards - J.W.