Resolving dependencies... Configuring hpapi-0.0.1.0... Building hpapi-0.0.1.0... Preprocessing library hpapi-0.0.1.0... In file included from dist/build/System/PAPI/Options_hsc_make.c:1:0: Options.hsc: In function ‘main’: Options.hsc:308:16: error: ‘PAPI_SUBSTRATEINFO’ undeclared (first use in this function) /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ Options.hsc:308:16: note: each undeclared identifier is reported only once for each function it appears in /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ In file included from /usr/include/signal.h:342:0, from /usr/include/papi.h:539, from Options.hsc:124: /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:72:24: error: ‘PAPI_option_t’ has no member named ‘sub_info’ (long) offsetof (t, f)); ^ Options.hsc:309:5: note: in expansion of macro ‘hsc_peek’ In file included from dist/build/System/PAPI/Options_hsc_make.c:1:0: Options.hsc:644:16: error: ‘PAPI_VENDOR_CYRIX’ undeclared (first use in this function) /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ Options.hsc:650:16: error: ‘PAPI_VENDOR_SICORTEX’ undeclared (first use in this function) /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ Options.hsc:890:15: error: ‘PAPI_substrate_info_t’ undeclared (first use in this function) /opt/ghc/7.10.2/lib/ghc-7.10.2/template-hsc.h:86:39: note: in definition of macro ‘hsc_size’ hsc_printf("(%ld)", (long) sizeof(t)); ^ In file included from /usr/include/signal.h:342:0, from /usr/include/papi.h:539, from Options.hsc:124: Options.hsc:891:20: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:891:5: note: in expansion of macro ‘hsc_alignment’ Options.hsc:126:62: error: ‘struct ’ has no member named ‘y__’ Options.hsc:891:5: note: in expansion of macro ‘hsc_alignment’ Options.hsc:894:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:894:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:895:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:895:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:896:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:896:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:897:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:897:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:898:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:898:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:899:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:899:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:900:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:900:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:901:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:901:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:902:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:902:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:903:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:903:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:904:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:904:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:905:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:905:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:906:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:906:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:907:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:907:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:908:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:908:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:909:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:909:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:910:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:910:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:911:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:911:5: note: in expansion of macro ‘hsc_peek’ Options.hsc:912:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:912:5: note: in expansion of macro ‘hsc_peek’ In file included from Options.hsc:125:0: ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:913:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:4:27: error: ‘x’ undeclared (first use in this function) char *p = (char*)&x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:913:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:913:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:913:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:914:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:914:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:914:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:915:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:915:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:915:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:916:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:916:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:916:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:917:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:917:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:917:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:918:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:918:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:918:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:919:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:919:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:919:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:920:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:920:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:920:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:921:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:921:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:921:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:922:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:922:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:922:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:923:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:923:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:923:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:924:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:924:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:924:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:925:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:925:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:925:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:926:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:926:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:926:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:927:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:927:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:927:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:928:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:928:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:928:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:929:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:929:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:929:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:930:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:930:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:930:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:931:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:931:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:931:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:932:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:33:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:932:5: note: in expansion of macro ‘hsc_peek_bit’ ./template-bit-hsc.h:34:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:932:5: note: in expansion of macro ‘hsc_peek_bit’ In file included from /usr/include/signal.h:342:0, from /usr/include/papi.h:539, from Options.hsc:124: Options.hsc:935:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:935:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:937:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:937:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:939:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:939:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:941:14: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:941:5: note: in expansion of macro ‘hsc_ptr’ Options.hsc:943:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:943:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:945:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:945:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:947:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:947:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:949:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:949:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:951:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:951:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:953:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:953:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:955:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:955:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:957:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:957:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:959:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:959:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:961:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:961:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:963:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:963:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:965:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:965:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:967:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:967:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:969:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:969:5: note: in expansion of macro ‘hsc_poke’ Options.hsc:971:15: error: expected specifier-qualifier-list before ‘PAPI_substrate_info_t’ Options.hsc:971:5: note: in expansion of macro ‘hsc_poke’ In file included from Options.hsc:125:0: ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:974:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:974:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:974:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:976:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:976:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:976:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:978:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:978:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:978:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:980:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:980:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:980:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:982:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:982:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:982:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:984:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:984:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:984:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:986:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:986:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:986:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:988:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:988:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:988:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:990:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:990:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:990:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:992:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:992:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:992:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:994:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:994:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:994:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:996:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:996:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:996:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:998:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:998:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:998:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1000:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1000:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1000:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1002:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1002:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1002:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1004:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1004:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1004:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1006:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1006:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1006:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1008:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1008:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1008:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1010:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1010:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1010:5: note: in expansion of macro ‘hsc_poke_bit’ In file included from Options.hsc:125:0: ./template-bit-hsc.h:3:11: error: expected ‘;’ before ‘x’ t x; \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1012:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:5:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] memset(p,0,sizeof(t)); \ ^ ./template-bit-hsc.h:42:9: note: in expansion of macro ‘hsc_calc_mask’ hsc_calc_mask(minByte,minBit,mask,t,f) \ ^ Options.hsc:1012:5: note: in expansion of macro ‘hsc_poke_bit’ ./template-bit-hsc.h:43:9: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("(\\hsc_ptr hsc_value -> peekByteOff hsc_ptr %lu" \ ^ Options.hsc:1012:5: note: in expansion of macro ‘hsc_poke_bit’ compiling dist/build/System/PAPI/Options_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/System/PAPI/Options_hsc_make.c -o dist/build/System/PAPI/Options_hsc_make.o -fno-stack-protector -D__GLASGOW_HASKELL__=710 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -I. -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/7.10.2/lib/ghc-7.10.2/base_GDytRqRVSUX7zckgKqJjgw/include -I/opt/ghc/7.10.2/lib/ghc-7.10.2/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include -I/opt/ghc/7.10.2/lib/ghc-7.10.2/include -I/opt/ghc/7.10.2/lib/ghc-7.10.2/include/ Failed to install hpapi-0.0.1.0 cabal: Error: some packages failed to install: hpapi-0.0.1.0 failed during the building phase. The exception was: ExitFailure 1