Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring file-embed-0.0.10... Building ansi-terminal-0.6.2.3... Building file-embed-0.0.10... Installed file-embed-0.0.10 Configuring mtl-2.2.1... Configuring parallel-3.2.1.0... Installed ansi-terminal-0.6.2.3 Building mtl-2.2.1... Building parallel-3.2.1.0... Configuring primitive-0.6.2.0... Installed parallel-3.2.1.0 Building primitive-0.6.2.0... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed primitive-0.6.2.0 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Configuring vector-0.12.0.0... Installed ansi-wl-pprint-0.6.7.3 Building vector-0.12.0.0... Configuring optparse-applicative-0.13.1.0... Installed text-1.2.2.1 Building optparse-applicative-0.13.1.0... Installed optparse-applicative-0.13.1.0 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring csv-0.1.2... Building csv-0.1.2... Installed csv-0.1.2 Installed vector-0.12.0.0 Configuring maxent-learner-hw-0.1.1... Building maxent-learner-hw-0.1.1... Failed to install maxent-learner-hw-0.1.1 Build log ( /home/builder/.cabal/logs/maxent-learner-hw-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-3576/maxent-learner-hw-0.1.1' Configuring maxent-learner-hw-0.1.1... Building maxent-learner-hw-0.1.1... Preprocessing library maxent-learner-hw-0.1.1... [1 of 8] Compiling Text.PhonotacticLearner.Util.Ring ( src/Text/PhonotacticLearner/Util/Ring.hs, dist/build/Text/PhonotacticLearner/Util/Ring.o ) [2 of 8] Compiling Text.PhonotacticLearner.Util.Probability ( src/Text/PhonotacticLearner/Util/Probability.hs, dist/build/Text/PhonotacticLearner/Util/Probability.o ) [3 of 8] Compiling Text.PhonotacticLearner.Util.ConjugateGradient ( src/Text/PhonotacticLearner/Util/ConjugateGradient.hs, dist/build/Text/PhonotacticLearner/Util/ConjugateGradient.o ) [4 of 8] Compiling Text.PhonotacticLearner.DFST ( src/Text/PhonotacticLearner/DFST.hs, dist/build/Text/PhonotacticLearner/DFST.o ) [5 of 8] Compiling Text.PhonotacticLearner.MaxentGrammar ( src/Text/PhonotacticLearner/MaxentGrammar.hs, dist/build/Text/PhonotacticLearner/MaxentGrammar.o ) [6 of 8] Compiling Text.PhonotacticLearner.PhonotacticConstraints ( src/Text/PhonotacticLearner/PhonotacticConstraints.hs, dist/build/Text/PhonotacticLearner/PhonotacticConstraints.o ) [7 of 8] Compiling Text.PhonotacticLearner.PhonotacticConstraints.Generators ( src/Text/PhonotacticLearner/PhonotacticConstraints/Generators.hs, dist/build/Text/PhonotacticLearner/PhonotacticConstraints/Generators.o ) [8 of 8] Compiling Text.PhonotacticLearner ( src/Text/PhonotacticLearner.hs, dist/build/Text/PhonotacticLearner.o ) Preprocessing executable 'phono-learner-hw' for maxent-learner-hw-0.1.1... [1 of 1] Compiling Main ( app/Main.hs, dist/build/phono-learner-hw/phono-learner-hw-tmp/Main.o ) Linking dist/build/phono-learner-hw/phono-learner-hw ... /tmp/cabal-tmp-3576/maxent-learner-hw-0.1.1/dist/build/libHSmaxent-learner-hw-0.1.1-3OJ2ps5BjrAKHNLFmwwRl6.a(packeddfa.o): In function `expsByLengthVec': packeddfa.c:(.text+0xb16): undefined reference to `expVecTimesPlusAccum' packeddfa.c:(.text+0xc29): undefined reference to `expVecTimesPlusAccum' collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-3576/maxent-learner-hw-0.1.1' cabal: Error: some packages failed to install: maxent-learner-hw-0.1.1 failed during the building phase. The exception was: ExitFailure 1