-
Notifications
You must be signed in to change notification settings - Fork 49
Description
When I compiled the application "csr" with the command line "./configure --prefix=$HOME --with-apps=csr", I got the errors below (it seems that two types do not match). Even if I added the opencl-sdk path to the command line "./configure --prefix=$HOME --with-apps=csr --with-opencl-sdk=/opt/intel/opencl-sdk", I still got these errors. Any help is appreciated!
include/common_args.c: In function ‘ocd_finalize’: include/rdtsc.h:235:34: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘cl_ulong {aka long unsigned int}’ [-Werror=format=] #define OCD_PRINT_TIMERS {printf("********************************************************************************\n"\ ^ include/rdtsc.h:273:5: note: in expansion of macro ‘OCD_PRINT_TIMERS’ OCD_PRINT_TIMERS\ ^ include/common_args.c:258:2: note: in expansion of macro ‘TIMER_PRINT’ TIMER_PRINT ^ include/rdtsc.h:235:34: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘cl_ulong {aka long unsigned int}’ [-Werror=format=] #define OCD_PRINT_TIMERS {printf("********************************************************************************\n"\ ^ include/rdtsc.h:273:5: note: in expansion of macro ‘OCD_PRINT_TIMERS’ OCD_PRINT_TIMERS\ ^ include/common_args.c:258:2: note: in expansion of macro ‘TIMER_PRINT’ TIMER_PRINT