[darcs-users] bug report: build error

Jamie Webb j at jmawebb.cjb.net
Thu Sep 23 17:44:26 UTC 2004


On Thu, Sep 23, 2004 at 11:25:46AM -0400, zooko at zooko.com wrote:
> 
> DARC pion:~/playground/darcs$ make
> Rebuild dependencies ...
> ghc  -cpp  -package unix -package parsec -O -funbox-strict-fields  -Wall -DHAVE_CURSES -package util -fffi -c Workaround.hs
> ghc  -cpp  -package unix -package parsec -O -funbox-strict-fields  -Wall -DHAVE_CURSES -package util -fffi -c Autoconf.lhs
> ghc  -cpp  -package unix -package parsec -O -funbox-strict-fields  -Wall -DHAVE_CURSES -package util -fffi -fffi -c Lock.lhs
> ghc  -cpp  -package unix -package parsec -O -funbox-strict-fields  -Wall -DHAVE_CURSES -package util -fffi -c FileName.lhs
> 
> FileName.lhs:30:
>     Failed to load interface for `UTF8':
>         Bad interface file: ./UTF8.hi
>             mismatched interface file versions: expected 6021, found 6020
> 
> FileName.lhs:30: Module `UTF8' does not export `encode'
> 
> FileName.lhs:30: Module `UTF8' does not export `decode'
> make: *** [FileName.o] Error 1
> DARC pion:~/playground/darcs$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.2.1

Have you tried 'make clean'? I seem to remember having the same problem
and that was all that was required.

-- Jamie Webb




More information about the darcs-users mailing list