Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Babeltrace2 - compilation error with intel18
@ 2020-03-20 21:10 Rocky Dunlap
  2020-03-20 21:47 ` Simon Marchi
  0 siblings, 1 reply; 12+ messages in thread
From: Rocky Dunlap @ 2020-03-20 21:10 UTC (permalink / raw)


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20200320/a7177a4e/attachment.htm>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-03-23 17:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 21:10 [lttng-dev] Babeltrace2 - compilation error with intel18 Rocky Dunlap
2020-03-20 21:47 ` Simon Marchi
2020-03-20 21:55   ` Rocky Dunlap
2020-03-20 22:20     ` Simon Marchi
2020-03-20 22:32       ` Rocky Dunlap
2020-03-21  3:12         ` Simon Marchi
2020-03-23 15:44           ` Simon Marchi
2020-03-23 16:05             ` Rocky Dunlap
2020-03-23 16:14               ` Simon Marchi
2020-03-23 16:56                 ` Rocky Dunlap
2020-03-23 17:24                   ` Simon Marchi
2020-03-23 17:37                     ` Rocky Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox