Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Verbose build error

By: a guest on Oct 24th, 2013  |  syntax: None  |  size: 9.53 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. c:\Users2\WindowsKeys>cabal build --verbose=3
  2. cabal build --verbose=3
  3. Using internal setup method with build-type Simple and args:
  4. ["build","--verbose=3"]
  5. creating dist\build
  6. creating dist\build\autogen
  7. Building WindowsKeys-0.1.0.0...
  8. Preprocessing executable 'WindowsKeys' for WindowsKeys-0.1.0.0...
  9. Building executable WindowsKeys...
  10. creating dist\build\WindowsKeys
  11. creating dist\build\WindowsKeys\WindowsKeys-tmp
  12. ("C:\\Program Files (x86)\\Haskell Platform\\2012.4.0.0\\bin\\ghc.exe",["--make","-o","dist\\build\\WindowsKeys\\WindowsKeys.exe","-v","-hide-all-packages","-fbuilding-cabal-package","-package-conf","dist\\package.conf.inplace","-i","-idist\\build\\WindowsKeys\\WindowsKeys-tmp","-isrc","-idist\\build\\autogen","-Idist\\build\\autogen","-Idist\\build\\WindowsKeys\\WindowsKeys-tmp","-Isrc","-optP-include","-optPdist\\build\\autogen\\cabal_macros.h","-odir","dist\\build\\WindowsKeys\\WindowsKeys-tmp","-hidir","dist\\build\\WindowsKeys\\WindowsKeys-tmp","-stubdir","dist\\build\\WindowsKeys\\WindowsKeys-tmp","-package-id","Win32-2.2.2.0-6698dcca54558470959f97f13257fe4a","-package-id","base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917","-O","-XHaskell98","src\\Main.hs","-luser32"])
  13. Glasgow Haskell Compiler, Version 7.4.2, stage 2 booted by GHC version 7.0.4
  14. Using binary package database: C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\package.conf.d\package.cache
  15. Using binary package database: C:\Users\user\AppData\Roaming\ghc\i386-mingw32-7.4.2\package.conf.d\package.cache
  16. Using package config file: dist\package.conf.inplace
  17. wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-17c9bd07295565b6290606174529c842
  18. wired-in package integer-gmp mapped to integer-gmp-0.4.0.0-c15e185526893c3119f809251aac8c5b
  19. wired-in package base mapped to base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917
  20. wired-in package rts mapped to builtin_rts
  21. wired-in package template-haskell mapped to template-haskell-2.7.0.0-f72884c301136c17f8a7dfc49c2775c9
  22. wired-in package dph-seq not found.
  23. wired-in package dph-par not found.
  24. Hsc static flags: -static
  25. *** Chasing dependencies:
  26. Chasing modules from: *src\Main.hs
  27. Created temporary directory: C:\Users\user\AppData\Local\Temp\ghc37464_0
  28. *** C pre-processor:
  29. "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/../mingw/bin/gcc.exe" "-E" "-undef" "-traditional" "-fno-stack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-I" "dist\build\WindowsKeys\WindowsKeys-tmp" "-I" "dist\build\autogen" "-I" "dist\build\WindowsKeys\WindowsKeys-tmp" "-I" "src" "-I" "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\Win32-2.2.2.0\include" "-I" "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\bytestring-0.9.2.1\include" "-I" "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\base-4.5.1.0\include" "-I" "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/include" "-D__GLASGOW_HASKELL__=704" "-Dmingw32_BUILD_OS=1" "-Di386_BUILD_ARCH=1" "-Dmingw32_HOST_OS=1" "-Di386_HOST_ARCH=1" "-include" "dist\build\autogen\cabal_macros.h" "-x" "c" "dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.hs" "-o" "C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.hscpp"
  30. Stable obj: [Main, WindowsKeys]
  31. Stable BCO: []
  32. Ready for upsweep
  33.   [NONREC
  34.       ModSummary {
  35.          ms_hs_date = Thu Oct 24 18:28:45 Eastern Daylight Time 2013
  36.          ms_mod = main:WindowsKeys,
  37.          ms_textual_imps = [import (implicit) Prelude,
  38.                             import Control.Applicative, import Foreign.Marshal.Array,
  39.                             import Foreign.Storable, import Foreign.C.Types, import Foreign,
  40.                             import System.Win32.Types]
  41.          ms_srcimps = []
  42.       },
  43.    NONREC
  44.       ModSummary {
  45.          ms_hs_date = Thu Oct 24 18:10:20 Eastern Daylight Time 2013
  46.          ms_mod = main:Main,
  47.          ms_textual_imps = [import (implicit) Prelude,
  48.                             import Control.Applicative ( (<$>) ),
  49.                             import Control.Concurrent ( threadDelay ), import WindowsKeys]
  50.          ms_srcimps = []
  51.       }]
  52. *** Deleting temp files:
  53. Deleting:
  54. compile: input file C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.hscpp
  55. *** Checking old interface for main:WindowsKeys:
  56. [1 of 2] Skipping  WindowsKeys      ( dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.hs, dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.o )
  57. *** Deleting temp files:
  58. Deleting: C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.s
  59. Warning: deleting non-existent C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.s
  60. compile: input file src\Main.hs
  61. *** Checking old interface for main:Main:
  62. [2 of 2] Skipping  Main             ( src\Main.hs, dist\build\WindowsKeys\WindowsKeys-tmp\Main.o )
  63. Upsweep completely successful.
  64. *** Deleting temp files:
  65. Deleting: C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.s
  66. Warning: deleting non-existent C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.s
  67. link: linkables are ...
  68. LinkableM (Thu Oct 24 18:18:18 Eastern Daylight Time 2013) main:Main
  69.    [DotO dist\build\WindowsKeys\WindowsKeys-tmp\Main.o]
  70. LinkableM (Thu Oct 24 18:28:45 Eastern Daylight Time 2013) main:WindowsKeys
  71.    [DotO dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.o]
  72. Linking dist\build\WindowsKeys\WindowsKeys.exe ...
  73. *** C Compiler:
  74. "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/../mingw/bin/gcc.exe" "-fno-stack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-c" "C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.c" "-o" "C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.o" "-DTABLES_NEXT_TO_CODE" "-IC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/include"
  75. *** Windres:
  76. "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/../mingw/bin/windres.exe" "--preprocessor=\"C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/../mingw/bin/gcc.exe\" \"-fno-stack-protector\" \"-Wl,--hash-size=31\" \"-Wl,--reduce-memory-overheads\" \"-E\" \"-xc\" \"-DRC_INVOKED\"" "--use-temp-file" "--input=C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.rc" "--output=C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_1.o" "--output-format=coff"
  77. *** Linker:
  78. "C:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib/../mingw/bin/gcc.exe" "-fno-stack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-o" "dist\build\WindowsKeys\WindowsKeys.exe" "-Wl,--enable-auto-import" "dist\build\WindowsKeys\WindowsKeys-tmp\Main.o" "dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.o" "-luser32" "C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_1.o" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\Win32-2.2.2.0" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\bytestring-0.9.2.1" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\base-4.5.1.0" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\integer-gmp-0.4.0.0" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib\ghc-prim-0.2.0.0" "-LC:\Program Files (x86)\Haskell Platform\2012.4.0.0\lib" "C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.o" "-lHSWin32-2.2.2.0" "-luser32" "-lgdi32" "-lwinmm" "-ladvapi32" "-lshell32" "-lshfolder" "-lHSbytestring-0.9.2.1" "-lHSbase-4.5.1.0" "-lwsock32" "-luser32" "-lshell32" "-lHSinteger-gmp-0.4.0.0" "-lHSghc-prim-0.2.0.0" "-lHSrts" "-lm" "-lwsock32" "-u" "_ghczmprim_GHCziTypes_Izh_static_info" "-u" "_ghczmprim_GHCziTypes_Czh_static_info" "-u" "_ghczmprim_GHCziTypes_Fzh_static_info" "-u" "_ghczmprim_GHCziTypes_Dzh_static_info" "-u" "_base_GHCziPtr_Ptr_static_info" "-u" "_base_GHCziWord_Wzh_static_info" "-u" "_base_GHCziInt_I8zh_static_info" "-u" "_base_GHCziInt_I16zh_static_info" "-u" "_base_GHCziInt_I32zh_static_info" "-u" "_base_GHCziInt_I64zh_static_info" "-u" "_base_GHCziWord_W8zh_static_info" "-u" "_base_GHCziWord_W16zh_static_info" "-u" "_base_GHCziWord_W32zh_static_info" "-u" "_base_GHCziWord_W64zh_static_info" "-u" "_base_GHCziStable_StablePtr_static_info" "-u" "_ghczmprim_GHCziTypes_Izh_con_info" "-u" "_ghczmprim_GHCziTypes_Czh_con_info" "-u" "_ghczmprim_GHCziTypes_Fzh_con_info" "-u" "_ghczmprim_GHCziTypes_Dzh_con_info" "-u" "_base_GHCziPtr_Ptr_con_info" "-u" "_base_GHCziPtr_FunPtr_con_info" "-u" "_base_GHCziStable_StablePtr_con_info" "-u" "_ghczmprim_GHCziTypes_False_closure" "-u" "_ghczmprim_GHCziTypes_True_closure" "-u" "_base_GHCziPack_unpackCString_closure" "-u" "_base_GHCziIOziException_stackOverflow_closure" "-u" "_base_GHCziIOziException_heapOverflow_closure" "-u" "_base_ControlziExceptionziBase_nonTermination_closure" "-u" "_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure" "-u" "_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure" "-u" "_base_ControlziExceptionziBase_nestedAtomically_closure" "-u" "_base_GHCziWeak_runFinalizzerBatch_closure" "-u" "_base_GHCziTopHandler_flushStdHandles_closure" "-u" "_base_GHCziTopHandler_runIO_closure" "-u" "_base_GHCziTopHandler_runNonIO_closure" "-u" "_base_GHCziConcziIO_ensureIOManagerIsRunning_closure" "-u" "_base_GHCziConcziSync_runSparks_closure" "-u" "_base_GHCziConcziSignal_runHandlers_closure"
  79. dist\build\WindowsKeys\WindowsKeys-tmp\WindowsKeys.o:fake:(.text+0x35d): undefined reference to `SendInput'
  80. collect2: ld returned 1 exit status
  81. *** Deleting temp files:
  82. Deleting: C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_1.o C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.rc C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.o C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.c C:\Users\user\AppData\Local\Temp\ghc37464_0\ghc37464_0.hscpp
  83. *** Deleting temp dirs:
  84. Deleting: C:\Users\user\AppData\Local\Temp\ghc37464_0
  85. C:\Program Files (x86)\Haskell Platform\2012.4.0.0\bin\ghc.exe returned
  86. ExitFailure 1
clone this paste RAW Paste Data