到目前为止,几周以来,一切都很好。但是突然之间#堆栈构建"已经开始返回这个(混淆了一点):
$ stack build
MyLib-0.1.0.1: build
Preprocessing library MyLib-0.1.0.1...
[53 of 55] Compiling Web.MyLib.SomeFile.MyFile ( src/Web/MyLib/SomeFile/MyFile.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Web/MyLib/SomeFile/MyFile.o )
In-place registering MyLib-0.1.0.1...
Preprocessing executable 'MyLib-exe' for MyLib-0.1.0.1...
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/MyLib-exe/MyLib-exe ...
.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/MyLib-exe/MyLib-exe-tmp/Main.o:(.text+0xf6): undefined reference to `fdsfdzuC6HIw1NjUcr0zzrqlCnCP5y_WebziMyLibziSomeFileziMyFile_MyFileGetSingle1_info'
.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/MyLib-exe/MyLib-exe-tmp/Main.o: In function `S6VL_srt':
(.data+0xe8): undefined reference to `fdsfdzuC6HIw1NjUcr0zzrqlCnCP5y_WebziMyLibziSomeFileziMyFile_MyFileGetSingle1_closure'
collect2: error: ld returned 1 exit status
-- While building package MyLib-0.1.0.1 using:
/home/me123/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 build lib:MyLib exe:MyLib-exe --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
我已完成"堆栈更新,升级"但它没有帮助。