Open idontgetoutmuch opened 6 years ago
Preprocessing library for hmatrix-sundials-0.19.1.0.. Building library for hmatrix-sundials-0.19.1.0.. [1 of 4] Compiling Numeric.Sundials.Arkode ( dist/build/Numeric/Sundials/Arkode.hs, dist/build/Numeric/Sundials/Arkode.o ) [2 of 4] Compiling Numeric.Sundials.ODEOpts ( src/Numeric/Sundials/ODEOpts.hs, dist/build/Numeric/Sundials/ODEOpts.o ) [3 of 4] Compiling Numeric.Sundials.CVode.ODE ( src/Numeric/Sundials/CVode/ODE.hs, dist/build/Numeric/Sundials/CVode/ODE.o ) [4 of 4] Compiling Numeric.Sundials.ARKode.ODE ( src/Numeric/Sundials/ARKode/ODE.hs, dist/build/Numeric/Sundials/ARKode/ODE.o ) [1 of 4] Compiling Numeric.Sundials.Arkode ( dist/build/Numeric/Sundials/Arkode.hs, dist/build/Numeric/Sundials/Arkode.p_o ) [2 of 4] Compiling Numeric.Sundials.ODEOpts ( src/Numeric/Sundials/ODEOpts.hs, dist/build/Numeric/Sundials/ODEOpts.p_o ) [3 of 4] Compiling Numeric.Sundials.CVode.ODE ( src/Numeric/Sundials/CVode/ODE.hs, dist/build/Numeric/Sundials/CVode/ODE.p_o ) [4 of 4] Compiling Numeric.Sundials.ARKode.ODE ( src/Numeric/Sundials/ARKode/ODE.hs, dist/build/Numeric/Sundials/ARKode/ODE.p_o ) dist/build/src/helpers.o: In function `check_flag': helpers.c:(.text+0x0): multiple definition of `check_flag' dist/build/src/helpers.o:helpers.c:(.text+0x0): first defined here builder for '/nix/store/hyk72326b0rvn1gqmzy5nyxbk64a4h5a-hmatrix-sundials-0.19.0.0.drv' failed with exit code 1 cannot build derivation '/nix/store/d6h3mgyr1bjzzpx8p1vdwl73axfl6al1-ghc-8.4.3-with-packages.drv': 1 dependencies couldn't be built error: build of '/nix/store/d6h3mgyr1bjzzpx8p1vdwl73axfl6al1-ghc-8.4.3-with-packages.drv' failed and referenced by '//simwork:ghc-impl' ERROR: Analysis of target '//simwork/maths:maths' failed; build aborted: Analysis failed INFO: Elapsed time: 33.498s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded)
You shouldn't have helpers.h in c-sources in your cabal file
helpers.h
c-sources
This is on hmatrix-sundials
hmatrix-sundials