On Wed, 2008-06-11 at 23:50 -0700, Anatoly Yakovenko wrote: > any idea what could be causing this error when i add the -fvia-C option > > /tmp/ghc32300_0/ghc32300_0.hc:6:23: > error: SFMT_wrap.h: No such file or directory > make: *** [release] Error 1
Some package you're using is a FFI binding that uses that C header file (SFMT_wrap.h). When you compile via C and crank up the optimisation it's quite possible for C calls to be inlined from the package in which they're defined into your code and hence you code ends up needing the headers too. You can get the above problem if a package uses a private header file and does not install it. Do you recognise SFMT_wrap.h? What package do you think it is that uses it? Duncan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe