Skip to content

'stack build' fail on Ubuntu 19.10 #9

@daveman1010221

Description

@daveman1010221

Not sure what to do with the linker error, it looks like maybe it wants some ENV vars set?

Building all executables for hue-dashboard' once. After a successful build of all of them, only specified executables will be rebuilt.
hue-dashboard-0.1.0.0: configure (exe)
Configuring hue-dashboard-0.1.0.0...
hue-dashboard-0.1.0.0: build (exe)
Preprocessing executable 'hue-dashboard' for hue-dashboard-0.1.0.0...
Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.22.5.0/build/hue-dashboard/hue-dashboard ...
/usr/bin/ld: /home/me/.stack/snapshots/x86_64-linux-tinfo6/lts-5.15/7.10.3/lib/x86_64-linux-ghc-7.10.3/unix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe/libHSunix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe-ghc7.10.3.so: undefined reference to major' /usr/bin/ld: /home/me/.stack/snapshots/x86_64-linux-tinfo6/lts-5.15/7.10.3/lib/x86_64-linux-ghc-7.10.3/unix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe/libHSunix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe-ghc7.10.3.so: undefined reference to makedev'
/usr/bin/ld: /home/me/.stack/snapshots/x86_64-linux-tinfo6/lts-5.15/7.10.3/lib/x86_64-linux-ghc-7.10.3/unix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe/libHSunix-compat-0.4.1.4-Km8uiabmElX5mrb8D4Fywe-ghc7.10.3.so: undefined reference to `minor'
collect2: error: ld returned 1 exit status

-- While building custom Setup.hs for package hue-dashboard-0.1.0.0 using:
/home/me/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.22.5.0 build exe:hue-dashboard --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions