Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Users\mastarija\Desktop\screenshot> make it cabal build
- Build profile: -w ghc-8.8.4 -O1
- In order, the following will be built (use -v for more details):
- - screenshot-0.0.0.0 (lib) (file lib\Graphics\ScreenShot\WinShot.hsc changed)
- Preprocessing library for screenshot-0.0.0.0..
- 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)
- 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"
- 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/
- 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:
- WinShot.hsc: In function 'main':
- WinShot.hsc:23:15: error: 'Screen' undeclared (first use in this function)
- C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:96:39: note: in definition of macro 'hsc_size'
- hsc_printf("(%ld)", (long) sizeof(t));
- ^
- WinShot.hsc:23:15: note: each undeclared identifier is reported only once for each function it appears in
- C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:96:39: note: in definition of macro 'hsc_size'
- hsc_printf("(%ld)", (long) sizeof(t));
- ^
- WinShot.hsc:24:20: error: expected specifier-qualifier-list before 'Screen'
- C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:102:7: note: in definition of macro 'hsc_alignment'
- x b; \
- ^
- 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,
- from C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:11,
- 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:
- C:\Program Files\Haskell\ghc-8.8.4/lib/template-hsc.h:104:38: error: 'struct __anon_x__' has no member named 'b'
- hsc_printf("%lu", (unsigned long)offsetof(struct __anon_x__, b)); \
- ^
- WinShot.hsc:24:5: note: in expansion of macro 'hsc_alignment'
- WinShot.hsc:26:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:26:5: note: in expansion of macro 'hsc_peek'
- WinShot.hsc:27:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:27:5: note: in expansion of macro 'hsc_peek'
- WinShot.hsc:28:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:28:5: note: in expansion of macro 'hsc_peek'
- WinShot.hsc:29:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:29:5: note: in expansion of macro 'hsc_peek'
- WinShot.hsc:31:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:31:5: note: in expansion of macro 'hsc_poke'
- WinShot.hsc:32:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:32:5: note: in expansion of macro 'hsc_poke'
- WinShot.hsc:33:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:33:5: note: in expansion of macro 'hsc_poke'
- WinShot.hsc:34:15: error: expected specifier-qualifier-list before 'Screen'
- WinShot.hsc:34:5: note: in expansion of macro 'hsc_poke'
- make: *** [Makefile:8: it] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement