*** setup configure Configuring mage-1.0.1... Dependency base>3: using base-3.0.2.0 Dependency array-any: using array-0.1.0.0 Dependency random-any: using random-1.0.0.0 Dependency mtl-any: using mtl-1.1.0.2 Dependency containers-any: using containers-0.1.0.2 Using compiler: ghc-6.8.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/mage-1.0.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/mage-1.0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/mage-1.0.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for mage-1.0.1... Creating dist/build/mage/mage-tmp (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-package --cflag=base-3.0.2.0 --cflag=-package --cflag=array-0.1.0.0 --cflag=-package --cflag=random-1.0.0.0 --cflag=-package --cflag=mtl-1.1.0.2 --cflag=-package --cflag=containers-0.1.0.2 --cflag=-Isrc/ --lflag=-optl-lcurses -o dist/build/mage/mage-tmp/Curses.hs src/Curses.hsc Building mage-1.0.1... Building executable: mage... Creating dist/build/mage (and its parents) Creating dist/build/mage/mage-tmp (and its parents) /usr/local/bin/ghc -o dist/build/mage/mage --make -hide-all-packages -i -idist/build/autogen -idist/build/mage/mage-tmp -isrc -Idist/build/mage/mage-tmp -Isrc/ -odir dist/build/mage/mage-tmp -hidir dist/build/mage/mage-tmp -stubdir dist/build/mage/mage-tmp -package base-3.0.2.0 -package array-0.1.0.0 -package random-1.0.0.0 -package mtl-1.1.0.2 -package containers-0.1.0.2 -O -O2 -Wall -optl-Wl,-s -XForeignFunctionInterface src/Main.hs -lcurses [ 1 of 30] Compiling Util.Text ( src/Util/Text.hs, dist/build/mage/mage-tmp/Util/Text.o ) [ 2 of 30] Compiling Keys ( src/Keys.hs, dist/build/mage/mage-tmp/Keys.o ) [ 3 of 30] Compiling Util.PQueue ( src/Util/PQueue.hs, dist/build/mage/mage-tmp/Util/PQueue.o ) [ 4 of 30] Compiling BoxChar ( src/BoxChar.hs, dist/build/mage/mage-tmp/BoxChar.o ) [ 5 of 30] Compiling Util.Search ( src/Util/Search.hs, dist/build/mage/mage-tmp/Util/Search.o ) [ 6 of 30] Compiling BodyParts ( src/BodyParts.hs, dist/build/mage/mage-tmp/BodyParts.o ) [ 7 of 30] Compiling Body ( src/Body.hs, dist/build/mage/mage-tmp/Body.o ) [ 8 of 30] Compiling Color ( src/Color.hs, dist/build/mage/mage-tmp/Color.o ) [ 9 of 30] Compiling Glyph ( src/Glyph.hs, dist/build/mage/mage-tmp/Glyph.o ) [10 of 30] Compiling Materials ( src/Materials.hs, dist/build/mage/mage-tmp/Materials.o ) [11 of 30] Compiling Language ( src/Language.hs, dist/build/mage/mage-tmp/Language.o ) [12 of 30] Compiling Messages ( src/Messages.hs, dist/build/mage/mage-tmp/Messages.o ) [13 of 30] Compiling Language.English ( src/Language/English.hs, dist/build/mage/mage-tmp/Language/English.o ) [14 of 30] Compiling Language.Dutch ( src/Language/Dutch.hs, dist/build/mage/mage-tmp/Language/Dutch.o ) [15 of 30] Compiling LanguageSelect ( src/LanguageSelect.hs, dist/build/mage/mage-tmp/LanguageSelect.o ) [16 of 30] Compiling Util.Grid ( src/Util/Grid.hs, dist/build/mage/mage-tmp/Util/Grid.o ) [17 of 30] Compiling Window ( src/Window.hs, dist/build/mage/mage-tmp/Window.o ) [18 of 30] Compiling Curses ( dist/build/mage/mage-tmp/Curses.hs, dist/build/mage/mage-tmp/Curses.o ) src/Curses.hsc:31:14: Warning: Defined but not used: data constructor `WINDOW' [19 of 30] Compiling MessageWindow ( src/MessageWindow.hs, dist/build/mage/mage-tmp/MessageWindow.o ) [20 of 30] Compiling Monsters ( src/Monsters.hs, dist/build/mage/mage-tmp/Monsters.o ) [21 of 30] Compiling Util ( src/Util.hs, dist/build/mage/mage-tmp/Util.o ) [22 of 30] Compiling Landscape ( src/Landscape.hs, dist/build/mage/mage-tmp/Landscape.o ) [23 of 30] Compiling Vision ( src/Vision.hs, dist/build/mage/mage-tmp/Vision.o ) [24 of 30] Compiling RandT ( src/RandT.hs, dist/build/mage/mage-tmp/RandT.o ) [25 of 30] Compiling MonsterGen ( src/MonsterGen.hs, dist/build/mage/mage-tmp/MonsterGen.o ) [26 of 30] Compiling LevelGen ( src/LevelGen.hs, dist/build/mage/mage-tmp/LevelGen.o ) [27 of 30] Compiling World ( src/World.hs, dist/build/mage/mage-tmp/World.o ) [28 of 30] Compiling Actions ( src/Actions.hs, dist/build/mage/mage-tmp/Actions.o ) [29 of 30] Compiling Keymap ( src/Keymap.hs, dist/build/mage/mage-tmp/Keymap.o ) [30 of 30] Compiling Main ( src/Main.hs, dist/build/mage/mage-tmp/Main.o ) Linking dist/build/mage/mage ... dist/build/mage/mage-tmp/Curses.o: In function `s11Hd_info': (.text+0x704): undefined reference to `xwattrset' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x110a): undefined reference to `ACS_DIAMOND' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1148): undefined reference to `ACS_BOARD' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x116f): undefined reference to `ACS_BLOCK' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1196): undefined reference to `ACS_BTEE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x11c8): undefined reference to `ACS_PLUS' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x11f3): undefined reference to `ACS_RTEE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x121e): undefined reference to `ACS_LTEE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1249): undefined reference to `ACS_URCORNER' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x127b): undefined reference to `ACS_ULCORNER' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x12c3): undefined reference to `ACS_TTEE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x12ee): undefined reference to `ACS_LRCORNER' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1319): undefined reference to `ACS_VLINE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1344): undefined reference to `ACS_DARROW' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x1376): undefined reference to `ACS_HLINE' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x13a1): undefined reference to `ACS_UARROW' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x13cc): undefined reference to `ACS_BULLET' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x13fe): undefined reference to `ACS_LARROW' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x143b): undefined reference to `ACS_RARROW' dist/build/mage/mage-tmp/Curses.o: In function `s11L2_info': (.text+0x148e): undefined reference to `ACS_LLCORNER' dist/build/mage/mage-tmp/Curses.o: In function `s123e_info': (.text+0x1700): undefined reference to `getx' dist/build/mage/mage-tmp/Curses.o: In function `s123e_info': (.text+0x1720): undefined reference to `gety' dist/build/mage/mage-tmp/Curses.o: In function `s1267_info': (.text+0x1820): undefined reference to `getmax_x' dist/build/mage/mage-tmp/Curses.o: In function `s1267_info': (.text+0x1840): undefined reference to `getmax_y' dist/build/mage/mage-tmp/Curses.o: In function `s1276_info': (.text+0x1924): undefined reference to `xtouchwin' collect2: ld returned 1 exit status