I am trying to compile BT2 with Python bindings using Intel18.  I receive
the following error during the build:

In file included from py-common.c(31):
/apps/intel/intelpython3/include/python3.6m/Python.h(149): error #193: zero
used for undefined preprocessing identifier "_MSC_VER"
  #if _MSC_VER
      ^

In file included from py-common.c(31):
/apps/intel/intelpython3/include/python3.6m/Python.h(151): error #193: zero
used for undefined preprocessing identifier "__clang__"
  #elif __clang__ || __GNUC__
        ^

py-common.c(187): error #3179: deprecated conversion of string literal to
char* (should be const char*)
  format_exc_func_name = py_exc_tb ? "format_exception" :
                                                       ^

compilation aborted for py-common.c (code 2)
make[2]: *** [py-common.lo] Error 1
make[2]: Leaving directory
`/home/Rocky.Dunlap/babeltrace/babeltrace2-2.0.2/src/py-common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/Rocky.Dunlap/babeltrace/babeltrace2-2.0.2/src'


Rocky
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to