>> Step 1 - configuring Win32-2.1 Configuring Win32-2.1... configure: Dependency base-any: using base-2.0 configure: Using install prefix: /home/user2 configure: Binaries installed in: /home/user2/bin configure: Libraries installed in: /home/user2/lib/Win32-2.1/ghc-6.6 configure: Private binaries installed in: /home/user2/libexec configure: Data files installed in: /home/user2/share/Win32-2.1 configure: Documentation installed in: /home/user2/share/doc/Win32-2.1 configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.6 configure: Using package tool: /usr/bin/ghc-pkg configure: Using alex version 2.1.0 found on system at: /usr/bin/alex configure: Using ar found on system at: /usr/bin/ar configure: No c2hs found configure: Using cpphs version 0.7 found on system at: /usr/bin/cpphs configure: No ffihugs found configure: Using ghc version 6.6 found on system at: /usr/bin/ghc configure: Using ghc-pkg version 6.6 found on system at: /usr/bin/ghc-pkg configure: No greencard found configure: Using haddock version 0.8 found on system at: /usr/bin/haddock configure: Using happy version 1.16 found on system at: /usr/bin/happy configure: No hmake found configure: Using hsc2hs version 0.66 found on system at: /usr/bin/hsc2hs configure: Using hscolour version 1.8 found on system at: /usr/local/bin/HsColour configure: No hugs found configure: No jhc found configure: Using ld found on system at: /usr/bin/ld configure: No nhc found configure: No pfesetup found configure: Using ranlib found on system at: /usr/bin/ranlib configure: Using tar found on system at: /bin/tar >> Step 2 - building Win32-2.1 Preprocessing library Win32-2.1... Bitmap.hsc:88:22: error: Win32Aux.h: No such file or directory Bitmap.hsc:89:21: error: windows.h: No such file or directory Bitmap.hsc: In function 'main': Bitmap.hsc:147:0: error: 'SRCCOPY' undeclared (first use in this function) Bitmap.hsc:147:0: error: (Each undeclared identifier is reported only once Bitmap.hsc:147:0: error: for each function it appears in.) Bitmap.hsc:150:0: error: 'SRCPAINT' undeclared (first use in this function) Bitmap.hsc:153:0: error: 'SRCAND' undeclared (first use in this function) Bitmap.hsc:156:0: error: 'SRCINVERT' undeclared (first use in this function) Bitmap.hsc:159:0: error: 'SRCERASE' undeclared (first use in this function) Bitmap.hsc:162:0: error: 'NOTSRCCOPY' undeclared (first use in this function) Bitmap.hsc:165:0: error: 'NOTSRCERASE' undeclared (first use in this function) Bitmap.hsc:168:0: error: 'MERGECOPY' undeclared (first use in this function) Bitmap.hsc:171:0: error: 'MERGEPAINT' undeclared (first use in this function) Bitmap.hsc:174:0: error: 'PATCOPY' undeclared (first use in this function) Bitmap.hsc:177:0: error: 'PATPAINT' undeclared (first use in this function) Bitmap.hsc:180:0: error: 'PATINVERT' undeclared (first use in this function) Bitmap.hsc:183:0: error: 'DSTINVERT' undeclared (first use in this function) Bitmap.hsc:186:0: error: 'BLACKNESS' undeclared (first use in this function) Bitmap.hsc:189:0: error: 'WHITENESS' undeclared (first use in this function) Bitmap.hsc:181:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:181:0: error: expected ';' before ')' token Bitmap.hsc:181:0: error: expected statement before ')' token Bitmap.hsc:182:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:182:0: error: expected ';' before ')' token Bitmap.hsc:182:0: error: expected statement before ')' token Bitmap.hsc:183:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:183:0: error: expected ';' before ')' token Bitmap.hsc:183:0: error: expected statement before ')' token Bitmap.hsc:184:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:184:0: error: expected ';' before ')' token Bitmap.hsc:184:0: error: expected statement before ')' token Bitmap.hsc:185:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:185:0: error: expected ';' before ')' token Bitmap.hsc:185:0: error: expected statement before ')' token Bitmap.hsc:186:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:186:0: error: expected ';' before ')' token Bitmap.hsc:186:0: error: expected statement before ')' token Bitmap.hsc:187:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:187:0: error: expected ';' before ')' token Bitmap.hsc:187:0: error: expected statement before ')' token Bitmap.hsc:192:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:192:0: error: expected ';' before ')' token Bitmap.hsc:192:0: error: expected statement before ')' token Bitmap.hsc:193:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:193:0: error: expected ';' before ')' token Bitmap.hsc:193:0: error: expected statement before ')' token Bitmap.hsc:194:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:194:0: error: expected ';' before ')' token Bitmap.hsc:194:0: error: expected statement before ')' token Bitmap.hsc:195:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:195:0: error: expected ';' before ')' token Bitmap.hsc:195:0: error: expected statement before ')' token Bitmap.hsc:196:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:196:0: error: expected ';' before ')' token Bitmap.hsc:196:0: error: expected statement before ')' token Bitmap.hsc:197:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:197:0: error: expected ';' before ')' token Bitmap.hsc:197:0: error: expected statement before ')' token Bitmap.hsc:198:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:198:0: error: expected ';' before ')' token Bitmap.hsc:198:0: error: expected statement before ')' token Bitmap.hsc:275:0: error: 'BI_RGB' undeclared (first use in this function) Bitmap.hsc:278:0: error: 'BI_RLE8' undeclared (first use in this function) Bitmap.hsc:281:0: error: 'BI_RLE4' undeclared (first use in this function) Bitmap.hsc:284:0: error: 'BI_BITFIELDS' undeclared (first use in this function) Bitmap.hsc:284:0: error: 'DIB_PAL_COLORS' undeclared (first use in this function) Bitmap.hsc:287:0: error: 'DIB_RGB_COLORS' undeclared (first use in this function) Bitmap.hsc:315:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:315:0: error: expected ';' before ')' token Bitmap.hsc:315:0: error: expected statement before ')' token Bitmap.hsc:316:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:316:0: error: expected ';' before ')' token Bitmap.hsc:316:0: error: expected statement before ')' token Bitmap.hsc:317:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:317:0: error: expected ';' before ')' token Bitmap.hsc:317:0: error: expected statement before ')' token Bitmap.hsc:318:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:318:0: error: expected ';' before ')' token Bitmap.hsc:318:0: error: expected statement before ')' token Bitmap.hsc:319:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:319:0: error: expected ';' before ')' token Bitmap.hsc:319:0: error: expected statement before ')' token Bitmap.hsc:320:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:320:0: error: expected ';' before ')' token Bitmap.hsc:320:0: error: expected statement before ')' token Bitmap.hsc:321:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:321:0: error: expected ';' before ')' token Bitmap.hsc:321:0: error: expected statement before ')' token Bitmap.hsc:322:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:322:0: error: expected ';' before ')' token Bitmap.hsc:322:0: error: expected statement before ')' token Bitmap.hsc:323:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:323:0: error: expected ';' before ')' token Bitmap.hsc:323:0: error: expected statement before ')' token Bitmap.hsc:324:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:324:0: error: expected ';' before ')' token Bitmap.hsc:324:0: error: expected statement before ')' token Bitmap.hsc:325:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:325:0: error: expected ';' before ')' token Bitmap.hsc:325:0: error: expected statement before ')' token Bitmap.hsc:348:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:348:0: error: expected ';' before ')' token Bitmap.hsc:348:0: error: expected statement before ')' token Bitmap.hsc:349:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:349:0: error: expected ';' before ')' token Bitmap.hsc:349:0: error: expected statement before ')' token Bitmap.hsc:350:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:350:0: error: expected ';' before ')' token Bitmap.hsc:350:0: error: expected statement before ')' token Bitmap.hsc:351:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:351:0: error: expected ';' before ')' token Bitmap.hsc:351:0: error: expected statement before ')' token Bitmap.hsc:352:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:352:0: error: expected ';' before ')' token Bitmap.hsc:352:0: error: expected statement before ')' token Bitmap.hsc:361:0: error: 'BITMAP' undeclared (first use in this function) Bitmap.hsc:363:0: error: 'BITMAPINFO' undeclared (first use in this function) Bitmap.hsc:365:0: error: 'BITMAPINFOHEADER' undeclared (first use in this function) Bitmap.hsc:367:0: error: 'BITMAPFILEHEADER' undeclared (first use in this function) Bitmap.hsc:390:0: error: 'CBM_INIT' undeclared (first use in this function) compiling dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.c failed command was: /usr/lib/ghc-6.6/bin/ghc-6.6 -c -Iinclude -DUNICODE dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.c -o dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.o >> Terminated due to an error.