Advertisement
Guest User

Untitled

a guest
Feb 20th, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. PS C:\Users\mastarija\Desktop\screenshot> make it cabal build
  2. Build profile: -w ghc-8.8.4 -O1
  3. In order, the following will be built (use -v for more details):
  4. - screenshot-0.0.0.0 (lib) (file lib\Graphics\ScreenShot\WinShot.hsc changed)
  5. Preprocessing library for screenshot-0.0.0.0..
  6. compiling C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\Graphics\ScreenShot\WinShot_hsc_make.c failed (exit code 1)
  7. rsp file was: "C:\\Users\\mastarija\\Desktop\\screenshot\\dist-newstyle\\build\\x86_64-windows\\ghc-8.8.4\\screenshot-0.0.0.0\\build\\Graphics\\ScreenShot\\hsc2C35.rsp"
  8. command was: C:\Program Files\Haskell\ghc-8.8.4\lib\../mingw/bin\gcc.exe -c C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\Graphics\ScreenShot\WinShot_hsc_make.c -o C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\Graphics\ScreenShot\WinShot_hsc_make.o -D__GLASGOW_HASKELL__=808 -Dmingw32_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dmingw32_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icss -IC:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\css -IC:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\autogen -IC:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\global-autogen -include C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\autogen\cabal_macros.h -IC:\Users\mastarija\AppData\Roaming\cabal\store\ghc-8.8.4\bytestring-0.11.1.0-62a560a87fd9daa439adcae7390ac7f4310f9e55\lib\\include -IC:\Program Files\Haskell\ghc-8.8.4\lib\base-4.13.0.0\include -IC:\Program Files\Haskell\ghc-8.8.4\lib\integer-gmp-1.0.2.0\include -IC:\Program Files\Haskell\ghc-8.8.4\lib/include -IC:\Program Files\Haskell\ghc-8.8.4/lib/include/
  9. error: In file included from C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\Graphics\ScreenShot\WinShot_hsc_make.c:1:0:
  10. WinShot.hsc: In function 'main':
  11. WinShot.hsc:23:15: error: 'Screen' undeclared (first use in this function)
  12. C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:96:39: note: in definition of macro 'hsc_size'
  13. hsc_printf("(%ld)", (long) sizeof(t));
  14. ^
  15. WinShot.hsc:23:15: note: each undeclared identifier is reported only once for each function it appears in
  16. C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:96:39: note: in definition of macro 'hsc_size'
  17. hsc_printf("(%ld)", (long) sizeof(t));
  18. ^
  19. WinShot.hsc:24:20: error: expected specifier-qualifier-list before 'Screen'
  20. C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:102:7: note: in definition of macro 'hsc_alignment'
  21. x b; \
  22. ^
  23. In file included from C:/Program Files/Haskell/ghc-8.8.4/mingw/lib/gcc/x86_64-w64-mingw32/7.2.0/include/stddef.h:1:0,
  24. from C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:11,
  25. from C:\Users\mastarija\Desktop\screenshot\dist-newstyle\build\x86_64-windows\ghc-8.8.4\screenshot-0.0.0.0\build\Graphics\ScreenShot\WinShot_hsc_make.c:1:
  26. C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:104:38: error: 'struct __anon_x__' has no member named 'b'
  27. hsc_printf("%lu", (unsigned long)offsetof(struct __anon_x__, b)); \
  28. ^
  29. WinShot.hsc:24:5: note: in expansion of macro 'hsc_alignment'
  30. WinShot.hsc:26:15: error: expected specifier-qualifier-list before 'Screen'
  31. WinShot.hsc:26:5: note: in expansion of macro 'hsc_peek'
  32. WinShot.hsc:27:15: error: expected specifier-qualifier-list before 'Screen'
  33. WinShot.hsc:27:5: note: in expansion of macro 'hsc_peek'
  34. WinShot.hsc:28:15: error: expected specifier-qualifier-list before 'Screen'
  35. WinShot.hsc:28:5: note: in expansion of macro 'hsc_peek'
  36. WinShot.hsc:29:15: error: expected specifier-qualifier-list before 'Screen'
  37. WinShot.hsc:29:5: note: in expansion of macro 'hsc_peek'
  38. WinShot.hsc:31:15: error: expected specifier-qualifier-list before 'Screen'
  39. WinShot.hsc:31:5: note: in expansion of macro 'hsc_poke'
  40. WinShot.hsc:32:15: error: expected specifier-qualifier-list before 'Screen'
  41. WinShot.hsc:32:5: note: in expansion of macro 'hsc_poke'
  42. WinShot.hsc:33:15: error: expected specifier-qualifier-list before 'Screen'
  43. WinShot.hsc:33:5: note: in expansion of macro 'hsc_poke'
  44. WinShot.hsc:34:15: error: expected specifier-qualifier-list before 'Screen'
  45. WinShot.hsc:34:5: note: in expansion of macro 'hsc_poke'
  46.  
  47. make: *** [Makefile:8: it] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement