*** setup configure Configuring hpapi-0.0.1.0... Dependency base -any: using base-4.1.0.0 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 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/hpapi-0.0.1.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hpapi-0.0.1.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hpapi-0.0.1.0 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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.67 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 library hpapi-0.0.1.0... Creating dist/build/System/PAPI (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I. --lflag=-lpapi --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/PAPI/Event.hs System/PAPI/Event.hsc Event.hsc:166:18: error: papi.h: No such file or directory Event.hsc: In function 'main': Event.hsc:201: error: 'PAPI_MAX_STR_LEN' undeclared (first use in this function) Event.hsc:201: error: (Each undeclared identifier is reported only once Event.hsc:201: error: for each function it appears in.) Event.hsc:218: error: 'PAPI_NULL' undeclared (first use in this function) Event.hsc:223: error: 'PAPI_BR_CN' undeclared (first use in this function) Event.hsc:226: error: 'PAPI_BR_INS' undeclared (first use in this function) Event.hsc:229: error: 'PAPI_BR_MSP' undeclared (first use in this function) Event.hsc:232: error: 'PAPI_BR_NTK' undeclared (first use in this function) Event.hsc:235: error: 'PAPI_BR_PRC' undeclared (first use in this function) Event.hsc:238: error: 'PAPI_BR_TKN' undeclared (first use in this function) Event.hsc:241: error: 'PAPI_BR_UCN' undeclared (first use in this function) Event.hsc:244: error: 'PAPI_BRU_IDL' undeclared (first use in this function) Event.hsc:247: error: 'PAPI_BTAC_M' undeclared (first use in this function) Event.hsc:252: error: 'PAPI_CA_CLN' undeclared (first use in this function) Event.hsc:255: error: 'PAPI_CA_INV' undeclared (first use in this function) Event.hsc:258: error: 'PAPI_CA_ITV' undeclared (first use in this function) Event.hsc:261: error: 'PAPI_CA_SHR' undeclared (first use in this function) Event.hsc:264: error: 'PAPI_CA_SNP' undeclared (first use in this function) Event.hsc:269: error: 'PAPI_CSR_FAL' undeclared (first use in this function) Event.hsc:272: error: 'PAPI_CSR_SUC' undeclared (first use in this function) Event.hsc:275: error: 'PAPI_CSR_TOT' undeclared (first use in this function) Event.hsc:280: error: 'PAPI_FAD_INS' undeclared (first use in this function) Event.hsc:283: error: 'PAPI_FDV_INS' undeclared (first use in this function) Event.hsc:286: error: 'PAPI_FMA_INS' undeclared (first use in this function) Event.hsc:289: error: 'PAPI_FML_INS' undeclared (first use in this function) Event.hsc:292: error: 'PAPI_FNV_INS' undeclared (first use in this function) Event.hsc:295: error: 'PAPI_FP_INS' undeclared (first use in this function) Event.hsc:298: error: 'PAPI_FP_OPS' undeclared (first use in this function) Event.hsc:301: error: 'PAPI_FP_STAL' undeclared (first use in this function) Event.hsc:304: error: 'PAPI_FPU_IDL' undeclared (first use in this function) Event.hsc:307: error: 'PAPI_FSQ_INS' undeclared (first use in this function) Event.hsc:312: error: 'PAPI_FUL_CCY' undeclared (first use in this function) Event.hsc:315: error: 'PAPI_FUL_ICY' undeclared (first use in this function) Event.hsc:318: error: 'PAPI_FXU_IDL' undeclared (first use in this function) Event.hsc:321: error: 'PAPI_HW_INT' undeclared (first use in this function) Event.hsc:324: error: 'PAPI_INT_INS' undeclared (first use in this function) Event.hsc:327: error: 'PAPI_TOT_CYC' undeclared (first use in this function) Event.hsc:330: error: 'PAPI_TOT_IIS' undeclared (first use in this function) Event.hsc:333: error: 'PAPI_TOT_INS' undeclared (first use in this function) Event.hsc:336: error: 'PAPI_VEC_INS' undeclared (first use in this function) Event.hsc:341: error: 'PAPI_L1_DCA' undeclared (first use in this function) Event.hsc:344: error: 'PAPI_L1_DCH' undeclared (first use in this function) Event.hsc:347: error: 'PAPI_L1_DCM' undeclared (first use in this function) Event.hsc:350: error: 'PAPI_L1_DCR' undeclared (first use in this function) Event.hsc:353: error: 'PAPI_L1_DCW' undeclared (first use in this function) Event.hsc:356: error: 'PAPI_L1_ICA' undeclared (first use in this function) Event.hsc:359: error: 'PAPI_L1_ICH' undeclared (first use in this function) Event.hsc:362: error: 'PAPI_L1_ICM' undeclared (first use in this function) Event.hsc:365: error: 'PAPI_L1_ICR' undeclared (first use in this function) Event.hsc:368: error: 'PAPI_L1_ICW' undeclared (first use in this function) Event.hsc:371: error: 'PAPI_L1_LDM' undeclared (first use in this function) Event.hsc:374: error: 'PAPI_L1_STM' undeclared (first use in this function) Event.hsc:377: error: 'PAPI_L1_TCA' undeclared (first use in this function) Event.hsc:380: error: 'PAPI_L1_TCH' undeclared (first use in this function) Event.hsc:383: error: 'PAPI_L1_TCM' undeclared (first use in this function) Event.hsc:386: error: 'PAPI_L1_TCR' undeclared (first use in this function) Event.hsc:389: error: 'PAPI_L1_TCW' undeclared (first use in this function) Event.hsc:392: error: 'PAPI_L2_DCA' undeclared (first use in this function) Event.hsc:395: error: 'PAPI_L2_DCH' undeclared (first use in this function) Event.hsc:398: error: 'PAPI_L2_DCM' undeclared (first use in this function) Event.hsc:401: error: 'PAPI_L2_DCR' undeclared (first use in this function) Event.hsc:404: error: 'PAPI_L2_DCW' undeclared (first use in this function) Event.hsc:407: error: 'PAPI_L2_ICA' undeclared (first use in this function) Event.hsc:410: error: 'PAPI_L2_ICH' undeclared (first use in this function) Event.hsc:413: error: 'PAPI_L2_ICM' undeclared (first use in this function) Event.hsc:416: error: 'PAPI_L2_ICR' undeclared (first use in this function) Event.hsc:419: error: 'PAPI_L2_ICW' undeclared (first use in this function) Event.hsc:422: error: 'PAPI_L2_LDM' undeclared (first use in this function) Event.hsc:425: error: 'PAPI_L2_STM' undeclared (first use in this function) Event.hsc:428: error: 'PAPI_L2_TCA' undeclared (first use in this function) Event.hsc:431: error: 'PAPI_L2_TCH' undeclared (first use in this function) Event.hsc:434: error: 'PAPI_L2_TCM' undeclared (first use in this function) Event.hsc:437: error: 'PAPI_L2_TCR' undeclared (first use in this function) Event.hsc:440: error: 'PAPI_L2_TCW' undeclared (first use in this function) Event.hsc:443: error: 'PAPI_L3_DCA' undeclared (first use in this function) Event.hsc:446: error: 'PAPI_L3_DCH' undeclared (first use in this function) Event.hsc:449: error: 'PAPI_L3_DCM' undeclared (first use in this function) Event.hsc:452: error: 'PAPI_L3_DCR' undeclared (first use in this function) Event.hsc:455: error: 'PAPI_L3_DCW' undeclared (first use in this function) Event.hsc:458: error: 'PAPI_L3_ICA' undeclared (first use in this function) Event.hsc:461: error: 'PAPI_L3_ICH' undeclared (first use in this function) Event.hsc:464: error: 'PAPI_L3_ICM' undeclared (first use in this function) Event.hsc:467: error: 'PAPI_L3_ICR' undeclared (first use in this function) Event.hsc:470: error: 'PAPI_L3_ICW' undeclared (first use in this function) Event.hsc:473: error: 'PAPI_L3_LDM' undeclared (first use in this function) Event.hsc:476: error: 'PAPI_L3_STM' undeclared (first use in this function) Event.hsc:479: error: 'PAPI_L3_TCA' undeclared (first use in this function) Event.hsc:482: error: 'PAPI_L3_TCH' undeclared (first use in this function) Event.hsc:485: error: 'PAPI_L3_TCM' undeclared (first use in this function) Event.hsc:488: error: 'PAPI_L3_TCR' undeclared (first use in this function) Event.hsc:491: error: 'PAPI_L3_TCW' undeclared (first use in this function) Event.hsc:496: error: 'PAPI_LD_INS' undeclared (first use in this function) Event.hsc:499: error: 'PAPI_LST_INS' undeclared (first use in this function) Event.hsc:502: error: 'PAPI_LSU_IDL' undeclared (first use in this function) Event.hsc:505: error: 'PAPI_MEM_RCY' undeclared (first use in this function) Event.hsc:508: error: 'PAPI_MEM_SCY' undeclared (first use in this function) Event.hsc:511: error: 'PAPI_MEM_WCY' undeclared (first use in this function) Event.hsc:514: error: 'PAPI_PRF_DM' undeclared (first use in this function) Event.hsc:517: error: 'PAPI_RES_STL' undeclared (first use in this function) Event.hsc:520: error: 'PAPI_SR_INS' undeclared (first use in this function) Event.hsc:523: error: 'PAPI_STL_CCY' undeclared (first use in this function) Event.hsc:526: error: 'PAPI_STL_ICY' undeclared (first use in this function) Event.hsc:529: error: 'PAPI_SYC_INS' undeclared (first use in this function) Event.hsc:534: error: 'PAPI_TLB_DM' undeclared (first use in this function) Event.hsc:537: error: 'PAPI_TLB_IM' undeclared (first use in this function) Event.hsc:540: error: 'PAPI_TLB_SD' undeclared (first use in this function) Event.hsc:543: error: 'PAPI_TLB_TL' undeclared (first use in this function) Event.hsc:343: error: 'PAPI_ENUM_EVENTS' undeclared (first use in this function) Event.hsc:346: error: 'PAPI_ENUM_FIRST' undeclared (first use in this function) Event.hsc:349: error: 'PAPI_PRESET_ENUM_AVAIL' undeclared (first use in this function) Event.hsc:354: error: 'PAPI_PRESET_ENUM_MSC' undeclared (first use in this function) Event.hsc:357: error: 'PAPI_PRESET_ENUM_INS' undeclared (first use in this function) Event.hsc:360: error: 'PAPI_PRESET_ENUM_IDL' undeclared (first use in this function) Event.hsc:363: error: 'PAPI_PRESET_ENUM_BR' undeclared (first use in this function) Event.hsc:366: error: 'PAPI_PRESET_ENUM_CND' undeclared (first use in this function) Event.hsc:369: error: 'PAPI_PRESET_ENUM_MEM' undeclared (first use in this function) Event.hsc:372: error: 'PAPI_PRESET_ENUM_CACH' undeclared (first use in this function) Event.hsc:375: error: 'PAPI_PRESET_ENUM_L1' undeclared (first use in this function) Event.hsc:378: error: 'PAPI_PRESET_ENUM_L2' undeclared (first use in this function) Event.hsc:381: error: 'PAPI_PRESET_ENUM_L3' undeclared (first use in this function) Event.hsc:384: error: 'PAPI_PRESET_ENUM_TLB' undeclared (first use in this function) Event.hsc:387: error: 'PAPI_PRESET_ENUM_FP' undeclared (first use in this function) Event.hsc:392: error: 'PAPI_NTV_ENUM_UMASKS' undeclared (first use in this function) Event.hsc:395: error: 'PAPI_NTV_ENUM_UMASK_COMBOS' undeclared (first use in this function) Event.hsc:398: error: 'PAPI_NTV_ENUM_IARR' undeclared (first use in this function) Event.hsc:401: error: 'PAPI_NTV_ENUM_DARR' undeclared (first use in this function) Event.hsc:404: error: 'PAPI_NTV_ENUM_OPCM' undeclared (first use in this function) Event.hsc:407: error: 'PAPI_NTV_ENUM_IEAR' undeclared (first use in this function) Event.hsc:410: error: 'PAPI_NTV_ENUM_DEAR' undeclared (first use in this function) Event.hsc:413: error: 'PAPI_NTV_ENUM_GROUPS' undeclared (first use in this function) Event.hsc:416: error: 'PAPI_ENUM_ALL' undeclared (first use in this function) Event.hsc:389: error: 'PAPI_event_info_t' undeclared (first use in this function) Event.hsc:390: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:390: error: 'struct ' has no member named 'y__' Event.hsc:393: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:393: error: expected ';' before ')' token Event.hsc:393: error: expected statement before ')' token Event.hsc:397: error: 'PAPI_2MAX_STR_LEN' undeclared (first use in this function) Event.hsc:400: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:400: error: expected ';' before ')' token Event.hsc:400: error: expected statement before ')' token Event.hsc:401: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:401: error: expected ';' before ')' token Event.hsc:401: error: expected statement before ')' token Event.hsc:402: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:402: error: expected ';' before ')' token Event.hsc:402: error: expected statement before ')' token Event.hsc:403: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:403: error: expected ';' before ')' token Event.hsc:403: error: expected statement before ')' token Event.hsc:404: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:404: error: expected ';' before ')' token Event.hsc:404: error: expected statement before ')' token Event.hsc:405: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:405: error: expected ';' before ')' token Event.hsc:405: error: expected statement before ')' token Event.hsc:406: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:406: error: expected ';' before ')' token Event.hsc:406: error: expected statement before ')' token Event.hsc:408: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:408: error: expected ';' before ')' token Event.hsc:408: error: expected statement before ')' token Event.hsc:409: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:409: error: expected ';' before ')' token Event.hsc:409: error: expected statement before ')' token Event.hsc:410: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:410: error: expected ';' before ')' token Event.hsc:410: error: expected statement before ')' token Event.hsc:413: error: 'PAPI_MAX_INFO_TERMS' undeclared (first use in this function) Event.hsc:415: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:415: error: expected ';' before ')' token Event.hsc:415: error: expected statement before ')' token Event.hsc:416: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:416: error: expected ';' before ')' token Event.hsc:416: error: expected statement before ')' token Event.hsc:417: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:417: error: expected ';' before ')' token Event.hsc:417: error: expected statement before ')' token Event.hsc:419: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:419: error: expected ';' before ')' token Event.hsc:419: error: expected statement before ')' token Event.hsc:420: error: 'PAPI_HUGE_STR_LEN' undeclared (first use in this function) Event.hsc:421: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:421: error: expected ';' before ')' token Event.hsc:421: error: expected statement before ')' token Event.hsc:422: error: 'PAPI_MIN_STR_LEN' undeclared (first use in this function) Event.hsc:423: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:423: error: expected ';' before ')' token Event.hsc:423: error: expected statement before ')' token Event.hsc:425: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:425: error: expected ';' before ')' token Event.hsc:425: error: expected statement before ')' token Event.hsc:427: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:427: error: expected ';' before ')' token Event.hsc:427: error: expected statement before ')' token Event.hsc:434: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:434: error: expected ';' before ')' token Event.hsc:434: error: expected statement before ')' token Event.hsc:436: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:436: error: expected ';' before ')' token Event.hsc:436: error: expected statement before ')' token Event.hsc:437: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:437: error: expected ';' before ')' token Event.hsc:437: error: expected statement before ')' token compiling dist/build/System/PAPI/Event_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/System/PAPI/Event_hsc_make.c -o dist/build/System/PAPI/Event_hsc_make.o *** Trying again with preferred-versions *** setup configure Configuring hpapi-0.0.1.0... Dependency base -any && <4: using base-3.0.3.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.2 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/hpapi-0.0.1.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hpapi-0.0.1.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hpapi-0.0.1.0 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 gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.2 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.67 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 library hpapi-0.0.1.0... Creating dist/build/System/PAPI (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-I. --lflag=-lpapi --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/base-3.0.3.1 --lflag=-L/usr/local/lib/ghc-6.10.2/syb-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/PAPI/Event.hs System/PAPI/Event.hsc Event.hsc:166:18: error: papi.h: No such file or directory Event.hsc: In function 'main': Event.hsc:201: error: 'PAPI_MAX_STR_LEN' undeclared (first use in this function) Event.hsc:201: error: (Each undeclared identifier is reported only once Event.hsc:201: error: for each function it appears in.) Event.hsc:218: error: 'PAPI_NULL' undeclared (first use in this function) Event.hsc:223: error: 'PAPI_BR_CN' undeclared (first use in this function) Event.hsc:226: error: 'PAPI_BR_INS' undeclared (first use in this function) Event.hsc:229: error: 'PAPI_BR_MSP' undeclared (first use in this function) Event.hsc:232: error: 'PAPI_BR_NTK' undeclared (first use in this function) Event.hsc:235: error: 'PAPI_BR_PRC' undeclared (first use in this function) Event.hsc:238: error: 'PAPI_BR_TKN' undeclared (first use in this function) Event.hsc:241: error: 'PAPI_BR_UCN' undeclared (first use in this function) Event.hsc:244: error: 'PAPI_BRU_IDL' undeclared (first use in this function) Event.hsc:247: error: 'PAPI_BTAC_M' undeclared (first use in this function) Event.hsc:252: error: 'PAPI_CA_CLN' undeclared (first use in this function) Event.hsc:255: error: 'PAPI_CA_INV' undeclared (first use in this function) Event.hsc:258: error: 'PAPI_CA_ITV' undeclared (first use in this function) Event.hsc:261: error: 'PAPI_CA_SHR' undeclared (first use in this function) Event.hsc:264: error: 'PAPI_CA_SNP' undeclared (first use in this function) Event.hsc:269: error: 'PAPI_CSR_FAL' undeclared (first use in this function) Event.hsc:272: error: 'PAPI_CSR_SUC' undeclared (first use in this function) Event.hsc:275: error: 'PAPI_CSR_TOT' undeclared (first use in this function) Event.hsc:280: error: 'PAPI_FAD_INS' undeclared (first use in this function) Event.hsc:283: error: 'PAPI_FDV_INS' undeclared (first use in this function) Event.hsc:286: error: 'PAPI_FMA_INS' undeclared (first use in this function) Event.hsc:289: error: 'PAPI_FML_INS' undeclared (first use in this function) Event.hsc:292: error: 'PAPI_FNV_INS' undeclared (first use in this function) Event.hsc:295: error: 'PAPI_FP_INS' undeclared (first use in this function) Event.hsc:298: error: 'PAPI_FP_OPS' undeclared (first use in this function) Event.hsc:301: error: 'PAPI_FP_STAL' undeclared (first use in this function) Event.hsc:304: error: 'PAPI_FPU_IDL' undeclared (first use in this function) Event.hsc:307: error: 'PAPI_FSQ_INS' undeclared (first use in this function) Event.hsc:312: error: 'PAPI_FUL_CCY' undeclared (first use in this function) Event.hsc:315: error: 'PAPI_FUL_ICY' undeclared (first use in this function) Event.hsc:318: error: 'PAPI_FXU_IDL' undeclared (first use in this function) Event.hsc:321: error: 'PAPI_HW_INT' undeclared (first use in this function) Event.hsc:324: error: 'PAPI_INT_INS' undeclared (first use in this function) Event.hsc:327: error: 'PAPI_TOT_CYC' undeclared (first use in this function) Event.hsc:330: error: 'PAPI_TOT_IIS' undeclared (first use in this function) Event.hsc:333: error: 'PAPI_TOT_INS' undeclared (first use in this function) Event.hsc:336: error: 'PAPI_VEC_INS' undeclared (first use in this function) Event.hsc:341: error: 'PAPI_L1_DCA' undeclared (first use in this function) Event.hsc:344: error: 'PAPI_L1_DCH' undeclared (first use in this function) Event.hsc:347: error: 'PAPI_L1_DCM' undeclared (first use in this function) Event.hsc:350: error: 'PAPI_L1_DCR' undeclared (first use in this function) Event.hsc:353: error: 'PAPI_L1_DCW' undeclared (first use in this function) Event.hsc:356: error: 'PAPI_L1_ICA' undeclared (first use in this function) Event.hsc:359: error: 'PAPI_L1_ICH' undeclared (first use in this function) Event.hsc:362: error: 'PAPI_L1_ICM' undeclared (first use in this function) Event.hsc:365: error: 'PAPI_L1_ICR' undeclared (first use in this function) Event.hsc:368: error: 'PAPI_L1_ICW' undeclared (first use in this function) Event.hsc:371: error: 'PAPI_L1_LDM' undeclared (first use in this function) Event.hsc:374: error: 'PAPI_L1_STM' undeclared (first use in this function) Event.hsc:377: error: 'PAPI_L1_TCA' undeclared (first use in this function) Event.hsc:380: error: 'PAPI_L1_TCH' undeclared (first use in this function) Event.hsc:383: error: 'PAPI_L1_TCM' undeclared (first use in this function) Event.hsc:386: error: 'PAPI_L1_TCR' undeclared (first use in this function) Event.hsc:389: error: 'PAPI_L1_TCW' undeclared (first use in this function) Event.hsc:392: error: 'PAPI_L2_DCA' undeclared (first use in this function) Event.hsc:395: error: 'PAPI_L2_DCH' undeclared (first use in this function) Event.hsc:398: error: 'PAPI_L2_DCM' undeclared (first use in this function) Event.hsc:401: error: 'PAPI_L2_DCR' undeclared (first use in this function) Event.hsc:404: error: 'PAPI_L2_DCW' undeclared (first use in this function) Event.hsc:407: error: 'PAPI_L2_ICA' undeclared (first use in this function) Event.hsc:410: error: 'PAPI_L2_ICH' undeclared (first use in this function) Event.hsc:413: error: 'PAPI_L2_ICM' undeclared (first use in this function) Event.hsc:416: error: 'PAPI_L2_ICR' undeclared (first use in this function) Event.hsc:419: error: 'PAPI_L2_ICW' undeclared (first use in this function) Event.hsc:422: error: 'PAPI_L2_LDM' undeclared (first use in this function) Event.hsc:425: error: 'PAPI_L2_STM' undeclared (first use in this function) Event.hsc:428: error: 'PAPI_L2_TCA' undeclared (first use in this function) Event.hsc:431: error: 'PAPI_L2_TCH' undeclared (first use in this function) Event.hsc:434: error: 'PAPI_L2_TCM' undeclared (first use in this function) Event.hsc:437: error: 'PAPI_L2_TCR' undeclared (first use in this function) Event.hsc:440: error: 'PAPI_L2_TCW' undeclared (first use in this function) Event.hsc:443: error: 'PAPI_L3_DCA' undeclared (first use in this function) Event.hsc:446: error: 'PAPI_L3_DCH' undeclared (first use in this function) Event.hsc:449: error: 'PAPI_L3_DCM' undeclared (first use in this function) Event.hsc:452: error: 'PAPI_L3_DCR' undeclared (first use in this function) Event.hsc:455: error: 'PAPI_L3_DCW' undeclared (first use in this function) Event.hsc:458: error: 'PAPI_L3_ICA' undeclared (first use in this function) Event.hsc:461: error: 'PAPI_L3_ICH' undeclared (first use in this function) Event.hsc:464: error: 'PAPI_L3_ICM' undeclared (first use in this function) Event.hsc:467: error: 'PAPI_L3_ICR' undeclared (first use in this function) Event.hsc:470: error: 'PAPI_L3_ICW' undeclared (first use in this function) Event.hsc:473: error: 'PAPI_L3_LDM' undeclared (first use in this function) Event.hsc:476: error: 'PAPI_L3_STM' undeclared (first use in this function) Event.hsc:479: error: 'PAPI_L3_TCA' undeclared (first use in this function) Event.hsc:482: error: 'PAPI_L3_TCH' undeclared (first use in this function) Event.hsc:485: error: 'PAPI_L3_TCM' undeclared (first use in this function) Event.hsc:488: error: 'PAPI_L3_TCR' undeclared (first use in this function) Event.hsc:491: error: 'PAPI_L3_TCW' undeclared (first use in this function) Event.hsc:496: error: 'PAPI_LD_INS' undeclared (first use in this function) Event.hsc:499: error: 'PAPI_LST_INS' undeclared (first use in this function) Event.hsc:502: error: 'PAPI_LSU_IDL' undeclared (first use in this function) Event.hsc:505: error: 'PAPI_MEM_RCY' undeclared (first use in this function) Event.hsc:508: error: 'PAPI_MEM_SCY' undeclared (first use in this function) Event.hsc:511: error: 'PAPI_MEM_WCY' undeclared (first use in this function) Event.hsc:514: error: 'PAPI_PRF_DM' undeclared (first use in this function) Event.hsc:517: error: 'PAPI_RES_STL' undeclared (first use in this function) Event.hsc:520: error: 'PAPI_SR_INS' undeclared (first use in this function) Event.hsc:523: error: 'PAPI_STL_CCY' undeclared (first use in this function) Event.hsc:526: error: 'PAPI_STL_ICY' undeclared (first use in this function) Event.hsc:529: error: 'PAPI_SYC_INS' undeclared (first use in this function) Event.hsc:534: error: 'PAPI_TLB_DM' undeclared (first use in this function) Event.hsc:537: error: 'PAPI_TLB_IM' undeclared (first use in this function) Event.hsc:540: error: 'PAPI_TLB_SD' undeclared (first use in this function) Event.hsc:543: error: 'PAPI_TLB_TL' undeclared (first use in this function) Event.hsc:343: error: 'PAPI_ENUM_EVENTS' undeclared (first use in this function) Event.hsc:346: error: 'PAPI_ENUM_FIRST' undeclared (first use in this function) Event.hsc:349: error: 'PAPI_PRESET_ENUM_AVAIL' undeclared (first use in this function) Event.hsc:354: error: 'PAPI_PRESET_ENUM_MSC' undeclared (first use in this function) Event.hsc:357: error: 'PAPI_PRESET_ENUM_INS' undeclared (first use in this function) Event.hsc:360: error: 'PAPI_PRESET_ENUM_IDL' undeclared (first use in this function) Event.hsc:363: error: 'PAPI_PRESET_ENUM_BR' undeclared (first use in this function) Event.hsc:366: error: 'PAPI_PRESET_ENUM_CND' undeclared (first use in this function) Event.hsc:369: error: 'PAPI_PRESET_ENUM_MEM' undeclared (first use in this function) Event.hsc:372: error: 'PAPI_PRESET_ENUM_CACH' undeclared (first use in this function) Event.hsc:375: error: 'PAPI_PRESET_ENUM_L1' undeclared (first use in this function) Event.hsc:378: error: 'PAPI_PRESET_ENUM_L2' undeclared (first use in this function) Event.hsc:381: error: 'PAPI_PRESET_ENUM_L3' undeclared (first use in this function) Event.hsc:384: error: 'PAPI_PRESET_ENUM_TLB' undeclared (first use in this function) Event.hsc:387: error: 'PAPI_PRESET_ENUM_FP' undeclared (first use in this function) Event.hsc:392: error: 'PAPI_NTV_ENUM_UMASKS' undeclared (first use in this function) Event.hsc:395: error: 'PAPI_NTV_ENUM_UMASK_COMBOS' undeclared (first use in this function) Event.hsc:398: error: 'PAPI_NTV_ENUM_IARR' undeclared (first use in this function) Event.hsc:401: error: 'PAPI_NTV_ENUM_DARR' undeclared (first use in this function) Event.hsc:404: error: 'PAPI_NTV_ENUM_OPCM' undeclared (first use in this function) Event.hsc:407: error: 'PAPI_NTV_ENUM_IEAR' undeclared (first use in this function) Event.hsc:410: error: 'PAPI_NTV_ENUM_DEAR' undeclared (first use in this function) Event.hsc:413: error: 'PAPI_NTV_ENUM_GROUPS' undeclared (first use in this function) Event.hsc:416: error: 'PAPI_ENUM_ALL' undeclared (first use in this function) Event.hsc:389: error: 'PAPI_event_info_t' undeclared (first use in this function) Event.hsc:390: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:390: error: 'struct ' has no member named 'y__' Event.hsc:393: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:393: error: expected ';' before ')' token Event.hsc:393: error: expected statement before ')' token Event.hsc:397: error: 'PAPI_2MAX_STR_LEN' undeclared (first use in this function) Event.hsc:400: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:400: error: expected ';' before ')' token Event.hsc:400: error: expected statement before ')' token Event.hsc:401: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:401: error: expected ';' before ')' token Event.hsc:401: error: expected statement before ')' token Event.hsc:402: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:402: error: expected ';' before ')' token Event.hsc:402: error: expected statement before ')' token Event.hsc:403: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:403: error: expected ';' before ')' token Event.hsc:403: error: expected statement before ')' token Event.hsc:404: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:404: error: expected ';' before ')' token Event.hsc:404: error: expected statement before ')' token Event.hsc:405: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:405: error: expected ';' before ')' token Event.hsc:405: error: expected statement before ')' token Event.hsc:406: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:406: error: expected ';' before ')' token Event.hsc:406: error: expected statement before ')' token Event.hsc:408: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:408: error: expected ';' before ')' token Event.hsc:408: error: expected statement before ')' token Event.hsc:409: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:409: error: expected ';' before ')' token Event.hsc:409: error: expected statement before ')' token Event.hsc:410: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:410: error: expected ';' before ')' token Event.hsc:410: error: expected statement before ')' token Event.hsc:413: error: 'PAPI_MAX_INFO_TERMS' undeclared (first use in this function) Event.hsc:415: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:415: error: expected ';' before ')' token Event.hsc:415: error: expected statement before ')' token Event.hsc:416: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:416: error: expected ';' before ')' token Event.hsc:416: error: expected statement before ')' token Event.hsc:417: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:417: error: expected ';' before ')' token Event.hsc:417: error: expected statement before ')' token Event.hsc:419: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:419: error: expected ';' before ')' token Event.hsc:419: error: expected statement before ')' token Event.hsc:420: error: 'PAPI_HUGE_STR_LEN' undeclared (first use in this function) Event.hsc:421: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:421: error: expected ';' before ')' token Event.hsc:421: error: expected statement before ')' token Event.hsc:422: error: 'PAPI_MIN_STR_LEN' undeclared (first use in this function) Event.hsc:423: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:423: error: expected ';' before ')' token Event.hsc:423: error: expected statement before ')' token Event.hsc:425: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:425: error: expected ';' before ')' token Event.hsc:425: error: expected statement before ')' token Event.hsc:427: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:427: error: expected ';' before ')' token Event.hsc:427: error: expected statement before ')' token Event.hsc:434: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:434: error: expected ';' before ')' token Event.hsc:434: error: expected statement before ')' token Event.hsc:436: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:436: error: expected ';' before ')' token Event.hsc:436: error: expected statement before ')' token Event.hsc:437: error: expected specifier-qualifier-list before 'PAPI_event_info_t' Event.hsc:437: error: expected ';' before ')' token Event.hsc:437: error: expected statement before ')' token compiling dist/build/System/PAPI/Event_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR -I/usr/local/lib/ghc-6.10.2/hsc2hs-0.67/../include/ dist/build/System/PAPI/Event_hsc_make.c -o dist/build/System/PAPI/Event_hsc_make.o